An API call that encounters an error will return 0 as itsDocumentation Index
Fetch the complete documentation index at: https://docs.etherscan.io/llms.txt
Use this file to discover all available pages before exploring further.
status code and display the cause of the error under the result field.
Missing or Unsupported Chain
The chain you’ve specified is not supported by us yet. It could also be that you’ve sent multiple chains at the same time like420,10, you can only send one at a time.
Invalid API Key
This error occurs when you specify an invalid API Key. Ensure you are using your Etherscan API Key, keys from other chains like Polygonscan/Arbiscan are not valid for V2. Keys do take a few minutes to activate, anything longer than should be alarming.Too many invalid API key attempts
This error occurs when more than 5 invalid API key attempts are made within a 30-second window. Your source IP will be temporarily throttled as a security measure. The throttle resets automatically after 30 seconds. To resolve, wait at least 30 seconds and retry with a valid API key.Max rate limit
This error occurs when you exceed the rate limit assigned to your specific API key. To resolve, adhere to the rate limits of your available plan. If you are using a script or application, apply throttling like a token bucket to limit the frequency of calls.Missing or invalid action
This error occurs when you do not specify, or specify an invalidmodule and action name.
To resolve, double check your API query to use a valid module and action name.
If you require some help getting started, try copying the sample queries provided in the API Playground and pasting them into your browser.