SitesPlaced Products API
The store's own catalogue, for headless sites. The store must be published.
The store's own catalogue, for headless sites. The store must be published.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/sitesplaced-com:sitesplaced-com-products-api"
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.
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: 3.2.0
info:
title: SitesPlaced Developer Products API
version: v1
summary: Catalogue, checkout, orders, tracking and webhooks for one SitesPlaced store.
description: 'Two uses. **Headless:** a custom website with no backend of its own uses SitesPlaced for its catalogue, checkout and orders.
**Connected:** a seller who already runs WooCommerce or Shopify keeps that shop, and a plugin copies every order into SitesPlaced. The other platform stays in charge of payment, stock and cancellation; SitesPlaced sends back only the shipping status and the tracking details.
**Keys.** Send the key in a header: `Authorization: Bearer ` (`X-Api-Key: ` is also accepted). A key in the URL is refused. A secret key (`sp_live_sk_…`) is for servers only; sent from a web browser it is refused with 403. A publishable key (`sp_live_pk_…`) may sit in browser code: it can hold only `products:read`, `checkout:write` and `tracking:read`, and works only from the websites on its allowed list. A connection key is the secret key a plugin receives when a shop connects; routes marked "connection key" accept only such a key.
**Conventions.** JSON in, JSON out, UTF-8, bodies up to 1 MB. Dates are ISO 8601 in UTC. Money is a plain number in the order''s currency (`1499.5`). Lists are paged with a cursor and come newest first. Every response carries `X-Request-Id`, the `X-RateLimit-*` headers and `Cache-Control: no-store`.
**Rate limits.** 60 requests a minute per secret key on the free plan, 300 on a paid store plan. Publishable keys: 600 / 3000 a minute per key and 30 / 60 per visitor IP. Over the limit: 429 with `Retry-After` (seconds).
Human-readable reference: https://sitesplaced.com/developers/api'
contact:
name: SitesPlaced
url: https://sitesplaced.com/contact
servers:
- url: https://sitesplaced.com/api/v1
description: Always the apex host, never www.
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Products
description: The store's own catalogue, for headless sites. The store must be published.
paths:
/products:
get:
operationId: listProducts
tags:
- Products
summary: List products
description: Secret or publishable key. Permission `products:read`. The store must be published. Prices are the ones the storefront shows.
parameters:
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Cursor'
- name: category
in: query
description: A category name from `GET /categories`.
schema:
type: string
responses:
'200':
description: A page of products.
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/ProductList'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
'503':
$ref: '#/components/responses/Unavailable'
/products/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
get:
operationId: getProduct
tags:
- Products
summary: Get one product
description: Secret or publishable key. Permission `products:read`.
responses:
'200':
description: The product.
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/ProductEnvelope'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
'503':
$ref: '#/components/responses/Unavailable'
/categories:
get:
operationId: listCategories
tags:
- Products
summary: List category names
description: Secret or publishable key. Permission `products:read`.
responses:
'200':
description: The store's category names.
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/CategoryList'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
'503':
$ref: '#/components/responses/Unavailable'
components:
parameters:
Limit:
name: limit
in: query
description: Page size, 1 to 100.
schema:
type: integer
minimum: 1
maximum: 100
default: 25
Cursor:
name: cursor
in: query
description: The `next_cursor` from the page before.
schema:
type: string
schemas:
Product:
type: object
required:
- id
- object
- name
- price
- currency
- in_stock
- url
properties:
id:
type: string
format: uuid
object:
type: string
const: product
name:
type: string
description:
type: string
price:
type: number
description: The price the storefront shows.
compare_at_price:
type:
- number
- 'null'
delivery_fee:
type:
- number
- 'null'
description: The product's own delivery fee. null = sent at the store's standard fee; 0 = ships free. An order is charged one delivery fee, the highest among its products.
currency:
type: string
examples:
- INR
image_url:
type:
- string
- 'null'
images:
type: array
items:
type: string
format: uri
category:
type:
- string
- 'null'
categories:
type: array
items:
type: string
type:
type: string
examples:
- physical
in_stock:
type: boolean
stock:
type:
- number
- 'null'
variants:
type: array
items:
$ref: '#/components/schemas/ProductVariant'
url:
type: string
format: uri
description: The product's page on the SitesPlaced storefront.
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- request_id
properties:
code:
type: string
enum:
- invalid_request
- unauthorized
- forbidden
- not_found
- conflict
- payload_too_large
- unprocessable
- rate_limited
- internal_error
- unavailable
message:
type: string
description: Plain words, for a person.
param:
type: string
description: The field at fault, when there is one.
examples:
- totals.total
request_id:
type: string
examples:
- req_…
CategoryList:
type: object
required:
- data
properties:
data:
type: array
items:
type: string
examples:
- - Earrings
- Necklaces
ProductEnvelope:
type: object
required:
- product
properties:
product:
$ref: '#/components/schemas/Product'
ProductVariant:
type: object
properties:
options:
type: object
additionalProperties:
type: string
examples:
- Size: M
price:
type: number
stock:
type:
- number
- 'null'
sku:
type:
- string
- 'null'
ProductList:
type: object
required:
- data
- has_more
- next_cursor
properties:
data:
type: array
items:
$ref: '#/components/schemas/Product'
has_more:
type: boolean
next_cursor:
type:
- string
- 'null'
responses:
RateLimited:
description: '`rate_limited`. Wait for `Retry-After` seconds.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
Retry-After:
$ref: '#/components/headers/Retry-After'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: rate_limited
message: Plain words.
request_id: req_…
Forbidden:
description: '`forbidden`. The key may not do this: a secret key sent from a browser, a publishable key from a website not on its list, the wrong kind of key, or a missing permission.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: forbidden
message: Plain words.
request_id: req_…
Unavailable:
description: '`unavailable`.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: unavailable
message: Plain words.
request_id: req_…
BadRequest:
description: '`invalid_request`. The request is malformed or a field has a bad value; `param` names the field.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: invalid_request
message: Plain words.
request_id: req_…
Unauthorized:
description: '`unauthorized`. The key is missing, wrong or revoked.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: unauthorized
message: Plain words.
request_id: req_…
InternalError:
description: '`internal_error`.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: internal_error
message: Plain words.
request_id: req_…
NotFound:
description: '`not_found`.'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: not_found
message: Plain words.
request_id: req_…
headers:
X-RateLimit-Reset:
description: When the limit resets, in unix seconds.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests left in the current minute.
schema:
type: integer
X-Request-Id:
description: Identifies this call. Quote it when asking for help.
schema:
type: string
examples:
- req_…
X-RateLimit-Limit:
description: Requests allowed per minute for this key.
schema:
type: integer
Retry-After:
description: Seconds to wait before trying again.
schema:
type: integer
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: '`Authorization: Bearer sp_live_sk_…` (or `sp_live_pk_…` on routes that accept a publishable key). A key in the URL is refused.'
apiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: The same key, in `X-Api-Key`. Also accepted.
externalDocs:
description: API reference
url: https://sitesplaced.com/developers/api