Skip to main content
POST
List food groups

Request contract

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

The body is of type object.

Response

The AFCD food group hierarchy (GET https://www.foodstandards.gov.au/science-data/food-nutrient-databases/afcd/search/api/food-groups/hierarchy): the 22 food groups with their sub food groups and the number of foods in each. The ids are the food_group_id / sub_food_group_id filters of search_foods and foods_by_nutrient and the path of list_foods_in_group.

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.