Agent Service · x402

Live cryptocurrency price API: current USD price for any coin by CoinGecko id ('bitcoin…

Live cryptocurrency price API: current USD price for any coin by CoinGecko id ('bitcoin', 'ethereum') or DefiLlama id ('coingecko:bitcoin', 'chain:address' for tokens by contract address). Sourced from DefiLlama's aggregated market feed with the source's own…

by gateway.stride20k.com · 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

Live cryptocurrency price API: current USD price for any coin by CoinGecko id ('bitcoin', 'ethereum') or DefiLlama id ('coingecko:bitcoin', 'chain:address' for tokens by contract address). Sourced from DefiLlama's aggregated market feed with the source's own confidence score (0-1) and the unix timestamp of the observation. Ideal for agents needing spot prices, portfolio valuation, or price checks before on-chain actions. Cached up to 60 seconds; freshness in meta.fetchedAt.

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/1166.json for the price and payment options.
  3. Pay. Call GET https://gateway.stride20k.com/crypto/price/:coinId. 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, 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.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
0 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
eip155:8453
USDC$0.0050x552Cc4A10878C7F20574489D47184249657Ca3f660s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "pathParams": {
          "coinId": "bitcoin"
        },
        "queryParams": {},
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "coinId": "coingecko:bitcoin",
            "confidence": 0.99,
            "priceUsd": 62397.99,
            "sourceTimestamp": 1783132624,
            "symbol": "BTC"
          },
          "endpoint": "/crypto/price/:coinId",
          "meta": {
            "attribution": null,
            "cached": false,
            "fetchedAt": "2026-07-04T00:00:00.000Z",
            "source": "defillama"
          },
          "ok": true
        },
        "type": "json"
      }
    },
    "routeTemplate": "/crypto/price/:coinId",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "pathParams": {
              "properties": {
                "coinId": {
                  "description": "Coin identifier: a CoinGecko id ('bitcoin') or DefiLlama id ('coingecko:bitcoin', '<chain>:<address>').",
                  "type": "string"
                }
              },
              "required": [
                "coinId"
              ],
              "type": "object"
            },
            "queryParams": {
              "properties": {},
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "data": {
                  "properties": {
                    "coinId": {
                      "description": "Normalized DefiLlama coin id used for the lookup.",
                      "type": "string"
                    },
                    "confidence": {
                      "description": "Source-reported confidence, 0–1 (1 = highest).",
                      "type": "number"
                    },
                    "priceUsd": {
                      "description": "Current price in USD.",
                      "type": "number"
                    },
                    "sourceTimestamp": {
                      "description": "Unix timestamp (seconds) of the source's observation.",
                      "type": "integer"
                    },
                    "symbol": {
                      "description": "Ticker symbol reported by the source.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "coinId",
                    "priceUsd",
                    "sourceTimestamp"
                  ],
                  "type": "object"
                },
                "endpoint": {
                  "description": "Always \"/crypto/price/:coinId\".",
                  "type": "string"
                },
                "meta": {
                  "properties": {
                    "attribution": {
                      "description": "Licensing attribution when the source requires it.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cached": {
                      "description": "Whether this response was served from cache.",
                      "type": "boolean"
                    },
                    "fetchedAt": {
                      "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                      "type": "string"
                    },
                    "source": {
                      "description": "Upstream source: defillama.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "cached",
                    "fetchedAt"
                  ],
                  "type": "object"
                },
                "ok": {
                  "description": "true on success.",
                  "type": "boolean"
                }
              },
              "required": [
                "ok",
                "endpoint",
                "data",
                "meta"
              ],
              "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://gateway.stride20k.com/crypto/price/:coinId"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://gateway.stride20k.com/crypto/price/:coinId");
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://gateway.stride20k.com/crypto/price/:coinId")
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
gateway.stride20k.com
Endpoint
https://gateway.stride20k.com/crypto/price/:coinId
Machine-readable
/resources/1166.json