Text Search
Semantic Search
Optional Headers
Bearer token obtained from POST /v2/token-cache/unified/oauth/token/{YourAPIKey}
Enter your search term here.
Maximum number of results to return.
50Search Configuration. JSON-encoded object that controls data sources, result limits, and filtering. If omitted, server defaults are used (100 Passio results, 10 Edamam ingredients, 0 Edamam recipes, no filters).
See the PassioSearchConfigurationHeader schema for the full JSON structure.
Fields:
dataSourceConfigs— Array of{name, requestResultCount}controlling which external data sources are queried. SetrequestResultCountto0to disable a source. Valid names:passio(default 100, max 1000),edamam_ingredients(default 10, max 50),edamam_recipes(default 0, max 25).regionFilters— Map of region codes to priority weights (1=highest, 10=lowest). Accepts BCP 47 codes (en-US), ISO country codes (AU), or language codes (ja). Only foods matching these regions are returned.typeFilters— Array of allowed item types:generic,branded,recipe.sourceFilters— Array filtering within the Passio data source by origin sub-source. Valid values:fdc,firebase,legacy,openfood,passio,Passio addition,passio-foodai. Does not affect Edamam results.ignoreWithConcernFlags— Array of integer concern flag IDs. Results with matching flags are removed.strictRegionMode— Boolean.trueremoves items without country data when region filters are active;falsekeeps them.
Note: When any filter (region, type, or source) is active, result caching is skipped to ensure filters are always applied to fresh data.
{"regionFilters":{"AU":1},"typeFilters":["branded","generic"]}Regional Context & Routing. BCP 47 language-region tag (e.g. en-AU, ja-JP) or
language code (e.g. ja) indicating the user's locale.
This header has three effects:
- Regional search routing — Routes to a region-specific search index if one exists, with automatic fallback to the global index.
- AI regional context — Injects regional context into Nutrition Advisor prompts for culturally accurate food identification.
- Cache differentiation — Region-specific results are cached separately.
This is different from Localization-ISO: this header changes which results are
returned (regional data), while Localization-ISO changes the language of the response text.
en-AUSuccessful response
Bad Request - Invalid input.
Internal Server Error.
Search Foods (Legacy)
Bearer token obtained from POST /v2/token-cache/unified/oauth/token/{YourAPIKey}
The text to search for.
Maximum number of results to return.
50When true, returns only alternative search suggestions.
falseSearch Configuration. JSON-encoded object that controls data sources, result limits, and filtering. If omitted, server defaults are used (100 Passio results, 10 Edamam ingredients, 0 Edamam recipes, no filters).
See the PassioSearchConfigurationHeader schema for the full JSON structure.
Fields:
dataSourceConfigs— Array of{name, requestResultCount}controlling which external data sources are queried. SetrequestResultCountto0to disable a source. Valid names:passio(default 100, max 1000),edamam_ingredients(default 10, max 50),edamam_recipes(default 0, max 25).regionFilters— Map of region codes to priority weights (1=highest, 10=lowest). Accepts BCP 47 codes (en-US), ISO country codes (AU), or language codes (ja). Only foods matching these regions are returned.typeFilters— Array of allowed item types:generic,branded,recipe.sourceFilters— Array filtering within the Passio data source by origin sub-source. Valid values:fdc,firebase,legacy,openfood,passio,Passio addition,passio-foodai. Does not affect Edamam results.ignoreWithConcernFlags— Array of integer concern flag IDs. Results with matching flags are removed.strictRegionMode— Boolean.trueremoves items without country data when region filters are active;falsekeeps them.
Note: When any filter (region, type, or source) is active, result caching is skipped to ensure filters are always applied to fresh data.
{"regionFilters":{"AU":1},"typeFilters":["branded","generic"]}Regional Context & Routing. BCP 47 language-region tag (e.g. en-AU, ja-JP) or
language code (e.g. ja) indicating the user's locale.
This header has three effects:
- Regional search routing — Routes to a region-specific search index if one exists, with automatic fallback to the global index.
- AI regional context — Injects regional context into Nutrition Advisor prompts for culturally accurate food identification.
- Cache differentiation — Region-specific results are cached separately.
This is different from Localization-ISO: this header changes which results are
returned (regional data), while Localization-ISO changes the language of the response text.
en-AUSuccessful response
Bad Request - Invalid input.
Internal Server Error.
Last updated