The data of the site is available as JSON, free and without a key, for your own site, bot or spreadsheet. It is read-only and can be called from a browser on any site.
GET /api/v1/tokens | The list of tokens, with price, changes, market cap, liquidity, volume, holders, backing ratio and all-time high. |
GET /api/v1/tokens/{address} | One token, with its supply and its buy and sell taxes as well. |
GET /api/v1/tokens/{address}/history | Its daily prices (open, high, low, close, volume), oldest first. days sets how many, 365 by default. |
GET /api/v1/lge | Liquidity Generation Events. status keeps one kind: live, upcoming, completed, aborted or expired. |
Every call accepts network (bsc by default). The list of tokens also accepts page and per_page (up to 250), sort (rank, name, price, change_24h, change_7d, change_30d, volume_24h, market_cap, liquidity, backing_ratio, created) with order (asc or desc), and the filters of the ranking: liquidity, backing, tax and age.
curl "https://sdmarketcap.com/api/v1/tokens?per_page=5&sort=volume_24h&order=desc"
- Answers have the shape
{"data": …, "meta": …}; an error is{"error": {"status": 404, "message": "…"}}. - Amounts are decimal strings (
"0.00002098"), not numbers: a price with eighteen decimals does not survive a floating-point number. Dates are in UTC. - Up to 60 calls per minute for each IP address; beyond that the answer is a 429 error with a
Retry-Afterheader. Data is refreshed every minute, so calling more often brings nothing new. - Version 1 is stable: fields may be added, none will be renamed or removed.