Generated by API Evangelist
Written by API Evangelist tooling for fatsecret's API. It is a proposal applied on top of the contract, not a document fatsecret publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for fatsecret Platform Foods API
version: 1.0.0
extends: openapi/fatsecret-foods-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-20'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/foods/search/v5'].get
update:
x-apievangelist-phrasing:
intent: Search the food database
effect: read
questions:
- What is the fat content of a banana in the food database?
- Can I search foods by name and page through the results?
instructions:
- text: Search the food database for {search_expression}.
slots:
search_expression: query.search_expression
- text: Find up to {max_results} foods matching {search_expression}, page {page_number}.
slots:
max_results: query.max_results
search_expression: query.search_expression
page_number: query.page_number
method: generated
generated: '2026-11-20'
- target: $.paths['/foods/autocomplete/v2'].get
update:
x-apievangelist-phrasing:
intent: Autocomplete a food search
effect: read
questions:
- Can I get food name suggestions as I type a food search?
- What does the food autocomplete suggest for a partial food name?
instructions:
- text: Autocomplete the food search for {expression}.
slots:
expression: query.expression
- text: Suggest food names starting with {expression}.
slots:
expression: query.expression
method: generated
generated: '2026-11-20'
- target: $.paths['/food/barcode/find-by-id/v1'].get
update:
x-apievangelist-phrasing:
intent: Find a food by barcode
effect: read
questions:
- How do I look up a packaged food's nutrition facts by its barcode?
- Can I find a food item from its barcode?
instructions:
- text: Find the food with barcode {barcode}.
slots:
barcode: query.barcode
- text: Look up nutrition facts for barcode {barcode}.
slots:
barcode: query.barcode
method: generated
generated: '2026-11-20'
- target: $.paths['/food/v4'].get
update:
x-apievangelist-phrasing:
intent: Get a food's nutrition facts
effect: read
questions:
- What are the calories and protein of a specific food?
- Can I fetch one food's full nutrition facts by its id?
instructions:
- text: Get the nutrition facts for food {food_id}.
slots:
food_id: query.food_id
- text: Show the full nutrition profile of food {food_id}.
slots:
food_id: query.food_id
method: generated
generated: '2026-11-20'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.