Skip to main content
POST
Suggest

Request contract

  • Method and path: POST /apis/v1/world-openfoodfacts-org/foods/suggest
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/world-openfoodfacts-org/foods/suggest
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
prefix
string
required

Typed text to complete, e.g. oat.

lang
string

Language of the names to match and return; default en. Pattern: ^[a-z]{2}$.

size
number

Maximum number of options; default 10.

Provider reference: minimum 1; maximum 50.

taxonomies
string[]

Taxonomies to complete in; default category and brand.

Response

Autocomplete Open Food Facts taxonomy entries (categories, brands, labels, countries) from a typed prefix, returning the canonical ids (en:oat-milks, en:france) that search filters accept together with their display names.

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.