Skip to main content
GET
/
2
/
asset
/
price-history
Get asset price history
curl --request GET \
  --url https://demo-api.mobula.io/api/2/asset/price-history
{
  "data": {
    "priceHistory": [
      [
        123
      ]
    ],
    "id": 123,
    "name": "<string>",
    "symbol": "<string>",
    "chainId": "<string>",
    "address": "<string>",
    "error": "<string>"
  }
}

Query Parameters

address
string

Token contract address

chainId
string

Blockchain chain ID (required when using address)

id
number | null

Asset ID (alternative to address+chainId)

period
string

Candle period (e.g., "5m", "1h", "1d")

from
number | null

Start timestamp (unix seconds)

to
number | null

End timestamp (unix seconds)

Response

200 - application/json

Asset price history response

data
object
required