API Endpoints

1. Validate Address

Validates if a cryptocurrency address is correctly formatted for the specified blockchain.

Endpoint: POST /v1/validate

Headers:

Content-Type: application/json
x-api-key: your_api_key_here (optional, for Premium tier)

Request Body:

{
  "chain": "BTC",
  "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
}
ParameterTypeRequiredDescription
chainstringYesCryptocurrency ticker symbol (e.g., ETH, BTC, SOL)
addressstringYesAddress to validate

Success Response (200):

{
  "chain": "BTC",
  "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
  "valid": true,
  "usage_left": 29
}

Error Responses:

StatusErrorMeaning
400Invalid input: 'chain' and 'address' must be stringsMissing or invalid parameters
400Unsupported chain: XYZChain not supported
403Invalid or inactive API keyInvalid Premium key
429Free tier limit exceeded (30/hr)Rate limit reached
429Hourly rate limit exceededPremium tier limit reached

2. List Supported Chains

Returns all supported cryptocurrency ticker symbols.

Endpoint: GET /v1/chains

Headers: None required

Success Response (200):

{
  "object": "list",
  "count": 124,
  "data": [
    "1INCH", "ADA", "AAVE", "ALGO", "APE", "ARB", "AVAX", "BCH", "BNB", 
    "BTC", "DOGE", "DOT", "ETH", "LTC", "MATIC", "SOL", "TRX", "USDC", 
    "USDT", "XRP", ...
  ]
}

3. Check Usage

Returns your current request usage and remaining quota.

Endpoint: GET /v1/usage

Headers:

x-api-key: your_api_key_here (optional)

Success Response (200):

Free Tier (no API key):

{
  "plan": "free_public",
  "limit": "30/hour",
  "message": "You are using the free public tier via IP address."
}

Premium Tier (with API key):

{
  "plan": "premium",
  "usage": 42,
  "limit": 1000,
  "period": "Hourly"
}