Synchronity Multi Site API
Cross-site aggregated operations
Cross-site aggregated operations
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/synchronity-app:synchronity-app-multi-site-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: Synchronity Multi Site API
version: 0.1.0
description: 'The Synchronity Gateway API is the central HTTP interface that AI agents call to
discover connected stores, search products, manage carts, and execute checkout
across any Synchronity-registered e-commerce platform.
COVERAGE: these operations read only from stores a user has connected to their
Synchronity account, live from each merchant. Product data, prices, stock, and
orders are specific to those connected stores and are not derived from public web
listings. listSites returns the connected stores with their IDs and matches partial
or approximate store names; every other operation takes a site_id. Checkout and
payment complete only with the buyer''s explicit one-time-code approval.
All endpoints require a valid Agent Identity Token (AIT) — a signed RS256 JWT —
passed as a Bearer token. Scopes within the AIT control which operations are permitted.
See the Synchronity Protocol Specification (APS) for full authentication and schema details.'
contact:
name: Synchronity Team
url: https://synchronity.app
license:
name: Proprietary
servers:
- url: https://api.synchronity.app
description: Synchronity Gateway
security:
- BearerAIT: []
tags:
- name: Multi-Site
description: Cross-site aggregated operations
paths:
/v1/products/compare:
post:
operationId: compareProductsAcrossSites
tags:
- Multi-Site
summary: Compare products across multiple registered sites
description: 'Executes a product search across multiple sites simultaneously and
returns normalised results grouped by site. Enables agents to find the
best price, availability, or match across the Synchronity network.'
x-agentmesh-scope: read_products
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CompareProductsRequest'
responses:
'200':
description: Comparison results grouped by site.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/CompareProductsResponse'
'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'
x-openai-isConsequential: false
components:
responses:
RateLimited:
description: Rate limit exceeded.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
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'
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
example:
error:
code: RATE_LIMIT_EXCEEDED
message: Rate limit exceeded. Retry after 47 seconds.
BadRequest:
description: Malformed request or validation error.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
Unauthorized:
description: Missing or invalid Agent Identity Token.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
example:
error:
code: UNAUTHORIZED
message: Missing or invalid Agent Identity Token.
InternalError:
description: Unexpected server error.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
Forbidden:
description: AIT lacks the required scope for this operation.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
example:
error:
code: INSUFFICIENT_SCOPE
message: This operation requires the execute_checkout scope.
schemas:
CompareProductsResponse:
type: object
required:
- results
properties:
results:
type: array
items:
type: object
required:
- site_id
- products
properties:
site_id:
type: string
products:
type: array
items:
$ref: '#/components/schemas/AMPSProduct'
AMPSProductVariant:
type: object
required:
- variant_id
- title
- price
- availability
properties:
variant_id:
type: string
title:
type: string
sku:
type: string
price:
$ref: '#/components/schemas/MonetaryAmount'
compare_at_price:
oneOf:
- $ref: '#/components/schemas/MonetaryAmount'
- type: 'null'
availability:
$ref: '#/components/schemas/AvailabilityEnum'
stock_quantity:
oneOf:
- type: integer
minimum: 0
- type: 'null'
attributes:
type: array
items:
$ref: '#/components/schemas/ProductAttribute'
image_url:
oneOf:
- type: string
format: uri
- type: 'null'
ProductImage:
type: object
required:
- url
properties:
url:
type: string
format: uri
alt:
type: string
AMPSProduct:
type: object
required:
- product_id
- site_id
- title
- price
- availability
- sku
- categories
- tags
- attributes
- variants
- images
properties:
product_id:
type: string
example: prod_01HZ987XYZ
site_id:
type: string
example: site_abc123
title:
type: string
example: Sony WH-1000XM5 Wireless Noise Cancelling Headphones
description:
type: string
price:
$ref: '#/components/schemas/MonetaryAmount'
compare_at_price:
oneOf:
- $ref: '#/components/schemas/MonetaryAmount'
- type: 'null'
availability:
$ref: '#/components/schemas/AvailabilityEnum'
stock_quantity:
oneOf:
- type: integer
minimum: 0
- type: 'null'
sku:
type: string
categories:
type: array
items:
type: string
tags:
type: array
items:
type: string
attributes:
type: array
items:
$ref: '#/components/schemas/ProductAttribute'
variants:
type: array
items:
$ref: '#/components/schemas/AMPSProductVariant'
image_url:
oneOf:
- type: string
format: uri
- type: 'null'
images:
type: array
items:
$ref: '#/components/schemas/ProductImage'
url:
oneOf:
- type: string
format: uri
- type: 'null'
metadata:
type: object
additionalProperties: true
ProductAttribute:
type: object
required:
- name
- value
properties:
name:
type: string
example: Color
value:
type: string
example: Blue
MonetaryAmount:
type: object
required:
- amount
- currency
properties:
amount:
type: string
pattern: ^\d+\.\d{2}$
description: Decimal string with exactly 2 decimal places.
example: '19.99'
currency:
type: string
pattern: ^[A-Z]{3}$
description: ISO 4217 currency code.
example: USD
AvailabilityEnum:
type: string
enum:
- in_stock
- out_of_stock
- backorder
AMPSError:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
example: NOT_FOUND
message:
type: string
example: The requested resource could not be found.
details:
type: object
additionalProperties: true
CompareProductsRequest:
type: object
required:
- site_ids
- query
properties:
site_ids:
type: array
items:
type: string
format: uuid
minItems: 1
maxItems: 10
description: Site IDs to compare across. At least one required.
example:
- a1b2c3d4-e5f6-7890-abcd-ef1234567890
query:
type: object
description: Search query filters to apply across all sites.
properties:
q:
type: string
description: Keyword search query.
example: noise cancelling headphones
category:
type: string
description: Filter by product category.
example: Electronics
max_price:
type: number
description: Maximum price filter.
example: 150
in_stock:
type: boolean
description: Filter to in-stock items only.
example: true
max_results_per_site:
type: integer
minimum: 1
maximum: 10
default: 3
description: Maximum results to return per site.
headers:
X-RateLimit-Remaining:
description: Requests remaining in current window.
schema:
type: integer
example: 42
X-RateLimit-Limit:
description: Maximum requests per minute for this agent.
schema:
type: integer
example: 60
X-AgentMesh-Request-Id:
description: Unique request identifier for audit trail correlation.
schema:
type: string
example: req_01HZABCDEFGHIJKLMNOP
X-RateLimit-Reset:
description: Unix epoch timestamp when the rate limit window resets.
schema:
type: integer
example: 1746100800
Retry-After:
description: Seconds to wait before retrying after a 429 response.
schema:
type: integer
example: 47
securitySchemes:
BearerAIT:
type: http
scheme: bearer
bearerFormat: JWT
description: 'RS256-signed Agent Identity Token (AIT). Obtain via POST /v1/auth/agents/register.
Transmit as: `Authorization: Bearer <AIT>`
'