{"components":{"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"}}},"info":{"description":"","title":"USDA FoodData Central (fdc.nal.usda.gov)","version":"1","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-catalogs":{"fdc-nal-usda-gov":{"description":"","title":"USDA FoodData Central (fdc.nal.usda.gov)","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-document":{"facts_hash":"90c00f9612f62e16707ee06d04827bfa0e5c3ab75dc05401489b90258df6048b","generator_version":"3","protocol_version":"1","schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"}}},"x-aisa-configured-paths":["/apis/v1/fdc-nal-usda-gov/foods/get-food","/apis/v1/fdc-nal-usda-gov/foods/list-food-categories","/apis/v1/fdc-nal-usda-gov/foods/list-nutrients","/apis/v1/fdc-nal-usda-gov/foods/search-foods","/apis/v1/fdc-nal-usda-gov/foods/search-foods-by-nutrient"],"x-aisa-document":{"composer_version":"28","document_hash":"sha256:f953fd62705879b1f1e5d79e1480c33a978d5c423e7cf91e428438614646eab0","facts_hash":"90c00f9612f62e16707ee06d04827bfa0e5c3ab75dc05401489b90258df6048b","generator_version":"3","protocol_version":"1","response_pending":[],"schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"},"x-aisa-provider":"fdc-nal-usda-gov"},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","openapi":"3.1.0","paths":{"/apis/v1/fdc-nal-usda-gov/foods/get-food":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"fdc-nal-usda-gov.foods.get-food","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{}},"minimal":{"value":{}}},"schema":{"additionalProperties":true,"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get food","tags":["USDA FoodData Central (fdc.nal.usda.gov)"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"fdc-nal-usda-gov","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/fdc-nal-usda-gov/fdc-nal-usda-gov-foods-get-food","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"0b075119ff68"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"fdc-nal-usda-gov.foods.get-food","path":"/apis/v1/fdc-nal-usda-gov/foods/get-food"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/fdc-nal-usda-gov/foods/get-food \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{}'"}]}},"/apis/v1/fdc-nal-usda-gov/foods/list-food-categories":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"fdc-nal-usda-gov.foods.list-food-categories","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"data_type":"example"}},"minimal":{"value":{"data_type":"example"}}},"schema":{"additionalProperties":true,"properties":{"data_type":{"type":"string"}},"required":["data_type"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"List food categories","tags":["USDA FoodData Central (fdc.nal.usda.gov)"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"fdc-nal-usda-gov","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/fdc-nal-usda-gov/fdc-nal-usda-gov-foods-list-food-categories","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"7a70d1ef278d"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"fdc-nal-usda-gov.foods.list-food-categories","path":"/apis/v1/fdc-nal-usda-gov/foods/list-food-categories"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/fdc-nal-usda-gov/foods/list-food-categories \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"data_type\": \"example\"\n}'"}]}},"/apis/v1/fdc-nal-usda-gov/foods/list-nutrients":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"fdc-nal-usda-gov.foods.list-nutrients","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{}},"minimal":{"value":{}}},"schema":{"additionalProperties":true,"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"List nutrients","tags":["USDA FoodData Central (fdc.nal.usda.gov)"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"fdc-nal-usda-gov","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/fdc-nal-usda-gov/fdc-nal-usda-gov-foods-list-nutrients","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"e7bd97a9661e"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"fdc-nal-usda-gov.foods.list-nutrients","path":"/apis/v1/fdc-nal-usda-gov/foods/list-nutrients"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/fdc-nal-usda-gov/foods/list-nutrients \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{}'"}]}},"/apis/v1/fdc-nal-usda-gov/foods/search-foods":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"fdc-nal-usda-gov.foods.search-foods","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{}},"minimal":{"value":{}}},"schema":{"additionalProperties":true,"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Search foods","tags":["USDA FoodData Central (fdc.nal.usda.gov)"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"fdc-nal-usda-gov","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/fdc-nal-usda-gov/fdc-nal-usda-gov-foods-search-foods","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"697cf63e3d48"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"fdc-nal-usda-gov.foods.search-foods","path":"/apis/v1/fdc-nal-usda-gov/foods/search-foods"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/fdc-nal-usda-gov/foods/search-foods \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{}'"}]}},"/apis/v1/fdc-nal-usda-gov/foods/search-foods-by-nutrient":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"fdc-nal-usda-gov.foods.search-foods-by-nutrient","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"nutrient_id":1}},"minimal":{"value":{"nutrient_id":1}}},"schema":{"additionalProperties":true,"properties":{"nutrient_id":{"type":"number"}},"required":["nutrient_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Search foods by nutrient","tags":["USDA FoodData Central (fdc.nal.usda.gov)"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"fdc-nal-usda-gov","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/fdc-nal-usda-gov/fdc-nal-usda-gov-foods-search-foods-by-nutrient","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"03fddfbe7f7f"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"fdc-nal-usda-gov.foods.search-foods-by-nutrient","path":"/apis/v1/fdc-nal-usda-gov/foods/search-foods-by-nutrient"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/fdc-nal-usda-gov/foods/search-foods-by-nutrient \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"nutrient_id\": 1\n}'"}]}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"https://api.aisa.one"}]}
