Back to Docs

REST API Documentation

Base URL

https://api.interscan.pro/v1

Authentication

All API requests require authentication using an API key in the header:

Authorization: Bearer YOUR_API_KEY

Get your API key from your dashboard at app.interscan.pro

Endpoints

GET /transactions/latest

Get the latest transactions across all networks

Query Parameters:

  • limit - Number of transactions (default: 20, max: 100)
  • network - Filter by network (optional)

Example Request:

curl -X GET "https://api.interscan.pro/v1/transactions/latest?limit=10" \ -H "Authorization: Bearer YOUR_API_KEY"

GET /transactions/:hash

Get transaction details by hash

Path Parameters:

  • hash - Transaction hash

Example Response:

{ "hash": "0x123...", "from": "0xabc...", "to": "0xdef...", "value": "1000000000000000000", "gasUsed": "21000", "timestamp": 1733270400, "status": "success" }

GET /blocks/latest

Get the latest blocks

Query Parameters:

  • limit - Number of blocks (default: 10, max: 50)
  • network - Filter by network

GET /addresses/:address

Get address information including balance and transactions

Path Parameters:

  • address - Wallet address

GET /tokens/:address

Get ERC-20 or ERC-721 token information

Response includes:

  • Token name, symbol, decimals
  • Total supply
  • Holder count
  • Transfer history

Rate Limits

  • Free Tier: 100 requests per minute
  • Pro Tier: 1,000 requests per minute
  • Enterprise: Custom rate limits

Error Codes

  • 400 - Bad Request: Invalid parameters
  • 401 - Unauthorized: Invalid or missing API key
  • 404 - Not Found: Resource not found
  • 429 - Too Many Requests: Rate limit exceeded
  • 500 - Internal Server Error