AP
Identity & Enrichment · x402 · early usage
Swap quote
Swap quote
by api.arcgate.dev · discovered, not yet claimed by its owner · updated 2026-10-10
30d calls3
30d payers1
MethodPOST
Outputjson
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
Swap quote
Tags: bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
Input example from Bazaar metadata
{
"amount": "100",
"buy": "0x128cc466b61f542da60c70e3aa11c10e19b84edb",
"sell": "0x3600000000000000000000000000000000000000",
"side": "exactIn"
}Output example
{
"attestation": null,
"best": {
"amountOutQuoted": "0.037363756124729788",
"amountOutRaw": "37363756124729788",
"amountOutSimulated": "0.037363756124729788",
"executable": true,
"fee": {
"amount": "0",
"bps": 0,
"collector": null,
"token": "0x128cc466b61f542da60c70e3aa11c10e19b84edb"
},
"floorBasis": "simulated",
"gasUsdc": "0.011649",
"legs": [
{
"amountIn": "100",
"amountOut": "0.037363756124729788",
"minAmountOut": "0.03699011856348249",
"routeIndex": 0,
"shareBps": 10000
}
],
"minAmountOut": "0.03699011856348249",
"provider": "native",
"providerQuoteAgeBlocks": 0,
"type": "two_hop"
},
"block": 23584000,
"buy": {
"address": "0x128cc466b61f542da60c70e3aa11c10e19b84edb",
"decimals": 18,
"discovered": "index",
"launch": {
"kind": "direct",
"launchpad": "direct",
"name": null,
"url": null
},
"state": "pool_only",
"symbol": "WETH",
"verification": {
"source": "circle_docs",
"status": "verified",
"trust": 1
}
},
"expiresAt": "2026-10-09T23:56:06.775Z",
"network": "eip155:5042",
"next": "swap",
"quoteId": "q_884b5883d6095ae4",
"routes": [
{
"amountOutQuoted": "0.037363756124729788",
"buyTaxBps": 0,
"costVsMidBps": 0,
"executable": true,
"fee": {
"amount": "0",
"bps": 0,
"collector": null,
"token": "0x128cc466b61f542da60c70e3aa11c10e19b84edb"
},
"gasUsdc": "0.011649",
"hops": [
{
"feeBps": 1,
"poolId": "0x82916bee18fcef517b26c72d7cb5f13694e1db41",
"tokenIn": "USDC",
"tokenInAddress": "0x3600000000000000000000000000000000000000",
"tokenOut": "cirBTC",
"tokenOutAddress": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0",
"venue": "uniswap_v3"
}
],
"partialFill": false,
"provider": "native",
"providerQuoteAgeBlocks": 0,
"routeId": "0x3600000000000000000000000000000000000000>0x128cc466b61f542da60c70e3aa11c10e19b84edb|uniswap_v3:0x82916bee18fcef517b26c72d7cb5f13694e1db41>aerodrome_cl:0x72dff32c9c5c28758565be0a7d4e6e42fb498506",
"type": "two_hop"
}
],
"safety": {
"buyImpactBps": 0,
"buyTaxBps": null,
"canSell": true,
"execCostBps": null,
"exitSellTaxBps": null,
"maxBuyUsdc": null,
"maxSellTokens": null,
"method": "simulate_v1",
"note": "Both endpoints are pinned assets; graph delivery was measured at the quote block.",
"revertReason": null,
"roundTripLossBps": null,
"routeId": "graph:0x3600000000000000000000000000000000000000:0x128cc466b61f542da60c70e3aa11c10e19b84edb:1312085c30302f62f67311df",
"scope": {
"block": 23584000,
"sellDelaySec": null,
"tokenAgeSec": 9957697,
"walletProfile": "fresh_eoa"
},
"sellDelaySec": null,
"sellImpactBps": null,
"sellTaxBps": null,
"verdict": "pinned"
},
"sell": {
"address": "0x3600000000000000000000000000000000000000",
"amount": "100",
"amountRaw": "100000000",
"decimals": 6,
"state": null,
"symbol": "USDC",
"verification": {
"source": "circle_docs",
"status": "verified",
"trust": 1
}
},
"side": "exactIn",
"slippageBps": 100,
"unsupportedVenues": [],
"warnings": []
}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/55213.jsonfor the price and payment options. - Pay. Call
GET https://api.arcgate.dev/trade/v1/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 eip155:5042, 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.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- eip155:5042, Base
- Demand
- 3 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 10000 | 0x08A4f8734ADAB08d3461E356b5A498b893Bd7B5e | 300s |
| exact | Base eip155:8453 | USDC | $0.01 | 0x08A4f8734ADAB08d3461E356b5A498b893Bd7B5e | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0x08A4f8734ADAB08d3461E356b5A498b893Bd7B5e",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x08A4f8734ADAB08d3461E356b5A498b893Bd7B5e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"attestation": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
]
},
"best": {
"anyOf": [
{
"type": "object"
},
{
"type": "object"
}
]
},
"block": {
"type": "integer"
},
"buy": {
"type": "object"
},
"expiresAt": {
"type": "string"
},
"network": {
"type": "string"
},
"next": {
"enum": [
"requote",
"retry",
"fix_request",
"stop",
"pay",
"sign_permit",
"swap",
"send",
"done"
],
"type": "string"
},
"quoteId": {
"pattern": "^q_[0-9a-f]{16,}$",
"type": "string"
},
"readiness": {
"type": "object"
},
"routes": {
"type": "array"
},
"safety": {
"type": "object"
},
"sell": {
"type": "object"
},
"side": {
"enum": [
"exactIn",
"exactOut"
],
"type": "string"
},
"slippageBps": {
"type": "integer"
},
"unsupportedVenues": {
"type": "array"
},
"warnings": {
"type": "array"
}
},
"required": [
"quoteId",
"network",
"block",
"expiresAt",
"side",
"sell",
"buy",
"slippageBps",
"routes",
"unsupportedVenues",
"best",
"safety",
"warnings",
"next"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"attestation": null,
"best": null,
"block": 0,
"buy": {},
"expiresAt": "string",
"network": "string",
"next": "requote",
"quoteId": "string",
"readiness": {},
"routes": [
"value"
],
"safety": {},
"sell": {},
"side": "exactIn",
"slippageBps": 0,
"unsupportedVenues": [
"value"
],
"warnings": [
"value"
]
},
"type": "string"
}Examples
curl
curl "https://api.arcgate.dev/trade/v1/quote"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://api.arcgate.dev/trade/v1/quote");
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://api.arcgate.dev/trade/v1/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
- api.arcgate.dev
- Endpoint
- https://api.arcgate.dev/trade/v1/quote
- Machine-readable
/resources/55213.json