Etherscan Compatible API
The Etherscan Compatible API provides functionality aligned with Etherscan's standards, enabling efficient access to blockchain data, including transactions, blocks, and smart contract information.
Key Features
- Compatibility: Fully compatible with Etherscan's standard API.
- Ease of Use: Intuitive request structure and response format.
- Security: API key authentication and rate limiting for users.
Basic Information
API Endpoints
Environment | Base URL |
---|---|
Production | https://mainnet-oapi.kaiascan.io/api |
Test | https://kairos-oapi.kaiascan.io/api |
Example Request
GET /api?module=account&action=balance&address=0x123...&apikey=YourApiKeyHere HTTP/1.1
Host: https://mainnet-oapi.kaiascan.io/api
How to Generate an API Key
To use the API, you need an API key for authentication. Follow the steps below to generate your API key:
- Go to the Kaiascan Page.
- Log in to your account or create a new one.
- Go to "API Keys" tab and click the "Add API Keys" button to generate a new key.
- Store your API key securely and use it as the
apikey
parameter in your requests.
For more details, visit the API Key Creation Page.