Skip to main content

Authentication

Pass your API key in the X-API-Key header:

X-API-Key: <your_api_key>
  • Do not URL-encode or wrap the value with quotes. Use: -H "X-API-Key: $API_KEY" (not -H "X-API-Key: '$API_KEY'").
  • Do not send the key in query params.
  • Keys are validated server-side before executing underlying RPCs.

Quick check:

curl -sS -H "X-API-Key: $API_KEY" https://api.tokportal.com/wallet-balance