Synchronity Products API

Product search and retrieval

GitHub OpenAPI

Operations 3

GET /v1/sites/{site_id}/products Search products on a site #
GET /v1/sites/{site_id}/products/{product_id} Get a single product by ID #
POST /v1/sites/{site_id}/products/{product_id}/notify-restock Subscribe to a back-in-stock alert #

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/synchronity-app:synchronity-app-products-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

synchronity-app-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Synchronity Products 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: Products
  description: Product search and retrieval
paths:
  /v1/sites/{site_id}/products:
    get:
      operationId: searchProducts
      tags:
      - Products
      summary: Search products on a site
      description: 'Search or browse a store''s products. Omit q to browse the catalog; pass q to search. Map budget to price params here, don''t filter results: ''under X'' sets max_price, ''over X'' sets min_price, ''between X and Y'' sets both. Use in_stock=true for ''available'', category when named. Returns AMPSProduct.'
      x-agentmesh-scope: read_products
      parameters:
      - name: site_id
        in: path
        required: true
        schema:
          type: string
      - name: q
        in: query
        schema:
          type: string
        description: Keyword or natural language search query.
        example: noise cancelling headphones
      - name: category
        in: query
        schema:
          type: string
        example: Electronics
      - name: min_price
        in: query
        schema:
          type: number
          format: double
          minimum: 0
        description: Minimum price filter (inclusive). Pass for 'over/above/at least X'.
      - name: max_price
        in: query
        schema:
          type: number
          format: double
          minimum: 0
        description: Maximum price filter (inclusive). Pass for a buyer's budget / 'under/below/within X'.
      - name: in_stock
        in: query
        schema:
          type: boolean
        description: If true, only return in-stock products.
      - name: page
        in: query
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      responses:
        '200':
          description: Paginated product results.
          headers:
            X-AgentMesh-Request-Id:
              $ref: '#/components/headers/X-AgentMesh-Request-Id'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedProductResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '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'
      x-openai-isConsequential: false
  /v1/sites/{site_id}/products/{product_id}:
    get:
      operationId: getProduct
      tags:
      - Products
      summary: Get a single product by ID
      description: Returns a single AMPSProduct including all variants and images.
      x-agentmesh-scope: read_products
      parameters:
      - name: site_id
        in: path
        required: true
        schema:
          type: string
      - name: product_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Product details.
          headers:
            X-AgentMesh-Request-Id:
              $ref: '#/components/headers/X-AgentMesh-Request-Id'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMPSProduct'
        '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'
      x-openai-isConsequential: false
  /v1/sites/{site_id}/products/{product_id}/notify-restock:
    post:
      operationId: requestBackInStock
      tags:
      - Products
      summary: Subscribe to a back-in-stock alert
      description: 'Records a buyer''s back-in-stock ("notify me") request for an out-of-stock

        product. When the product is next observed in stock the buyer is emailed (if an

        email was provided), and the request surfaces to the merchant as demand. Idempotent

        per buyer/product/variant while a request is still pending.'
      x-agentmesh-scope: read_products
      parameters:
      - name: site_id
        in: path
        required: true
        schema:
          type: string
      - name: product_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                variant_id:
                  type: string
                  description: Specific variant to watch (optional).
                email:
                  type: string
                  format: email
                  description: Buyer email for the restock alert. Without it, only demand is recorded.
                product_title:
                  type: string
                  description: Product name for a clearer alert and merchant view (optional).
      responses:
        '201':
          description: Request recorded.
          headers:
            X-AgentMesh-Request-Id:
              $ref: '#/components/headers/X-AgentMesh-Request-Id'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  notification_id:
                    type: string
                  will_email:
                    type: boolean
                  message:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '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'
      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.
    NotFound:
      description: The requested resource does not exist.
      headers:
        X-AgentMesh-Request-Id:
          $ref: '#/components/headers/X-AgentMesh-Request-Id'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AMPSError'
  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
  schemas:
    PaginatedProductResponse:
      type: object
      required:
      - data
      - pagination
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AMPSProduct'
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
    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
    PaginationMeta:
      type: object
      required:
      - page
      - limit
      - total
      - has_next
      properties:
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
        has_next:
          type: boolean
    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
  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>`

        '