Get price snapshot
Read the latest normalized price state for one market.
This is the fastest first-success path for most evaluators.
Access
- Surfaces:
mcp,rest,skill - Metering:
mcp_call,rest_call - Scope:
DEX available · EVM family primary
Handles
| Surface | Label | Value |
|---|---|---|
mcp | MCP | market.read_price |
rest | HTTP | GET /v1/market/price-snapshot |
skill | Skill | market.read_price |
Contract notes
- Send explicit
chainandaddressvalues. See Parameter Contracts for shared validation rules. - Zero-address inputs such as
0x0000000000000000000000000000000000000000and shorthand forms such as0x0are rejected. - Failed responses return machine-readable
error.codeplus bothtrace_idandrequest_idfor support and retry diagnostics.
Request example
GET {GATEWAY_BASE_URL}/v1/market/price-snapshot?market_kind=dex&chain=ethereum&address=0xC02aaA39b223FE8D0A0E5C4F27eAD9083C756Cc2Try send
Try send
Try price snapshot
Send one direct browser request to the current hosted gateway base URL so the real network request is visible in devtools. The API key is only stored locally when you provide one.
Response example
{
"price_snapshot": {
"market_kind": "dex",
"chain": "ethereum",
"address": "0xC02aaA39b223FE8D0A0E5C4F27eAD9083C756Cc2",
"price": "3182.45",
"change_24h_pct": "4.18",
"source_id": "multi-source-kline"
},
"freshness_ms": 120,
"source_status": "healthy"
}Request fields
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
market_kind | string | Required | Market family. Use `dex` for now. |
chain | string | Required | Chain key. Use an enabled EVM chain such as `ethereum` or `base`. |
address | string | Required | canonical EVM token address for the selected public chain. Send the full 20-byte `0x...` contract address. |
Response fields
Price snapshot
| Field | Type | Notes |
|---|---|---|
price_snapshot.market_kind | string | Market family. |
price_snapshot.chain | string | Price chain. |
price_snapshot.address | string | Lookup address. |
price_snapshot.price | string | Latest price. |
price_snapshot.change_24h_pct | string | 24h change percent. |
price_snapshot.source_id | string | Backing source id. |
Response metadata
| Field | Type | Notes |
|---|---|---|
freshness_ms | number | Data age in milliseconds. |
source_status | string | Source health for this response. |
Related pages
Last updated on