The Pantry Butler Capture API

The Capture API from The Pantry Butler — 1 operation(s) for capture.

GitHub OpenAPI

Operations 1

POST /api/v1/capture Read a recipe out of a link #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/thepantrybutler-com:thepantrybutler-com-capture-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

thepantrybutler-com-capture-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pantry Butler Capture 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: Capture
paths:
  /api/v1/capture:
    post:
      summary: Read a recipe out of a link
      description: 'POST { url }. Runs the AI extraction and returns { draft, confidence }. The draft is NOT saved — POST it to /api/v1/recipes to keep it. Counts against the account''s AI fair-use allowance, and a link somebody already captured is served from cache and costs nothing. A low confidence means the page gave too little to work from: the draft comes back mostly empty with `__note` explaining why and `__paste` suggesting where the recipe probably is — social posts often keep the ingredients in the first comment, and some sites answer a server with a sign-in wall rather than the post.'
      operationId: postcapture
      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:
      - Capture
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A token beginning `pb_live_`. Scopes: read, write. `write` implies `read`.'