Skip to main content
POST
List nutrients

Request contract

  • Method and path: POST /apis/v1/afcd-foodstandards-gov-au/foods/list-nutrients
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/list-nutrients
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
category_id
string

Restrict to one category: PRO (Proximates), OA (Organic acids), MNS (Minerals), VIT (Vitamins), FA (Fatty acids), AA (Amino acids) or OTHER.

query
string

Case-insensitive substring matched against nutrient code and name (e.g. 'iron', 'FE', 'vitamin').

Response

The AFCD nutrient catalogue (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/nutrients): 7 categories and 266 nutrients with code, name, definition / method note, unit, display decimals and order. query filters by code or name (case-insensitive substring) and category_id by category; both are applied by the program. The codes are the nutrient_id of foods_by_nutrient and of the rows get_food returns. An empty filter result is an empty list; an unknown category_id is not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.