GuidesAPI Reference
DocumentationLog In

Substrate indexer

Substrate Indexer API


API Overview

BASE URL

  • Polkadot: https://api.bisontrails.co/polkadot/index/v1

Authentication

The indexer api uses an api access token for authentication, when making requests include a header with the key of apikey and the value as your api access token provided by the platform.

How to create API access token

  1. Login to the Bison Trails dashboard at https://app.bisontrails.co
  2. Click on the menu in the top left
  3. Select API Management
  4. Click API Access Token
  5. Name your token
  6. Select Polkadot
  7. Select Read
  8. Click create
  9. Copy your token and store it securely (we only display this once, you can create more as necessary)

Generate Key ExampleGenerate Key Example

📘

See the API Reference for information on available endpoints and usage.