Open Food Facts · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Open Food Facts open- REST Prices API

8 actions 8 updates phrasing extends openapi/open-food-facts-prices-api-openapi.yml
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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/v1/prices'].get
$.paths['/api/v1/prices'].post
$.paths['/api/v1/prices/{id}'].get
$.paths['/api/v1/prices/{id}'].delete
$.paths['/api/v1/prices/{id}'].patch
$.paths['/api/v1/prices/{id}/history'].get
$.paths['/api/v1/prices/stats'].get

OpenAPI Overlay

Raw ↑
# 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- REST Prices API
  version: 1.0.0
extends: openapi/open-food-facts-prices-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: 7
- target: $.paths['/api/v1/prices'].get
  update:
    x-apievangelist-phrasing:
      intent: List product prices
      effect: read
      questions:
      - What is the price of a product in a given store?
      - Can I list prices for a single product code?
      instructions:
      - text: List prices for product {product_code}.
        slots:
          product_code: query.product_code
      - text: Show prices for product {product_code} in {currency}.
        slots:
          product_code: query.product_code
          currency: query.currency
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a price for a product
      effect: write
      questions:
      - How do I add a store price for a product?
      - Can I record a price with a discount?
      instructions:
      - text: Add price {price} for product {product_code} with proof {proof_id}.
        slots:
          price: requestBody.price
          product_code: requestBody.product_code
          proof_id: requestBody.proof_id
      - text: Record a discounted price of {price} for {product_code} with proof {proof_id}.
        slots:
          price: requestBody.price
          product_code: requestBody.product_code
          proof_id: requestBody.proof_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a price record
      effect: read
      questions:
      - What price and date are recorded for a price record?
      - Can I look up one price by its ID?
      instructions:
      - text: Get price record {id}.
        slots:
          id: path.id
      - text: Show the price and date on record {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a price record
      effect: destructive
      questions:
      - How do I remove a price I added by mistake?
      - Can I delete a price record?
      instructions:
      - text: Delete price record {id}.
        slots:
          id: path.id
      - text: Remove the price entry {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit a price record
      effect: write
      questions:
      - Can I correct a price I already added?
      - How do I change the date on an existing price?
      instructions:
      - text: Change the price on record {id} to {price}.
        slots:
          id: path.id
          price: requestBody.price
      - text: Update the date on price record {id} to {date}.
        slots:
          id: path.id
          date: requestBody.date
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices/{id}/history'].get
  update:
    x-apievangelist-phrasing:
      intent: List a price's history
      effect: read
      questions:
      - What has changed on a price record over time?
      - Can I see the history of one price?
      instructions:
      - text: Show the history of price record {id}.
        slots:
          id: path.id
      - text: List all changes made to price {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/api/v1/prices/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get price statistics
      effect: read
      questions:
      - What is the average price of a product?
      - Can I get price statistics for a category?
      instructions:
      - text: Get price statistics for category {category_tag}.
        slots:
          category_tag: query.category_tag
      - text: Show average price and count for {currency}.
        slots:
          currency: query.currency
      method: generated
      generated: '2026-11-18'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/open-food-facts-prices-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.

A second provider on the same verified email joins the account you already have.