Generated by API Evangelist
Written by API Evangelist tooling for Open Food Facts's API. It is a proposal applied on top of the contract, not a document Open Food Facts publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Open Food Facts open-prices REST Badges API
version: 1.0.0
extends: openapi/open-food-facts-badges-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v1/badges'].get
update:
x-apievangelist-phrasing:
intent: List price badges
effect: read
questions:
- Which price badges are available for products?
- Can I sort the price badges list?
instructions:
- text: List all price badges.
- text: Show price badges ordered by {order_by}.
slots:
order_by: query.order_by
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/badges/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a price badge
effect: read
questions:
- What does a specific price badge show?
- Can I look up one price badge by ID?
instructions:
- text: Get price badge {id}.
slots:
id: path.id
- text: Show the details of price badge {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/badges/{id}/users'].get
update:
x-apievangelist-phrasing:
intent: List users of a price badge
effect: read
questions:
- Which users have added a given price badge?
- Can I page through the users of one badge?
instructions:
- text: List users of price badge {id}.
slots:
id: path.id
- text: Show page {page} of users for badge {id}, {size} per page.
slots:
page: query.page
id: path.id
size: query.size
method: generated
generated: '2026-11-18'
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.