Live cryptocurrency price API
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://gateway.stride20k.com/crypto/price/:coinId
| Category | Market data |
|---|---|
| Provider host | gateway.stride20k.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.005 | 28 ms |
Example input (from the provider)
{
"method": "GET",
"pathParams": {
"coinId": "bitcoin"
},
"queryParams": {},
"type": "http"
}
Promised output schema (from the provider)
{
"$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\u20131 (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"
}