Token Price
Get current price, market cap, volume, and 24h change for a token.
| Property | Value |
|---|---|
| Endpoint | /api/token/price |
| Method | POST |
| Credits | 1 |
Request Body
chainstring, requiredChain name or ID
tokenAddressstring, requiredToken contract address
Example
curl -X POST https://kittyhome.pages.dev/api/token/price \
-H "Authorization: Bearer kk_your_key" \
-H "Content-Type: application/json" \
-d '{"chain": "ethereum", "tokenAddress": "0x69825081..."}'
Response Data
{
"items": [
{
"priceUsd": "0.00001234",
"marketCapUsd": "5200000000",
"volume24hUsd": "456789012",
"priceChange24hPct": "5.67",
"lastUpdated": "1714500000000"
}
]
}