Request & Response Examples
Response format, pagination and runnable examples.
In this guide
- Response format & pagination - The shape of every response and how to page through lists.
- Foods - Search, look up and compare foods.
- Meals & ingredients - Analyze a meal and turn free text into ingredients.
- Knowledge retrieval - Semantic retrieval for AI assistants.
All guides
- Getting Started - Base URL, your first request and live API status.
- API Endpoints - What the API provides, grouped by resource.
- Authentication - API keys, key types, open routes and rate limits.
- Request & Response Examples - Response format, pagination and runnable examples.
- Data Schemas - Shared response and object shapes from the spec.
- Error Handling - Status codes, error bodies, retries and request IDs.
- Integrations - Browsers, the JS SDK, FHIR, AI assistants and batching.
- API Reference - Every documented route, with a page for each.