Skip to main content

Apollo Studio Sandbox

The easiest way to explore the Novig GraphQL API is through Apollo Studio Sandbox, a powerful and free GraphQL IDE.

Open Playground

Launch Apollo Studio Sandbox

Connecting to Novig

1

Open Apollo Sandbox

2

Set the Endpoint

Enter the Novig GraphQL URL in the connection settings: https://gql.novig.us/v1/graphql
3

Fetch Schema

Apollo will automatically introspect and load the API schema
4

Run Your First Query

Try a simple query to get started (example below)

Your First Query

Paste this query into the Apollo Sandbox editor and click Run:
query TestQuery {
    event(where: { _and: [{ _or: [{ status: { _eq: "OPEN_PREGAME" } }, { status: { _eq: "OPEN_INGAME" } }]}, { game: { league: { _eq: "MLB" } } }]}) {
        description
        id
        game {
            scheduled_start
        }
        markets {
            description
            outcomes(where: { _or: [{last: { _is_null: false }}, {available: { _is_null: false }}] }) {
                description
                last
                available
            }
        }
    }
  }
Remember: No authentication is required. You can start querying immediately!

Using cURL

You can also query the GraphQL API directly from the command line:
curl -X POST https://gql.novig.us/v1/graphql \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query { market(id: \"123e4567-e89b-12d3-a456-426614174001\") { id description type } }"
  }'