Get Started

Learn about the WDK Indexer REST API and how to use it

The WDK Indexer REST API provides fast, reliable access to blockchain transaction data across multiple networks including Bitcoin, Ethereum, Solana, TON, TRON, Spark, Polygon, and Arbitrum.

A blockchain indexer continuously monitors and organizes blockchain transactions, making them instantly searchable through a simple REST API.


Getting Started

1

Request API Key

Request your free API key to access the WDK Indexer API.

Request API Key

2

Make Your First Request

Use your API key to query blockchain data via the REST API.


Quick Example

Here's a quick example of how to query a token balance with curl.

Using curl
curl -X GET "https://wdk-api.tether.io/api/v1/ethereum/usdt/0x742d35cc.../token-balances" \
     -H "x-api-key: your-api-key-here"
Using JavaScript
const axios = require('axios');

async function getTokenBalance(blockchain, token, address) {
  const response = await axios.get(
    `https://wdk-api.tether.io/api/v1/${blockchain}/${token}/${address}/token-balances`,
    {
      headers: {
        'x-api-key': 'your-api-key-here'
      }
    }
  );
  
  return response.data.tokenBalance;
}

const balance = await getTokenBalance('ethereum', 'usdt', '0x742d35cc...');
console.log(`Balance: ${balance.amount} ${balance.token.toUpperCase()}`);

Want more info? Check out the complete API Reference for detailed method documentation, parameters, and response formats.


Next Steps

  • API Reference - Complete method documentation with examples and response formats


Need Help?