Moving from TapTools
Scripts and bots written for the TapTools API keep working with one change: the base URL. Field names, nesting and units follow the TapTools API (prices and caps in ADA, times in unix seconds). Back to Developers.
1. Change the base URL, keep the header
Create a key under Account (free) and send it as x-api-key, exactly as before. Without a key the anonymous per-IP limit applies. Limits, daily quota and credits are the same as for the Realtap API.
# before curl -H "x-api-key: $KEY" https://openapi.taptools.io/api/v1/token/mcap?unit=<policy+name> # after curl -H "x-api-key: $KEY" "https://realtap.app/api/tt/v1/token/mcap?unit=<policy+name>"
Errors are TapTools-style: a JSON body { "message": "..." } with the HTTP status. The machine-readable list is /api/tt/v1/openapi.json.
2. Supported endpoints
| Method | Path | What it returns | Parameters |
|---|---|---|---|
| POST | /token/prices | Prices in ADA of up to 100 tokens. Body: a JSON array of units. Answers { unit: price }; units without a price are left out. | JSON body (array of units) |
| GET | /token/mcap | Market cap, fully diluted value, price and supply (ADA). | unit*: Token unit: policy id + hex asset name |
| GET | /token/holders | Number of holders. | unit*: Token unit: policy id + hex asset name |
| GET | /token/holders/top | Largest holders of a token (the list Realtap keeps, up to its top-holder cache). | unit*: Token unit: policy id + hex asset namepage: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /token/ohlcv | OHLCV candles in ADA across all pools; volume in ADA.Differences from TapTools: onchainID (single-pool candles) is not supported. | unit*: Token unit: policy id + hex asset nameinterval: Candle sizenumIntervals: How many candles (default 100, at most 1000) |
| GET | /token/pools | Liquidity pools of a token.Differences from TapTools: lpTokenUnit is always an empty string. | unit*: Token unit: policy id + hex asset nameadaOnly: 1 = only pools paired with ADA |
| GET | /token/trades | Recent swaps of a token, newest first (at most 1,000 rows deep). | unit*: Token unit: policy id + hex asset nametimeframe: Window: 30m, 1h, 4h, 12h, 24h, 7d, 30d, 90d, 180d, 1y, all (default 30d)page: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /token/top/volume | Tokens ranked by traded volume (ADA).Differences from TapTools: only the windows 5m, 1h, 6h and 24h are available. | timeframe: Window: 5m, 1h, 6h, 24h (default 24h)page: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /token/top/mcap | Tokens ranked by market cap (ADA). | page: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /token/top/liquidity | Tokens ranked by liquidity (ADA). | page: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /token/quote | Price of 1 ADA in a currency. | quote: ADA or a fiat code (USD default; EUR, GBP, ZAR, AUD, CAD, CHF, JPY, NGN, BRL) |
| GET | /token/links | Social and website links a team submitted for the token (null where none). | unit*: Token unit: policy id + hex asset name |
| GET | /wallet/portfolio/positions | Fungible tokens and NFTs of a wallet, valued in ADA at pool prices.Differences from TapTools: 7d and 30d changes are null; positionsLp is empty. | address*: Payment (addr1…) or stake (stake1…) address |
| GET | /wallet/trades/tokens | DEX swaps made by a wallet, newest first. | address*: Payment (addr1…) or stake (stake1…) addressunit: Only swaps of this tokenpage: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /wallet/value/trended | Daily value of a wallet. An estimate: today's holdings valued at past prices. | address*: Payment (addr1…) or stake (stake1…) addresstimeframe: Window: 30m, 1h, 4h, 12h, 24h, 7d, 30d, 90d, 180d, 1y, all (default 30d)quote: ADA (default) or USD |
| GET | /nft/collection/stats | Floor, volume, sales, listings and holders of a collection.Differences from TapTools: topOffer is always 0; owners and supply are 0 for collections whose holders were not counted. | policy*: NFT collection policy id (56 hex) |
| GET | /nft/collection/trades | Sales of a collection, newest first. | policy*: NFT collection policy id (56 hex)timeframe: Window: 30m, 1h, 4h, 12h, 24h, 7d, 30d, 90d, 180d, 1y, all (default 30d)page: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /nft/collection/holders/top | Largest holders of a collection (amount = assets held).Differences from TapTools: for collections not counted on the ledger the list is the latest buyers instead (response header X-Realtap-Source: buyers). | policy*: NFT collection policy id (56 hex)page: Page, from 1 (default 1)perPage: Items per page (default 20, at most 100) |
| GET | /market/stats | DEX volume of the last 24 hours and active traders of the last full day. | quote: ADA (default) or USD |
| GET | /address/info | Balance of a payment address: lovelace and tokens (raw quantities).Differences from TapTools: paymentCred lookups and stake addresses are not supported. | address*: Payment address (addr1…) |
3. Not supported
| TapTools | Why / instead |
|---|---|
| /token/indicators | Realtap does not compute technical indicators. |
| /token/ohlcv with onchainID, /token/trading/stats, /token/debug/* | Candles are per token across all pools; per-pool statistics are not exposed. |
| /token/top/gainers and /token/top/losers | Use /api/v1/tokens?sort=gainers or sort=losers. |
| NFT offers, rarity, traits and marketplace statistics | Not mapped; the native routes under /api/v1/nft/collections/{policy} have most of them. |
| Wallet profile, labels and money flow | Not mapped; see /api/v1/wallet/{address}/pnl. |
| /integration/* | TapTools partner endpoints without an equivalent. |
| paymentCred lookups on /address/info | Pass the payment address. |
Differences worth knowing: top-holder lists come from Realtap's holder cache, wallet value history is an estimate (today's holdings at past prices), and the OHLCV volume is in ADA across all pools of the token. A request to an endpoint that is not listed answers 404 with a message.