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: Productindex Ai C API
version: 1.0.0
contact:
name: ProductIndex
url: https://productindex.ai/contact
description: 'Operations tagged C 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: C
paths:
/c/{category}.md:
get:
operationId: getCategoryMarkdown
summary: Category read (Markdown)
description: 'Returns the full category listing plus every product''s full markdown profile concatenated into one document — a category-level table (product, price, review count) followed by one `### {title}` section per product. This is the category-read equivalent of the per-product `.md`/`.json` routes; there is no JSON variant of this endpoint (only `[category].astro` for HTML and `[category].md.ts` for markdown exist under `src/pages/c/`). Statically prerendered. 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`.
responses:
'200':
description: Category markdown document.
content:
text/markdown:
schema:
type: string
'404':
description: No such category (static 404, not a JSON error body).
tags:
- C
servers:
- url: https://productindex.ai
description: Production
components:
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