← Developer

API reference

Every endpoint of the Flavonomics HTTP API, ready to try. Change a parameter and the request and code sample follow. Add your API key to send it and read the live answer.

Kept in this tab only, and sent nowhere but this API. Live requests count towards your rate limits. API keys come with Professional. Sign in, or read the recorded example answers below.

Base URL in code samples
https://www.flavonomics.com/api/v1

Getting started

The API answers questions about flavour: what an ingredient tastes like, what pairs with it, and what top restaurants and bars put on their menus. Every endpoint in the list is a GET that returns JSON. The endpoints that reach your own Studio, three of which save, are on .

  1. 1
    Find an ingredient

    Search by part of a name and take the canonical name from the answer.

  2. 2
    Ask what goes with it

    Ranked partners, from flavour harmony and real recipes.

  3. 3
    See why

    Read the flavour notes behind an ingredient, scored 0 to 10.

  4. 4
    Check it against real menus

    What top restaurants and bars serve it with.

Authentication

Send your key in the x-api-key header of every request. Keys start with flv_, come with the Professional plan, and are created on the Developer page. A key is shown once, so store it when you create it.

curl -H "x-api-key: YOUR_API_KEY" \
  "https://www.flavonomics.com/api/v1/ingredients/search?q=lem"

What comes back

A success has data and meta. Where an answer is paged, follow meta.pagination.nextOffset until it is absent. A failure has error in place of data.

{
  "data": {
    "…": "the answer"
  },
  "meta": {
    "version": "v1",
    "generatedAt": "2026-11-25T12:00:00.000Z",
    "pagination": {
      "limit": 10,
      "offset": 0,
      "returned": 10,
      "total": 120,
      "nextOffset": 10
    }
  }
}
{
  "error": {
    "message": "Unauthorized. Missing API key.",
    "code": "UnauthorizedError",
    "details": {}
  },
  "meta": {
    "version": "v1",
    "generatedAt": "2026-11-25T12:00:00.000Z"
  }
}

Errors

400ValidationErrorA parameter is missing, unknown or out of range.
401UnauthorizedErrorThe API key is missing or has been revoked.
403ForbiddenErrorThe key's account is not on the Professional plan.
404NotFoundErrorAn ingredient, note, place or classic the data does not hold.
429RateLimitErrorA rate limit was reached. Wait for the seconds in the Retry-After header.
500InternalErrorAn unexpected error on our side.

Rate limits

Limits apply to an account, and all of its keys share them: 10 requests a minute, 100 an hour and 250 a day. Over a limit the API answers 429 with a Retry-After header. Rejected requests still count, so wait before sending again. The limits are sized for testing and prototyping, not for running a deployed product. For that, contact us about a commercial agreement.

Good to know

  • Names are forgiving. Ingredients are matched as people write them, and answers return the canonical name to use next.
  • Lists are comma-separated. ingredients=gin,lime. For a name that holds a comma, send a JSON array.
  • Scores. Flavour notes and tastes run 0 to 10. Pairing scores run 0 to 1, with a 0 to 10 twin where the name ends in _norm or Norm.
  • Working with an assistant? The same data is on the remote MCP server, as tools Claude, ChatGPT and other clients can call. .