Quick start

curl Examples (REST API)

List USDC transfers on Ethereum:

curl -X GET "https://api.heimdahl.com/v1/transfers/list/ethereum.mainnet.usdc.all.all.all" -H "Authorization: Bearer YOUR_API_KEY"

Get specific token events:

curl -X GET "https://api.heimdahl.com/v1/events/list/ethereum.mainnet.0x6B175474E89094C44Da98b954EedeAC495271d0F.Transfer" -H "Authorization: Bearer YOUR_API_KEY"

List swaps between specific tokens:

curl -X GET "https://api.heimdahl.com/v1/swaps/list/ethereum.mainnet.usdc.weth.all" -H "Authorization: Bearer YOUR_API_KEY"

websocat Examples (WebSocket)

Subscribe to USDC transfers in real-time:

websocat "wss://api.heimdahl.com/v1/transfers/subscribe/ethereum.mainnet.usdc.all.all.all?api_key=YOUR_API_KEY"

Subscribe to specific token events:

websocat "wss://api.heimdahl.com/v1/events/subscribe/ethereum.mainnet.0x6B175474E89094C44Da98b954EedeAC495271d0F.Transfer?api_key=YOUR_API_KEY"

Monitor swaps between specific tokens:

websocat "wss://api.heimdahl.com/v1/swaps/subscribe/ethereum.mainnet.usdc.weth.all?api_key=YOUR_API_KEY"

These examples are formatted as single-line commands for easy copying and pasting.

Last updated