FoodData Central
Endpoints as written in the [documentation](https://fdc.nal.usda.gov/), read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Endpoints as written in the documentation, read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to check it exists; see the documentation for parameters, responses and limits. Requests need an API key or token (see Authorization).
Endpoints 5
- GETGET /fdc/v1/food/
/fdc/v1/food/ - GETGET /fdc/v1/foods/list
/fdc/v1/foods/list - POSTPOST /fdc/v1/foods/list
/fdc/v1/foods/list - GETGET /fdc/v1/foods/search
/fdc/v1/foods/search - POSTPOST /fdc/v1/foods/search
/fdc/v1/foods/search
API details
- Base URL
https://api.nal.usda.gov- Authentication
- An API key in the api_key query parameter
- Operations
- 5 operations on 3 pathsGET 3POST 2
- Description format
- OpenAPI 3.0.3, API version
2026-11-18 - Links
- Documentation · OpenAPI document
How to test the FoodData Central in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the FoodData Central collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the api_key query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “GET /fdc/v1/food/” (GET /fdc/v1/food/), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the FoodData Central?
Endpoints as written in the [documentation](https://fdc.nal.usda.gov/), read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to… It is listed under Data & analytics and has 5 endpoints.
Who publishes the FoodData Central?
It is listed from Usda's public API description (an OpenAPI document), not published by Usda on Swastik Codes. Anyone who controls fdc.nal.usda.gov can claim the profile by adding a DNS TXT record.
What is the base URL of the FoodData Central?
Requests go to https://api.nal.usda.gov. Endpoint paths are added to this base URL.
How do I authenticate with the FoodData Central?
With an API key in the api_key query parameter.
How many endpoints does the FoodData Central have?
5 operations on 3 paths (3 GET, 2 POST).
Is forking the FoodData Central free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.