DocumentationStart
Authentication
One key per account, made when you sign up. Send it in a header on every call, in either of two ways.
X-API-Key
curl "https://api.harnessracingapi.com/v1/usage" \ -H "X-API-Key: YOUR_KEY"
Authorization: Bearer
curl "https://api.harnessracingapi.com/v1/usage" \ -H "Authorization: Bearer YOUR_KEY"
Never in the address
A key sent as ?key= is refused with a 400 bad_request, so keys never land in anyone's logs.
Your plan follows your account
The key reads your account's plan on every call, so an upgrade works on your very next call, with the same key.
Rotating
Rotate it from your account. The new key is filled in on these pages for you.
No key yet? Get a free key and it is filled in here for you.