Skip to main content
This section provides a unified overview of the REST and WebSocket interfaces exposed by the Shrine platform.

Overview

The Shrine API consists of two services:
  • Indexer Lookup API
    Provides fast metadata lookup for token mints and pools.
  • Realtime Gateway
    Exposes market data (OHLCV) over REST and streams live updates over WebSockets.
Both REST endpoints and WebSocket events are defined in the OpenAPI specification included in this documentation.

API Specification

View the OpenAPI specification

Authentication

All protected endpoints use Bearer token authentication.
Clients should include the token in the Authorization header:
Authorization: Bearer <token>
"security": [
  {
    "bearerAuth": []
  }
]