Market Data · x402

Use when an agent already knows the product it wants and needs real current Shopify lis…

Use when an agent already knows the product it wants and needs real current Shopify listings for a structured query. Returns normalized product/variant price, currency, seller, rating, product URL and checkout URL in upstream search-rank order, with an option…

by agent-api-testnet.tim1712.workers.dev · discovered, not yet claimed by its owner · updated 2026-08-30

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Use when an agent already knows the product it wants and needs real current Shopify listings for a structured query. Returns normalized product/variant price, currency, seller, rating, product URL and checkout URL in upstream search-rank order, with an optional maximum item price. The query must already carry the compatibility and preference details. Not a recommendation engine, intent interpretation, web search, or cart/checkout.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/8363.json for the price and payment options.
  3. Pay. Call GET https://agent-api-testnet.tim1712.workers.dev/v1/shopping/product-search. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base Sepolia
Uptime
1 of the last 1 checks answered
Calls (30d)
1 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC100000x5229384BD502D85aa7EcA0A31B515E5E48d3910F300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "payTo": "0x5229384BD502D85aa7EcA0A31B515E5E48d3910F",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "country": "NL",
          "currency": "EUR",
          "limit": 5,
          "maxPriceMinor": 15000,
          "query": "65W USB-C power bank 20000mAh airline safe"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "checkedAt": "2026-08-30T10:00:02.000Z",
          "country": "NL",
          "currency": "EUR",
          "maxPriceMinor": 15000,
          "products": [
            {
              "checkoutUrl": "https://poweredup.example/cart/4444444444:1",
              "currency": "EUR",
              "priceMinor": 12999,
              "productId": "gid://shopify/Product/3333333333",
              "productTitle": "20000mAh 65W USB-C Power Bank",
              "productUrl": "https://poweredup.example/products/pb-20000-65w",
              "rating": {
                "count": 88,
                "value": 4.4
              },
              "searchRank": 0,
              "seller": {
                "domain": "poweredup.example",
                "name": "PoweredUp",
                "url": "https://poweredup.example"
              },
              "variantId": "gid://shopify/ProductVariant/4444444444",
              "variantTitle": null
            }
          ],
          "query": "65W USB-C power bank 20000mAh airline safe",
          "source": "shopify-global-catalog",
          "warnings": []
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "additionalProperties": false,
              "properties": {
                "country": {
                  "pattern": "^[A-Z]{2}$",
                  "type": "string"
                },
                "currency": {
                  "pattern": "^[A-Z]{3}$",
                  "type": "string"
                },
                "limit": {
                  "maximum": 10,
                  "minimum": 1,
                  "type": "integer"
                },
                "maxPriceMinor": {
                  "minimum": 0,
                  "type": "integer"
                },
                "query": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "country",
                "currency",
                "query"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "additionalProperties": false,
              "properties": {
                "checkedAt": {
                  "type": "string"
                },
                "country": {
                  "pattern": "^[A-Z]{2}$",
                  "type": "string"
                },
                "currency": {
                  "pattern": "^[A-Z]{3}$",
                  "type": "string"
                },
                "maxPriceMinor": {
                  "anyOf": [
                    {
                      "minimum": 0,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "products": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "checkoutUrl": {
                        "type": "string"
                      },
                      "currency": {
                        "pattern": "^[A-Z]{3}$",
                        "type": "string"
                      },
                      "priceMinor": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "productId": {
                        "type": "string"
                      },
                      "productTitle": {
                        "type": "string"
                      },
                      "productUrl": {
                        "type": "string"
                      },
                      "rating": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "count": {
                                "minimum": 0,
                                "type": "integer"
                              },
                              "value": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "value",
                              "count"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "searchRank": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "seller": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "domain": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "name": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "url": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "name",
                              "domain",
                              "url"
                            ],
                            "type": "object"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "variantId": {
                        "type": "string"
                      },
                      "variantTitle": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "productId",
                      "variantId",
                      "productTitle",
                      "variantTitle",
                      "priceMinor",
                      "currency",
                      "productUrl",
                      "checkoutUrl",
                      "seller",
                      "rating",
                      "searchRank"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "query": {
                  "type": "string"
                },
                "source": {
                  "const": "shopify-global-catalog",
                  "type": "string"
                },
                "warnings": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "source",
                "country",
                "currency",
                "query",
                "maxPriceMinor",
                "products",
                "warnings",
                "checkedAt"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://agent-api-testnet.tim1712.workers.dev/v1/shopping/product-search"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agent-api-testnet.tim1712.workers.dev/v1/shopping/product-search");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://agent-api-testnet.tim1712.workers.dev/v1/shopping/product-search")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
agent-api-testnet.tim1712.workers.dev
Endpoint
https://agent-api-testnet.tim1712.workers.dev/v1/shopping/product-search
Machine-readable
/resources/8363.json