Skip to main content
POST
Get food

Request contract

  • Method and path: POST /apis/v1/afcd-foodstandards-gov-au/foods/get-food
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/afcd-foodstandards-gov-au/foods/get-food
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
pfk
string

Public Food Key such as F008785 (Vegemite); case-insensitive. Give either pfk or url. Pattern: ^[Ff][0-9]{6}$.

Response

The complete AFCD record of one food by Public Food Key (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/foods/{pfk}; also accepts a pasted AFCD food page URL or a legacy afcd.foodstandards.gov.au/foodDetails.aspx?PFKID= link). Returns identity (name, description, inclusions, scientific name, AUSNUT classification, food group and sub food group), derivation and sampling notes, conversion factors, every nutrient with its raw value per 100 g, unit and the decimal places the site displays, grouped by category (Proximates, Minerals, Vitamins, Fatty acids, Amino acids, Organic acids, Other), the measurement options and the data references. Missing optional fields are null. An unknown key 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.