Buy a gift card from ~550 US brands (Amazon, Target, DoorDash, Uber ...) and more count…
Buy a gift card from ~550 US brands (Amazon, Target, DoorDash, Uber ...) and more countries; the card is issued to the agent's owner (registered STB agent key with gift cards turned on required). This call prices one card for a $0.02 USDC fee on Base and retu…
by x402.spendthebits.com · discovered, not yet claimed by its owner · updated 2026-10-05
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
Buy a gift card from ~550 US brands (Amazon, Target, DoorDash, Uber ...) and more countries; the card is issued to the agent's owner (registered STB agent key with gift cards turned on required). This call prices one card for a $0.02 USDC fee on Base and returns the exact USDC total, a pay_url and a claim token. Find product ids and amounts with GET /x402/giftcards/catalog/?country=USA.
Tags: gift-cards · shopping · commerce · payments · usdc · bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/26886.jsonfor the price and payment options. - Pay. Call
GET https://x402.spendthebits.com/x402/giftcards/quote/. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with 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, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Calls (30d)
- 3 · 2 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0xCAB797230Aa7A9cAA2d6Da4AC8b2a06416225cA9 | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xCAB797230Aa7A9cAA2d6Da4AC8b2a06416225cA9",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"ask": {
"type": "object"
},
"brand": {
"type": "string"
},
"card_url": {
"type": [
"string",
"null"
]
},
"claim_token": {
"description": "Secret for status_url; shown once",
"type": "string"
},
"currency": {
"type": "string"
},
"delivery": {
"type": "string"
},
"detail": {
"type": "string"
},
"face_value": {
"description": "Card value in its own currency",
"type": "string"
},
"includes": {
"properties": {
"bridge_fee_ceiling_usdc": {
"type": "string"
},
"card_usdc": {
"type": "string"
},
"service_fee_usdc": {
"type": "string"
}
},
"type": "object"
},
"order_id": {
"description": "Use it in pay_url / status_url",
"type": "string"
},
"pay_by": {
"description": "Unix time the quote lapses",
"type": "integer"
},
"pay_to": {
"description": "Per-order forwarder contract on Base",
"type": "string"
},
"pay_url": {
"description": "x402 URL that takes the payment",
"type": "string"
},
"pricing_note": {
"type": "string"
},
"redeemable_in": {
"type": "string"
},
"referral": {
"type": "object"
},
"spend_controls_hint": {
"type": "string"
},
"status": {
"description": "awaiting_payment, awaiting_owner, paid, completed, declined ...",
"type": "string"
},
"status_url": {
"description": "Poll with the X-Claim-Token header",
"type": "string"
},
"total_usdc": {
"description": "EXACT USDC to pay at pay_url, decimal string",
"type": "string"
},
"typical_minutes": {
"type": "integer"
},
"valid_until": {
"description": "Provider validity date once issued; null until then"
},
"what_to_expect": {
"type": "string"
}
},
"required": [
"order_id",
"status",
"brand",
"face_value",
"currency",
"total_usdc",
"includes",
"pay_to",
"pay_by",
"typical_minutes",
"what_to_expect",
"valid_until"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"ask": {},
"brand": "string",
"card_url": "string",
"claim_token": "string",
"currency": "string",
"delivery": "string",
"detail": "string",
"face_value": "string",
"includes": {
"bridge_fee_ceiling_usdc": "string",
"card_usdc": "string",
"service_fee_usdc": "string"
},
"order_id": "string",
"pay_by": 0,
"pay_to": "string",
"pay_url": "string",
"pricing_note": "string",
"redeemable_in": "string",
"referral": {},
"spend_controls_hint": "string",
"status": "string",
"status_url": "string",
"total_usdc": "string",
"typical_minutes": 0,
"valid_until": null,
"what_to_expect": "string"
},
"type": "string"
}Examples
curl "https://x402.spendthebits.com/x402/giftcards/quote/"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://x402.spendthebits.com/x402/giftcards/quote/");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://x402.spendthebits.com/x402/giftcards/quote/")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402.spendthebits.com
- Endpoint
- https://x402.spendthebits.com/x402/giftcards/quote/
- Machine-readable
/resources/26886.json