ProductIndex P API

The P API from ProductIndex — 1 operation(s) for p.

GitHub OpenAPI

Operations 1

GET /p/{category}/{slug}.json Product read (JSON-LD) #

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/productindex-ai:productindex-ai-p-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

productindex-ai-p-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Productindex Ai P API
  version: 1.0.0
  contact:
    name: ProductIndex
    url: https://productindex.ai/contact
  description: 'Operations tagged P across 2 of this provider''s published API definitions: productindex-ai-mcp.json, productindex-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://productindex.ai
  description: Production
security: []
tags:
- name: P
paths:
  /p/{category}/{slug}.json:
    get:
      operationId: getProductJsonLd
      summary: Product read (JSON-LD)
      description: 'Returns Schema.org `Product` JSON-LD for a single product. Statically prerendered at build time (one file per product, from static content plus build-time-merged producer enrichments) — this is a read-only, always-200-for-known-slugs endpoint; unknown slugs 404 via normal static-file routing rather than a JSON error body. Response is served with `X-Robots-Tag: noindex`.'
      security: []
      parameters:
      - name: category
        in: path
        required: true
        schema:
          type: string
        description: Category slug, e.g. `espresso-machines`.
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: Product slug, e.g. `breville-bambino-plus`.
      responses:
        '200':
          description: Product JSON-LD.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductJsonLd'
        '404':
          description: No product exists at this category/slug (static 404, not a JSON error body).
      tags:
      - P
    servers:
    - url: https://productindex.ai
      description: Production
components:
  schemas:
    ProductJsonLd:
      type: object
      description: Schema.org Product JSON-LD, built per-request from static content plus build-time-merged enrichments. Fields beyond @context/@type/name/category/url/offers/dateModified are conditionally present.
      properties:
        '@context':
          type: string
          const: https://schema.org
        '@type':
          type: string
          const: Product
        name:
          type: string
        model:
          type: string
        category:
          type: string
        url:
          type: string
        brand:
          type: object
          properties:
            '@type':
              type: string
              const: Brand
            name:
              type: string
        image:
          type: string
          description: Present when a non-placeholder image exists.
        additionalImages:
          type: array
          items:
            type: string
          description: Present when producer-submitted images have been approved.
        verificationStatus:
          type: string
          enum:
          - base
          - producer_enriched
          - manufacturer_enriched
          - manufacturer_verified
        enrichmentEndpoint:
          type: string
        enrichedBy:
          type: array
          items:
            type: object
            properties:
              orgName:
                type: string
              orgType:
                type: string
              verifiedAt:
                type:
                - string
                - 'null'
          description: Present when at least one verified org contributed an enrichment.
        offers:
          description: Present when a price is known. A retailer price confirmed within the last 45 days is a single Offer (priceValidUntil = check date + 45 days, seller = that retailer); otherwise the profile's typical range as an AggregateOffer (lowPrice/highPrice).
          oneOf:
          - type: object
            required:
            - '@type'
            - price
            - priceCurrency
            properties:
              '@type':
                type: string
                const: Offer
              price:
                type: number
              priceCurrency:
                type: string
                const: USD
              priceValidUntil:
                type: string
                format: date
              seller:
                type: object
                properties:
                  '@type':
                    type: string
                    const: Organization
                  name:
                    type: string
              url:
                type: string
          - type: object
            required:
            - '@type'
            - lowPrice
            - priceCurrency
            properties:
              '@type':
                type: string
                const: AggregateOffer
              lowPrice:
                type: number
              highPrice:
                type: number
              priceCurrency:
                type: string
                const: USD
              url:
                type: string
        dateModified:
          type: string
        offersEndpoint:
          type: string
          description: Present only when the product has active promotedOffers; points to /offers/{slug}.json.
  securitySchemes:
    integrationSignature:
      type: http
      scheme: signature
      description: 'RFC 9421 HTTP Message Signature with Ed25519, ProductIndex profile (full recipe and a tested Node implementation: https://productindex.ai/docs/developers#dev-sales-reporting). Headers: `Content-Digest: sha-256=:<base64 SHA-256 of the body>:`, `Signature-Input: pi=("@method" "@authority" "@path" "@query" "content-digest");created=<unix>;expires=<unix>;nonce="<22 base64url chars>";keyid="<kid>";alg="ed25519";tag="productindex-integration"`, `Signature: pi=:<base64 signature>:`. `@authority` is productindex.ai, `@path` has no trailing slash, `expires` is at most 60 s after `created`, and each nonce is accepted once. A producer''s own key (kid `custom_…`, created in Producer Dashboard → Sales reporting; ProductIndex stores only the public key) may call only the two /api/attribution/ postbacks, and only for its own organization''s `store`.'
    producerSession:
      type: apiKey
      in: cookie
      name: authjs.session-token
      description: Browser session cookie from signing in at /auth/signin, for a producer account (accountType='producer'). Served as "__Secure-authjs.session-token" over HTTPS. Not directly obtainable by a pure API/agent client — this auth mode is for the dashboard's own fetch() calls and the human-driven signup/verification flow, not for third-party integrations. Third-party/agent integrations should use producerBearerToken where the route supports it.
    producerBearerToken:
      type: http
      scheme: bearer
      description: Shopify-plugin producer link token (issued via the Shopify OAuth/link flow, validated with validateShopifyLinkToken). Only accepted on routes built on resolveProducerAuth — not every producer route supports this; register.ts and ucp-check.ts are session-only.
x-refined-from:
- productindex-ai-mcp.json
- productindex-ai-openapi.json