Opono
Skip to content
Documentation menu Authentication ▾

Get started

Authentication

Copy as Markdown

Send your API key in the Authorization header on every request.

bash
curl 'https://api.opono.com/v1/fixtures' \
  --header "Authorization: Bearer $OPONO_API_KEY"

Create a key

Create and revoke keys in Developers with an active Plus or Pro plan.

Free has no API access.

Key prefixOutputCost
sk_test_Synthetic simulation; fixtures return an empty list.Zero credits.
sk_live_Real pre-match simulation.Exactly draws / 1,000 credits per delivered simulation.

Set permissions

ScopeAccess
data.readRead fixtures, free squads, and Opono Expected Lineup (one credit for both sides).
simulations.runSubmit, quote, and batch simulations; collect jobs.
usage.readRead credits and usage.

Store and rotate keys

  1. Store your key in a server environment variable such as OPONO_API_KEY.
  2. Keep it out of browser code, URLs, logs, and public repositories.
  3. If a key leaks, revoke it, create a replacement, and update your server.

See Errors for 401 authentication failures and 403 permission failures.