Skip to content
Last updated

This guide will help you use the Indexer API with Postman.

Step 1: Open Postman

Launch the Postman application on your computer.

Step 2: Select the GraphQL Endpoint

In Postman, choose the GraphQL request type.

Step 3: Choose the Environment URL

Select the environment you want to connect to and use the corresponding API endpoint:

NetworkAPI Endpoint
Mainnethttps://api.mainnet.kadindexer.io/v1
Testnethttps://api.testnet.kadindexer.io/v1

Paste the chosen URL into the request URL field as shown below:

Step 4: Add Your API Key

Use the API key you generated earlier. Create a new header entry in Postman to include it, as shown below:

Step 5: Introspect the Schema

Click Introspect Schema to load all available queries from the GraphQL endpoint.

Step 6: Run Your First Query

You are now ready to send requests. Choose a query and execute it, as shown in the example below:

Once you have introspected the schema, you can explore all the other available queries and build requests interactively.