GraphQL API
One endpoint, every public table, nested to the relations you ask for — a game, its player stat lines, and each player's profile in a single request. Root fields take the same filters as the REST endpoints (including the __gte-style operators), and billing is identical: a request is metered by the rows it resolves, nested lists included. The running total comes back on every response as x-graphql-rows-resolved.
curl -sS --compressed https://api.stat-api.com/api/v1/graphql \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ nfl { teams(first: 3) { abbreviation full_name } } }"}'Browse every type, relation, and argument in the GraphQL reference (or the Docs panel inside the IDE below), or fetch the schema itself: GET /api/v1/graphql/sdl with your key returns the self-documenting SDL. The trial key only covers the REST examples — paste your own key above (the free tier works) to run GraphQL queries.
loading GraphiQL…