docs
Get startedTroubleshootingPaymentsWebhooksAgent paymentsSwop MCPOviIdentity (swop.id)SwivyRPC (preview)API reference

Store listing

GET /api/v5/x402/store/{handle}. The public, free JSON catalogue of everything a swop.id sells to agents.

GET https://apps.apiswop.co/api/v5/x402/store/{handle}

Returns up to 100 priced, non-archived products for a swop.id. No authentication, no payment. CORS is open, so a browser-based agent can call it too.

Request

ParameterInDescription
handlepathThe seller's swop.id, for example travis.swop.id. Case-insensitive
curl -s https://apps.apiswop.co/api/v5/x402/store/travis.swop.id

Response

{
  "state": "success",
  "data": {
    "handle": "travis.swop.id",
    "name": "Travis Herron",
    "network": "base",
    "currency": "USDC",
    "products": [
      {
        "sku": "6a7f63002e22feb6ad48dd7c",
        "name": "Cabal Card",
        "description": "Access to the Cabal's group chat and post on my feed.",
        "image": "https://res.cloudinary.com/…/dwm3kmxiot17hidzqdf7.png",
        "priceUsd": 1,
        "currency": "USDC",
        "type": "collectible",
        "shippingRequired": false,
        "shippingCostUsd": 0,
        "agentPayable": true,
        "variants": [],
        "requiredOrderFields": [],
        "buyUrl": "https://apps.apiswop.co/api/v5/x402/store/travis.swop.id/buy/6a7f63002e22feb6ad48dd7c"
      }
    ]
  }
}

Product fields

FieldTypeDescription
skustringProduct id. Also the last segment of buyUrl
name, descriptionstringWhat the product is
imagestring or nullPrimary image URL
priceUsdnumberItem price in USD, paid in USDC
currencystringAlways USDC
typestringProduct type, for example collectible, phygital, membership
shippingRequiredbooleantrue for physical goods
shippingCostUsdnumberFlat shipping, added to the price in the 402
agentPayablebooleanfalse when the seller has no payout wallet for this product yet
variantsarrayOption groups the buyer must choose from, each { name, options[] }
requiredOrderFieldsstring[]Shipping fields to send in X-ORDER for physical goods
buyUrlstringThe x402 endpoint. GET it to receive the 402 challenge

The total an agent pays is priceUsd + shippingCostUsd. The 402 states it exactly in USDC base units.

Errors

StatusMeaning
404No swop.id with that handle
429Rate limited. Back off and retry

Getting it from an AI assistant

The Swop MCP exposes the same listing as swop_get_store, and swop_get_product_link returns the shareable link for one product.

On this page