Skip to main content
Every /v1 request requires:
Authorization: Bearer oqp_<64-hex-chars>
See the Authentication guide for how to generate keys, what the scope model is, and how to rotate.

Scopes

ScopeGrants
deals:readGET /v1/deals
deals:writePOST /v1/deals/events
earnings:readGET /v1/earnings, GET /v1/earnings/{id}
plans:readGET /v1/plans, GET /v1/plans/{id}

Debug endpoint

If a call is failing and you’re unsure whether the key is wrong, the scope is missing, or something else, hit the debug endpoint:
curl https://api.openquota.ai/v1/ \
  -H "Authorization: Bearer $OQ_KEY"
It returns your key’s prefix, scopes, and the endpoint list in one payload.