Price
curl --request GET \
--url https://public-api.birdeye.so/defi/price \
--header 'X-API-KEY: <api-key>'import requests
url = "https://public-api.birdeye.so/defi/price"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://public-api.birdeye.so/defi/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"isScaledUiToken": false,
"value": 0.38622452197470425,
"updateUnixTime": 1745058945,
"updateHumanTime": "2025-04-19T10:35:45",
"priceChange24h": 1.933391934259418,
"priceInNative": 0.0027761598581298626,
"liquidity": 10854103.37938592
},
"success": true
}Price & OHLCV
Price
Retrieve the latest price information for a specified token.
GET
/
defi
/
price
Price
curl --request GET \
--url https://public-api.birdeye.so/defi/price \
--header 'X-API-KEY: <api-key>'import requests
url = "https://public-api.birdeye.so/defi/price"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://public-api.birdeye.so/defi/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"isScaledUiToken": false,
"value": 0.38622452197470425,
"updateUnixTime": 1745058945,
"updateHumanTime": "2025-04-19T10:35:45",
"priceChange24h": 1.933391934259418,
"priceInNative": 0.0027761598581298626,
"liquidity": 10854103.37938592
},
"success": true
}- Usage Note
- Accessibility
- Chain Supported
Single-token spot price lookup.
- Always use the checksum contract address on EVM chains and the canonical token mint address on Solana-like chains.
include_liquidity=trueadds liquidity context to the latest price snapshot when available.- Response may be
nullor omit fields if the token is unknown, unsupported, or not yet indexed on the selected chain. - Solana and EVM responses can differ slightly because token metadata and liquidity sources differ by chain.
- Cache or poll this endpoint conservatively when rendering dashboards, bots, or watchlists.
- Standard
- Lite
- Starter
- Premium
- Business
- Enterprise
All chains ⛓️ ✨
Compute Unit ⚙️
Compute Unit ⚙️
- This endpoint consumes
3 CUper request.
Use Cases 💡
Use Cases 💡
- Fetch the latest token price for portfolio rows, token details, and watchlist cards.
- Power alerts, bots, and automations that react to live price movement.
- Enrich trade, liquidity, and holder dashboards with a current spot-price anchor.
- Provide quick price checks before deeper calls such as OHLCV, price stats, or market-data lookups.
How to Use 🛠️
How to Use 🛠️
- Set
x-chainfor the target network. - Pass one token address in
address. - Enable
include_liquidity=truewhen you want price plus nearby liquidity context in the same call. - Handle
nullprice payloads gracefully for newly listed or unsupported tokens.
Best Practices ✅
Best Practices ✅
- Reuse cached token metadata and decimals so this endpoint only needs to answer price, not identity.
- Pair the latest price with historical or OHLCV endpoints when you need context, not just the current mark.
- For large token sets, move to
Price - Multipleinstead of looping single-token requests.
Authorizations
API key for authentication
Headers
A chain name listed in supported networks.
Available options:
solana, ethereum, bsc, base, robinhood, sui, mantle, hyperevm, arbitrum, avalanche, optimism, polygon, zksync, monad, aptos, fogo, megaeth Query Parameters
Specify the liquidity value to check.
Specify whether to include liquidity in the response.
Available options:
true, false The address of the token contract.
Indicate whether to use the scaled amount for scaled ui amount tokens. Only support solana
Available options:
raw, scaled, both Was this page helpful?

