Input Schema
{
"method": "GET",
"queryParams": {
"addresses": {
"description": "Pipe-delimited token addresses. Max: 30.",
"type": "string"
},
"at_block_number": {
"description": "Block number to retrieve price snapshot at",
"format": "int32",
"type": "integer"
},
"at_timestamp": {
"description": "Datetime (UTC) to retrieve price snapshot at",
"format": "date-time",
"type": "string"
},
"blockchain": {
"description": "The blockchain network to query.",
"enum": [
"ethereum",
"base"
],
"required": true,
"type": "string"
},
"estimate_cost": {
"description": "If true, returns only the SLAM token cost",
"type": "boolean"
},
"lookback_minutes": {
"description": "Pipe-delimited list of minute values for % change. Max: 30. E.g. 60|1440",
"type": "string"
},
"quote_symbol": {
"description": "Quote token: USD (default), ETH, or BTC",
"type": "string"
},
"symbols": {
"description": "Pipe-delimited token symbols. Max: 30. E.g. SWARM|BILLY",
"type": "string"
}
},
"type": "http"
}
Output Schema
{
"content": {
"application/json": {
"schema": {
"properties": {
"block": {
"description": "The block number for this price snapshot.",
"format": "int32",
"type": "integer"
},
"chain": {
"description": "The blockchain network name (e.g., 'base').",
"minLength": 1,
"type": "string"
},
"quote": {
"description": "Quote token or currency (USD, ETH, BTC).",
"minLength": 1,
"type": "string"
},
"slam": {
"description": "The SLAM token cost for this API call.",
"format": "double",
"type": "number"
},
"tokens": {
"description": "List of token price data.",
"items": {
"properties": {
"address": {
"description": "Token contract address.",
"type": "string"
},
"fdv": {
"description": "Fully diluted valuation in USD.",
"format": "double",
"nullable": true,
"type": "number"
},
"liquidity": {
"description": "Available liquidity in USD.",
"format": "double",
"nullable": true,
"type": "number"
},
"name": {
"description": "Full token name.",
"type": "string"
},
"prev": {
"description": "Price change info over 24h.",
"items": {
"properties": {
"change": {
"description": "Price change percentage.",
"type": "string"
},
"minutes": {
"description": "Lookback period in minutes.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"price": {
"description": "Current price in selected quote.",
"format": "double",
"type": "number"
},
"symbol": {
"description": "Token symbol.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"utc": {
"description": "UTC timestamp of this data (ISO 8601).",
"minLength": 1,
"type": "string"
}
},
"required": [
"block",
"chain",
"quote",
"slam",
"utc"
],
"type": "object"
}
}
},
"description": "OK",
"status": 200
}