Portal
SandboxAPI v1Not signed inExternal user: —

SDK examples

Runnable examples in Python and TypeScript for every major workflow. Category Problem solved Getting started Install, ping, first API call Authentication API…

Runnable examples in Python and TypeScript for every major workflow.

Category Problem solved
Getting started Install, ping, first API call
Authentication API keys and external users
Reasoning POST /v1/reason goals
Recipe import URL → structured recipe
Recipe transform Vegetarian / substitution
Pantry List and add items
Pagination Iterate all pages
Errors Typed exception handling
Retries Rate limits and backoff
Async Python asyncio / TS async
Batch Bulk normalize / list
Multi-user external_user_id tenancy
Developer portal API key management (TS)

All examples assume FOODAPI_API_KEY and FOODAPI_BASE_URL (default https://api.foodapi.dev) unless noted.