Blockscout APIs

Blockscout API Usage

API information can be accessed from the Blockscout main menu, footer or header depending on the instance.

Blockscout supports several methods:

  1. REST API: API that serves the UI for Blockscout.

  2. RPC API: provided for developers transitioning applications from Etherscan to Blockscout. Supports GET and POST requests, simply replace Etherscan url with Blockscout url to use the RPC.

  3. Eth RPC API: Supports the most popular JSON RPC methods.

  4. Graphiql: An IDE for exploring GraphQL.

API access in new instance

API Keys

API Keys are not needed by default. Blockscout instances have a standard global request setting of 10/requests per second. However, My Account users can add up to 3 API keys to ensure 10 request/second limits per account.

Blockscout Internal Documentation

To view Modules and API Reference documentation:

  1. Generate documentation.

    mix docs

  2. View the generated docs.

    open doc/index.html

Last updated

Was this helpful?