Coins
coins.trades
Recent DEX trades of a coin, newest first.
Details
- Endpoint
- GET /v1/coins/:type/trades
- Credits
- 2
- Rate class
- Light. Counts against your light requests per second.
Returns on-chain swaps: digest, timestamp, side (buy or sell), trader, amount of the coin, the price at that trade in USD, the trade's value in USD, and the venues used. Each USD value is priced at the trade's own time, which is its timestamp. Page back with cursor. Exchange trades are not mixed in. Link a digest to getTransaction for the full parsed transaction.
Parameters
| Name | Type | Description |
|---|---|---|
| typerequired | string | Move coin type, URL-encoded in the path, for example 0x2::sui::SUI or 0xdeeb7a46...::deep::DEEP. |
| limit | integer | Trades per page.Default 50. From 1 to 50. |
| cursor | string | Cursor from the previous response (the time of the oldest trade seen). |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl "https://api.tide.ad/v1/coins/0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270%3A%3Adeep%3A%3ADEEP/trades?limit=10" \
-H "x-api-key: YOUR_API_KEY"TypeScript
const res = await fetch("https://api.tide.ad/v1/coins/0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270%3A%3Adeep%3A%3ADEEP/trades?limit=10", {
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
JSON
{
"coinType": "0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP",
"items": [
{
"digest": "3KstYyvWrcqxJLEehnfx2JSL1GAevkKRySqKZukLzGhT",
"timestamp": "2026-11-04T07:31:50.872Z",
"side": "sell",
"trader": {
"address": "0x0d597c852976ed78ed1bc37b3049638a29aa2ec0fa1952f546c7f1f5dc6ec6b3",
"name": null,
"label": "Trading bot"
},
"amount": 500,
"symbol": "DEEP",
"price": {
"usd": 0.015915508000000002,
"priceAsOf": "2026-11-04T07:31:50.872Z"
},
"value": {
"usd": 7.96,
"priceAsOf": "2026-11-04T07:31:50.872Z"
},
"venues": [
"Cetus"
]
},
{
"digest": "9EtprJ8ZhiktUd3BYw6PVb13oGhQGTxj8x5JhGXddLPf",
"timestamp": "2026-11-04T07:31:50.430Z",
"side": "sell",
"trader": {
"address": "0x0d597c852976ed78ed1bc37b3049638a29aa2ec0fa1952f546c7f1f5dc6ec6b3",
"name": null,
"label": "Trading bot"
},
"amount": 500,
"symbol": "DEEP",
"price": {
"usd": 0.015923210923084213,
"priceAsOf": "2026-11-04T07:31:50.430Z"
},
"value": {
"usd": 7.96,
"priceAsOf": "2026-11-04T07:31:50.430Z"
},
"venues": [
"Cetus"
]
},
{
"digest": "DDDm3LVKbyk62Ujcj3u6j2VqsNKnHDPUhFRR4Rfc9uvH",
"timestamp": "2026-11-04T07:30:24.906Z",
"side": "sell",
"trader": {
"address": "0x37f8da28664e686cf94319e0eb2d66e7ca5acc472443c9cd20f927b92724926a",
"name": null,
"label": null
},
"amount": 1214.848626,
"symbol": "DEEP",
"price": {
"usd": 0.015923984754953328,
"priceAsOf": "2026-11-04T07:30:24.906Z"
},
"value": {
"usd": 19.35,
"priceAsOf": "2026-11-04T07:30:24.906Z"
},
"venues": [
"Cetus",
"Cetus Aggregator"
]
}
],
"cursor": "1793777234213",
"asOf": {
"checkpoint": 341484426,
"timestamp": "2026-11-04T07:32:17.524Z",
"lagMs": 861
}
}Long lists are cut to a few items here.