A competition
One competition, its editions and how its market behaves.
Livelast 30 days
Archive and upwhole archive
Parameters
The path first, then the querycompetition_ididrequiredA competition, as cp_ followed by six characters.
Try it
Your key, sent from your browser straight to the APIPaste your keyGet a free one in a minute
Run it to see your limits
What comes back
In data, read from a real response| Field | Type | Example |
|---|---|---|
competition_id | id | "cp_2YJ4TA" |
name | string | "European Tour" |
editions | list | 3 items |
When it refuses
Every error code| Status | Code | When |
|---|---|---|
| 401 | no_key | No key, a malformed key, or one that is not ours. |
| 402 | upgrade_required | Your plan does not reach this endpoint. The message names the plan that does. |
| 400 | bad_id | An id of the wrong type in the path. |
| 404 | not_found | No record with that id. |
| 422 | bad_parameter | A parameter is malformed or out of range, named in the message. |
| 429 | rate_limited | Over your rate or allowance. Retry-After says when. |