GET
/
market
/
sparkline
curl --request GET \
  --url https://api.mobula.io/api/1/market/sparkline
{
  "url": "<string>"
}

Query quick start

Input in “asset” the name of the asset you want to query, or the contract address while adding the blockchain as a second parameter. The market data asset query pattern is explained in great details here, with blockchain format, etc.

The default response is a SVG image, if you want a png you can just add a param png=true to the query.

Data details

Returns the 24h sparkline url for the given asset.

Query Parameters

asset
string
blockchain
string
symbol
string
id
string
timeFrame
string
default:24h
png
string
default:false

Response

200 - application/json
Market sparkline response
url
string
required