Token Prices by Contract Address
USD prices of crypto tokens by contract address on any chain, or by CoinGecko id, from DefiLlama: the latest price, the price at a past moment or a price history, with the symbol, decimals, when each price was recorded and the source's confidence score.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from coins.llama.fi/prices/current/coingecko:bitcoin,ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/token-prices-by-address/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"coins": [
"coingecko:bitcoin",
"ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7"
]
},
"max_items": 50
}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
11 fields: 9 here, 2 technical ones under Technical details.
Basics
- Chain
Chain of a chain:address token, such as ethereum, bsc or solana; empty for CoinGecko ids.
Example ethereum
- Symbol
Ticker symbol, such as BTC or USDT.
Example BTC
- Decimals
Decimal places of the token contract, such as 6 for USDT; for chain:address tokens.
Example 6
- Timestamp
The same moment as Unix time in seconds.
Example 1,796,499,979
- Confidence
The source's confidence in the price, from 0 to 1.
Example 0.999
Prices
- Price (USD)
Price of one whole token in US dollars.
Example 42,969.405486
- Price at
When the source recorded this price (UTC), close to the moment asked.
Example Dec 5, 2026
Location
- Address
Contract address of the token on that chain; empty for CoinGecko ids.
Example 0xdAC17F958D2ee523a2206206994597C13D831ec7
Links
- Token link
The token's page on CoinGecko or on its chain's block explorer.
Example coingecko.com/en/coins/bitcoin
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- Token ID
token_idThe token as asked, such as coingecko:bitcoin or ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7. - Coingecko ID
coingecko_idCoinGecko id of a coingecko: token, such as bitcoin.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
token_id | text | Token ID (hidden) | 3 of 3 |
chain | text | Chain | 2 of 3 |
address | text | Address | 2 of 3 |
coingecko_id | text | Coingecko ID (hidden) | 1 of 3 |
symbol | text | Symbol | 3 of 3 |
price_usd | number | Price (USD) | 3 of 3 |
decimals | number | Decimals | 2 of 3 |
price_at | date and time | Price at | 3 of 3 |
timestamp | number | Timestamp | 3 of 3 |
confidence | number | Confidence | 3 of 3 |
token_url | link | Token link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Chain | Symbol | Decimals | Timestamp | Confidence | Price (USD) | Price at | Address | Token link |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | BTC | — | 1,796,499,979 | 0.999 | 42,969.405486 | Dec 5, 2026 | — | coingecko.com/en/coins/bitcoin |
| 2 | ethereum | USDT | 6 | 1,796,499,979 | 0.999 | 0.99881 | Dec 5, 2026 | 0xdAC17F958D2ee523a2206206994597C13D831ec7 | etherscan.io/token/0xdAC17F958D2ee523a2206206994597C13D831ec7 |
| 3 | solana | usdc | 6 | 1,796,499,979 | 0.999 | 0.999909 | Dec 5, 2026 | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | solscan.io/token/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Prices are DefiLlama's own USD reference prices, built from CoinGecko and on-chain market data. They are not trading quotes and can differ from the price on a given exchange.
- Tokens the source does not know, or has no price for near the moment asked, are left out without an error. Compare the token field with your list to find them.
- Each price is the nearest one the source recorded within 6 hours of the moment asked (a tenth of the interval for a history); price_at shows when. Raise search_width_hours for old or rarely traded tokens.
- A history holds at most 500 prices per token, and one run takes at most 1,000 tokens. How far back prices go depends on the token: Bitcoin and Litecoin reach April 2013, most tokens much less.
- confidence is empty for older prices, decimals comes only with chain:address tokens, and symbol is written as the source writes it (a few in lower case, such as usdc).
- A bare 0x address is read as an Ethereum token and a bare name as a CoinGecko id (bitcoin, not BTC). Name the chain for any other chain, such as bsc:0x… or solana:….
- token_url links to CoinGecko or the block explorer of Ethereum, BNB Chain, Polygon, Arbitrum, Optimism, Base, Avalanche or Solana; it is empty for other chains.
- Data from DefiLlama's free open API: credit DefiLlama (defillama.com) when you publish it.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.