National Agricultural Library FDC API
endpoints to retrieve nutrient data
National Agricultural Library FDC API is published by National Agricultural Library on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include FDC. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 9 operations across 6 paths, and defines 29 schemas. It is described by OpenAPI 3.0.0, at version 1.0.1.
Requests are made against a single base URL, https://api.nal.usda.gov/fdc.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
National Agricultural Library FDC API declares
1 security scheme
for authenticating requests.
An API key is passed in the query as api_key (ApiKeyAuth).
By default, every request must be authenticated.
Paths & Operations 9
Across 6 paths, the API surfaces 9 operations — 6 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.
endpoints to retrieve nutrient data
Schemas 29
The contract defines 29 schemas that model the data the API accepts and returns. The most detailed are BrandedFoodItem (21 properties), FoodUpdateLog (17 properties), FoundationFoodItem (15 properties), SearchResultFood (14 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.