Skip to main content
GET
/
explorer
/
transactions
Paginated swap feed
curl --request GET \
  --url https://api.leokit.dev/explorer/transactions
{
  "data": [
    {
      "id": "<string>",
      "tx_hash": "<string>",
      "from_asset": "<string>",
      "to_asset": "<string>",
      "from_address": "<string>",
      "to_address": "<string>",
      "volume_usd": 123,
      "protocol": "<string>",
      "swap_date": "2023-11-07T05:31:56Z",
      "from_symbol": "<string>",
      "to_symbol": "<string>",
      "from_chain": "<string>",
      "to_chain": "<string>"
    }
  ],
  "has_more": true,
  "next_cursor": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.leokit.dev/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

GET /leokit/explorer/transactions
No authentication required.

Request

ParameterTypeRequiredDescription
cursorstringNoISO timestamp from a previous next_cursor. Returns rows older than this
limitnumberNoPage size, 1–100. Default 50
chainstringNoFilter by source or destination chain (e.g. ETH, BTC)
protocolstringNoFilter by protocol slug (e.g. thorchain)

Response

{
  "data": [
    /* up to `limit` ExplorerTransaction objects, newest first */
  ],
  "next_cursor": "2026-04-28T11:42:18.000Z",
  "has_more": true
}
FieldDescription
dataArray of ExplorerTransaction (see overview)
next_cursorPass to next request as cursor to fetch the next page. null when exhausted
has_moretrue if more rows exist after this page

Errors

StatusDescription
500Supabase query failure

Pagination Pattern

let cursor = null;
do {
  const url = new URL("https://api.leokit.dev/leokit/explorer/transactions");
  url.searchParams.set("limit", "100");
  if (cursor) url.searchParams.set("cursor", cursor);

  const { data, next_cursor, has_more } = await fetch(url).then(r => r.json());
  for (const tx of data) handle(tx);

  cursor = next_cursor;
} while (cursor && has_more);

Examples

# Latest 50
curl "https://api.leokit.dev/leokit/explorer/transactions"

# Filter to BTC source/destination, 20 per page
curl "https://api.leokit.dev/leokit/explorer/transactions?chain=BTC&limit=20"

# Filter to Chainflip
curl "https://api.leokit.dev/leokit/explorer/transactions?protocol=chainflip"

# Next page
curl "https://api.leokit.dev/leokit/explorer/transactions?cursor=2026-04-28T11:42:18.000Z"

Query Parameters

cursor
string<date-time>
limit
integer
default:50
Required range: 1 <= x <= 100
chain
string
protocol
string

Response

200 - application/json

Page of transactions plus pagination info.

data
object[]
required
has_more
boolean
required
next_cursor
string<date-time> | null