BETTERMENU
ApiRacc categories

Search RACC food categories

Search FDA food categories by name — find the right RACC category for your product.

Helper for ⑦ setRecipeServing (racc_guided mode).

Use this to answer: "what category is cookies?", "find RACC category for bread", "search food categories"

Returns RACC (Reference Amounts Customarily Consumed) categories ranked by relevance. Optionally filter by target audience.

Related endpoints:

  • listUsRaccCategories — browse all categories
  • getUsRaccCategory — get details for a specific category
GET
/us/nutrition/racc-categories/search

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Query Parameters

q*string

Search query for RACC category name

Length1 <= length
audience?|

Filter by target audience: 'general' or 'infant_toddler'

Response Body

application/json

application/json

curl -X GET "https://loading/us/nutrition/racc-categories/search?q=string"
{
  "data": {
    "categories": [
      {
        "category_id": "racc_cookies_crackers",
        "name": "Cookies and crackers",
        "racc_g": "30",
        "unit_type": "discrete",
        "label_statements": [
          "__ piece(s) (__ g)"
        ],
        "target_audience": "general",
        "cfr_reference": "21 CFR § 101.12 Table 2"
      }
    ],
    "total_count": 0
  },
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}