Live token prices with FDV, liquidity, and 24h change for Ethereum and Base, quoted in USD/ETH/BTC.
What it does
The SlamAI Token Price endpoint returns real-time token pricing data for tokens on Ethereum and Base networks. For each queried token it provides the current price (quoted in USD, ETH, or BTC), fully diluted valuation (FDV), available liquidity, and 24-hour price change percentages. Tokens can be looked up by symbol or contract address, with up to 30 tokens per request using pipe-delimited lists.
The endpoint is an x402-enabled GET API on Base, accepting payment in USDC (contract 0x8335…2913). The maximum cost per call is 1000 base units of USDC, which equals $0.001 (one-tenth of a cent). Each response includes a block number and UTC timestamp anchoring the price snapshot, plus a `slam` field indicating the internal SLAM token cost of the call. A special `estimate_cost` query parameter lets callers preview the SLAM cost without fetching actual price data.
The endpoint exposes a detailed output schema via its x402 challenge, covering token name, symbol, address, price, FDV, liquidity, and an array of historical price-change entries keyed by lookback period in minutes. No separate documentation site or OpenAPI spec was found; all schema information comes from the 402 challenge payload itself.
Capabilities
Use cases
- —Fetching real-time prices for a portfolio of ERC-20 tokens on Ethereum or Base
- —Building a dashboard that displays FDV, liquidity, and 24h price changes for DeFi tokens
- —Programmatic trading bots that need sub-cent per-call pricing data
- —Agents comparing token valuations across USD, ETH, and BTC quote currencies
- —Estimating API call costs before committing to a paid request
Fit
Best for
- —AI agents needing pay-per-call token price data without API keys
- —DeFi applications tracking prices on Ethereum and Base
- —Batch lookups of up to 30 tokens in a single request
- —Low-cost micropayment access at $0.001 per call
Not for
- —Historical OHLCV or candlestick chart data
- —Chains other than Ethereum and Base
- —High-frequency streaming price feeds (this is a request-response API)
Quick start
curl -X GET "https://api.slamai.dev/token/price?blockchain=base&symbols=USDC|WETH"e_symbol=USD" \
-H "X-Payment: <x402-payment-header>"Example
Request
{
"url": "https://api.slamai.dev/token/price?blockchain=base&symbols=SWARM|VADER"e_symbol=USD",
"method": "GET"
}Response
{
"utc": "2026-04-22T00:45:00.000Z",
"slam": 0.5,
"block": 28451023,
"chain": "base",
"quote": "USD",
"tokens": [
{
"fdv": 23400000,
"name": "Swarm",
"prev": [
{
"change": "-2.31%",
"minutes": 1440
}
],
"price": 0.0234,
"symbol": "SWARM",
"address": "0xabc...",
"liquidity": 185000
},
{
"fdv": 870000,
"name": "Vader",
"prev": [
{
"change": "+5.12%",
"minutes": 1440
}
],
"price": 0.00087,
"symbol": "VADER",
"address": "0xdef...",
"liquidity": 42000
}
]
}Endpoint
Quality
The x402 challenge is live and includes a detailed outputSchema with input query parameters and response structure. However, no external documentation, OpenAPI spec, or landing page exists—all information is derived solely from the 402 challenge payload. The example response is inferred from the schema rather than observed.
Warnings
- —No documentation site found; all crawled paths return 404.
- —No OpenAPI or ai-plugin manifest available.
- —Example response values are inferred from the schema, not from an actual API call.
- —Provider identity ('SlamAI') is inferred from the domain name only.
Citations
- —Endpoint is live and returns a 402 x402 challenge on Base network with USDC paymenthttps://api.slamai.dev/token/price
- —Max amount required is 1000 base units of USDC (asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913), equaling $0.001https://api.slamai.dev/token/price
- —Supports blockchain parameter with enum values 'ethereum' and 'base'https://api.slamai.dev/token/price
- —Accepts pipe-delimited symbols or addresses (max 30) and quote_symbol of USD, ETH, or BTChttps://api.slamai.dev/token/price
- —Response includes slam cost, chain, block, utc, quote, and tokens array with price, FDV, liquidity, and prev change datahttps://api.slamai.dev/token/price