The Graph API

Azuro uses multiple subgraphs to index and organize data from its smart contracts, hosted on The Graph service. This makes querying Azuro data efficient and intuitive.

Public endpoints cover various environments and blockchain networks both on the testnet (development endpoints) and in production environments (production). Note that the testing of live betting occurs in the pre-production environment.

Important Links:

  • Subgraph Endpoints and API reference can be found here.
  • Don’t forget to optimize requests and load game data faster in your frontend.
  • There is also an option to enhance performance by creating your own Azuro subgraph since we provide the source code under the GNU GPL v2 license.

Client subgraphs

Development

Production

Data-feed subgraphs

Development

Production

Backend API

Development

Production

Websockets API

This API ensures real-time data streaming, critical for live betting applications. It’s about keeping you updated the moment something happens.

Find out how to use it for live market updates here.

Development

  • wss://dev-streams.onchainfeed.org/v1/streams/feed

Production

  • wss://streams.onchainfeed.org/v1/streams/feed

Freebet API

Freebets get a dedicated API in Azuro where you can find the info about your distributed freebets.