cURL
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>" } ] }
Token address to fetch swaps for
Number of swaps to return (max 2500)
Offset for pagination
Sort in ascending order if true
Token swaps
The response is of type object.
object