GET
/
insights
/
v1
/
tokens
/
price
Get token price
curl --request GET \
  --url https://data-api.b3.fun/insights/v1/tokens/price
{
  "data": [
    {
      "chain_id": 1,
      "address": "vitalik.eth",
      "symbol": "<string>",
      "price_usd": 123,
      "price_usd_cents": 123,
      "percent_change_24h": 123,
      "volume_24h_usd": 123,
      "volume_change_24h": 123,
      "market_cap_usd": 123,
      "historical_prices": [
        {
          "date": "<string>",
          "price_usd": 123,
          "price_usd_cents": 123
        }
      ],
      "holders": 123
    }
  ]
}

Query Parameters

chain
number[]
deprecated

Use chain_id instead

Example:
[20, 56, 1]
chain_id
number[]

The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., ?chain_id=20&chain_id=56. Optional, because a single chain can as well be specified as a subdomain

Example:
[20, 56, 1]
address

The address of the token to get the price for

Example:
[
"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
]
symbol

The symbol of the token to get the price for

Example:
["ETH", "USDC"]
timestamp
integer

Timestamp in seconds or milliseconds

Required range: x > 0
include_historical_prices
enum<string>
default:false

Whether to include historical token prices

Available options:
true,
false
Example:

"true"

include_holders
enum<string>
default:false

Whether to include the number of holders

Available options:
true,
false
Example:

"true"

Response

200
application/json

Successful response

The response is of type object.