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.
openapi: 3.2.0
info:
title: Pantry Butler Recipes API
version: 1.0.0
description: 'A kitchen that knows what it holds. Read what is in someone''s pantry, add to it, and ask the one question a recipe search cannot answer: what can they actually cook tonight, with what they already have.
Tokens are created by the account holder at https://thepantrybutler.com/account and carry either `read` or `write` scope. A token reaches only these endpoints — never billing, account settings or deletion.'
contact:
name: The Pantry Butler
url: https://thepantrybutler.com/api-docs
x-mcp-server: https://thepantrybutler.com/mcp
servers:
- url: https://thepantrybutler.com
security:
- bearerAuth: []
tags:
- name: Recipes
paths:
/api/v1/recipes:
get:
summary: Saved recipes
description: Title, source credit, source link and timings for up to 200 recipes.
operationId: getrecipes
security:
- bearerAuth: []
x-required-scope: read
responses:
'200':
description: OK
'202':
description: Accepted, not yet imported — see the endpoint description
'401':
description: Missing or invalid bearer token
'403':
description: The token lacks the required scope
'429':
description: Rate limited — 120 requests a minute per token
tags:
- Recipes
post:
summary: Save a recipe — a draft, or a link to queue
description: 'Takes either shape. Send a DRAFT ({ title, ingredients, steps, … }) and it is saved to the cookbook — this is how you finish an import. Send a bare { url } and it returns 202 with { accepted, url, imported: false }: the link is checked against the account''s recipe limit and nothing is imported. The full flow is POST /api/v1/capture to read the recipe, then POST the draft back here.'
operationId: postrecipes
security:
- bearerAuth: []
x-required-scope: write
responses:
'200':
description: OK
'202':
description: Accepted, not yet imported — see the endpoint description
'401':
description: Missing or invalid bearer token
'403':
description: The token lacks the required scope
'429':
description: Rate limited — 120 requests a minute per token
requestBody:
required: true
content:
application/json:
schema:
type: object
tags:
- Recipes
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'A token beginning `pb_live_`. Scopes: read, write. `write` implies `read`.'