PromptSwing Shelf API

The Shelf API from PromptSwing — 1 operation(s) for shelf.

GitHub OpenAPI

Operations 1

GET /api/shelf Search products across every listed hosted store #

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/promptswing-com:promptswing-com-shelf-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

promptswing-com-shelf-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PromptSwing public commerce Shelf API
  version: 1.0.0
  description: 'Endpoints an agent can call with no client, no account and no authorisation: check a site you have just built before publishing it anywhere, search products across hosted PromptSwing stores, and price an order from one of them. Nothing here creates an account, holds a basket, takes a payment, or keeps anything you send.'
  contact:
    url: https://www.promptswing.com/contact
servers:
- url: https://api.promptswing.com
  description: Production
tags:
- name: Shelf
paths:
  /api/shelf:
    get:
      operationId: searchShelf
      summary: Search products across every listed hosted store
      description: 'Answers a shopping question across the hosted stores that take a payment. Returns each match with a live price, whether it is in stock, and a link to that merchant''s own checkout.


        No match returns "nothing matched" rather than a near miss — "no hosted store sells this" and "the shelf could not be read" are different facts and are reported differently.


        Ordering is deterministic and the response states how it ordered. No placement is sold and no ranking is paid for. No model ranks or summarises: the words and numbers are the merchant''s own.'
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        description: What to look for, in plain words.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 50
        description: How many matches to return.
      responses:
        '200':
          description: Matches, or an honest empty answer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShelfResult'
        '400':
          description: No query was given.
      tags:
      - Shelf
components:
  schemas:
    ShelfItem:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    ShelfResult:
      type: object
      properties:
        ok:
          type: boolean
        query:
          type: string
        count:
          type: integer
        results:
          type: array
          items:
            $ref: '#/components/schemas/ShelfItem'
        answer:
          type: string
          description: Present when nothing matched. A true sentence, not an error.
        ordering:
          type: string
          description: How the results were ordered, stated so it can be checked.
        as_of:
          type: string
          format: date-time
        about:
          type: string
          description: What the shelf ...