Access the dev portal and get a free API key at https://dev.blockscout.com/
General Info
The PRO API provides expanded rate limits for high-usage projects on Blockscout hosted networks. The free plan includes 100K API credits per day with a rate limit of 5 requests per second. View additional pricing tiers below.If you are using accessing the PRO API via AI or an AI agent, direct the AI to this file to get started. https://dev.blockscout.com/llms.txt
PRO API Pricing Tiers
| Plan | Cost/Mo | API Credits | Rate Limit | Overage Rate |
|---|---|---|---|---|
| Free | $0 | 100K/day | 5 RPS | - |
| Builder | $49 | 100M/mo | 15 RPS | $0.5/M |
| Pro | $199 | 500M/mo | 30 RPS | $0.4/M |
| Business | $999 | 3B/mo | 50 RPS | $0.32/M |
| Enterprise | Custom SLA | unlimited | TBD | N/A |
PRO API Authorization
Pass an API key using either:apikeyquery parameterauthorizationheader
PRO API Response Headers
The following information related to the PRO API plan are included in the response headers- x-credits-remaining: Number of credits remaining in your plan. If on the free plan, this will resent daily, othewise it is monthly. You can check additional details in the PRO API UI.
- x-ratelimit-limit: Available RPS with your plan (can be -1 if there is an internal error)
- x-ratelimit-remaining: Remaining rate limit based on your queries (can be -1 if there is an internal error)
- x-ratelimit-reset: time in milliseconds until the rate limit resets (can be -1 if there is an internal error)

PRO API Routes
All current API routes can be used with the PRO Plan. See the PRO API Endpoints section to try example calls with your API key. The Route examples below use the Optimism chain (chain_id=10). In Previous per-instance routes API keys are optional for the free tier, they are required for all tiers (including the free tier) of the PRO API.JSON PRC API v2 (compare to Etherscan PRO API)
PRO API Route:JSON RPC API
PRO API Route:REST API
PRO API Route:ETH RPC API
see ETH RPC docs for more info on post requests. PRO API RoutePlease see the API reference section for specific endpoint info related to the various API routes.
Pagination
Blockscout uses the keyset pagination method to quickly return results. By default an API response returns the first 50 results. To access additional results (in groups of 50), add thenext_page_params to your query.
For example, open https://api.blockscout.com/10/api/v2/transactions?apikey=proapi_xxxxxx and scroll to the bottom of the response.

next_page_params object. Add the parameters from this object to your next query to receive the next 50 results.
https://api.blockscout.com/10/api/v2/transactions?apikey=proapi_xxxxxx&block_number=148445196&index=59&items_count=50
Repeat this process to continue receiving results in groups of 50 (remove params and substitute the new next_page_params found in the body of the query).

Blockscout Credit Costs
Credit amounts vary based on resource usage for different calls. The number of credits required for different calls is subject to change based on current analytics and resource usage. You can check your credits, top calls and overall usage in the dev portal dashboard at https://dev.blockscout.com/ Credits are consumed per API call. The default cost is 20 credits for any endpoint not listed below.| Endpoint | Credits |
|---|---|
default (all unlisted endpoints) | 20 |
api/v2/search/quick | 25 |
api/v2/transactions/:hash/logs | 30 |
api/v2/transactions/:hash/token-transfers | 30 |
api/v2/transactions/:hash/state-changes | 30 |
api/v2/tokens | 30 |
api/v2/tokens/:address_hash/transfers | 30 |
api/v2/addresses/:address_hash/token-transfers | 30 |
api/v2/addresses/:address_hash/logs | 30 |
api/v2/transactions/:hash/internal-transactions | 40 |
api/v2/addresses/:address_hash/internal-transactions | 40 |
api/v2/smart-contracts/verification/config | 40 |
api/v2/transactions/:hash/summary | 50 |
api/v2/transactions/:hash/raw-trace | 50 |
api/v2/addresses/:address_hash/coin-balance-history | 50 |