Overview

The Injective Indexer provides a comprehensive gRPC-Web API for accessing spot exchange, derivative exchange, oracle, portfolio, and transaction data.

Base URL

  • Gateway: http://localhost:8088 (recommended)
  • Direct: http://localhost:50053

Protocol

All endpoints use the gRPC-Web protocol with JSON encoding.
  • Content-Type: application/grpc-web+json
  • Request Method: POST
  • URL Format: /{package}.{Service}/{Method}

Services

The API is organized into the following services:
  1. Spot Exchange API - Spot market data, orders, trades, and orderbooks
  2. Derivative Exchange API - Derivative markets, positions, funding, and trades
  3. Oracle API - Oracle price data
  4. Portfolio API - Account portfolio and token holder information
  5. Transaction API - Transaction preparation and broadcasting

Authentication

Currently, the API does not require authentication. All endpoints are publicly accessible.

Error Handling

All endpoints return standard gRPC error codes and messages in case of errors.

Rate Limiting

Rate limiting may be applied. Please refer to the service documentation for specific limits.

Examples

All API endpoints support JSON request and response formats. See individual endpoint documentation for request/response examples.