GET
/
token
/
swaps
curl --request GET \
  --url https://api.syrax.ai/v1/token/swaps
{
  "status": "Success",
  "time_taken_ms": 123,
  "total": 123,
  "offset": 123,
  "data": [
    {
      "signature": "<string>",
      "id": "<string>",
      "trader": "<string>",
      "token": "<string>",
      "token_amount": 123,
      "sol_amount": 123,
      "price_sol": 123,
      "price_usd": 123,
      "marketcap_sol": 123,
      "marketcap_usd": 123,
      "sol_price_usd": 123,
      "confirmed_at": "<string>",
      "is_buy": true,
      "is_jupiter_swap": true,
      "platform": "<string>"
    }
  ]
}
Cost per call: 1 credit

Query Parameters

token
string
required

Token address to fetch swaps for

limit
string

Number of swaps to return (max 2500)

offset
string

Offset for pagination

sortAsc
string

Sort in ascending order if true

Response

200
application/json

Token swaps

The response is of type object.