Pantry Pantry API

Pantry account (account-level operations)

Operations 4

POST /pantry/create Create a new pantry #
GET /pantry/{pantryID} Get pantry details #
PUT /pantry/{pantryID} Update pantry details #
DELETE /pantry/{pantryID} Delete a pantry #

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/pantry-pantry-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

pantry-pantry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Basket Pantry API
  description: Pantry is a free service that provides perishable data storage for small projects. Use the RESTful API to post JSON objects and Pantry will store them. Data is automatically deleted after a period of inactivity.
  version: 1.0.0
  contact:
    name: Pantry
    url: https://getpantry.cloud/
  license:
    name: MIT
servers:
- url: https://getpantry.cloud/apiv1
  description: Pantry production API
tags:
- name: Pantry
  description: Pantry account (account-level operations)
paths:
  /pantry/create:
    post:
      tags:
      - Pantry
      summary: Create a new pantry
      description: Create a new pantry account, returning a pantry ID used for all subsequent calls.
      operationId: createPantry
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePantryRequest'
      responses:
        '200':
          description: Pantry created; returns the new pantry ID.
          content:
            text/plain:
              schema:
                type: string
        '400':
          description: Invalid request.
  /pantry/{pantryID}:
    get:
      tags:
      - Pantry
      summary: Get pantry details
      operationId: getPantry
      parameters:
      - $ref: '#/components/parameters/PantryID'
      responses:
        '200':
          description: Pantry details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pantry'
        '400':
          description: Could not retrieve pantry.
    put:
      tags:
      - Pantry
      summary: Update pantry details
      operationId: updatePantry
      parameters:
      - $ref: '#/components/parameters/PantryID'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePantryRequest'
      responses:
        '200':
          description: Updated pantry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pantry'
        '400':
          description: Could not update pantry.
    delete:
      tags:
      - Pantry
      summary: Delete a pantry
      operationId: deletePantry
      parameters:
      - $ref: '#/components/parameters/PantryID'
      responses:
        '204':
          description: Pantry deleted.
        '400':
          description: Could not delete pantry.
components:
  schemas:
    Pantry:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        errors:
          type: array
          items:
            type: string
        notifications:
          type: boolean
        percentFull:
          type: integer
        baskets:
          type: array
          items:
            $ref: '#/components/schemas/BasketSummary'
    BasketSummary:
      type: object
      properties:
        name:
          type: string
        ttl:
          type: integer
          description: Time-to-live in seconds before basket expiry.
    UpdatePantryRequest:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
    CreatePantryRequest:
      type: object
      required:
      - name
      - description
      - contactEmail
      properties:
        name:
          type: string
          description: Display name for the pantry.
        description:
          type: string
          description: Description of the pantry.
        contactEmail:
          type: string
          format: email
          description: Contact email associated with this pantry.
  parameters:
    PantryID:
      name: pantryID
      in: path
      required: true
      description: The unique pantry identifier returned from create.
      schema:
        type: string
        format: uuid