Developer Hub
🔮 For applications
API
Graph API
Overview

The Graph API

Azuro Protocol uses The Graph service to index and organize data from its smart contracts, making it efficient and intuitive to query blockchain data.

Overview

The Graph API is a critical component of the Azuro Protocol ecosystem, providing access to historical data, bet information, game details, and current odds. In V3, Azuro uses multiple subgraphs to organize different types of data:

  1. Client Subgraphs - For bet history and transaction-related data
  2. Data-Feed Subgraphs - For current odds, game information, and condition states
⚠️

IMPORTANT: All feed data (games, conditions, outcomes with current odds) should now be fetched exclusively from the data-feed graph. The client API graph should only be used for bet history and other transaction-related data. Never query the API graph for feed data as it no longer contains this information.

Client Subgraphs

Client subgraphs contain bet history and transaction-related data. In V3, they include new V3_* entities that unify prematch and live bets.

Development Endpoints

Production Endpoints

Data-Feed Subgraphs

Data-feed subgraphs contain current odds, game information, and condition states. In V3, all feed data has been moved to these subgraphs.

Development Endpoints

Production Endpoints