Identity

Find our event from an official event id: ESPN's event id, the AFL's match id (CD_M and digits) for AFLW, or the NRL's match id (digits) for the Rugby League World Cup. Send ref for one event, or refs for up to 100 at once. With ref, the response is the event, or 404 when no event carries that id. With refs, the response lists the ids that matched, in the order sent, each with its event; ids that match nothing are left out. A merged event returns the event it was merged into. Only official sources can be looked up, never a bookmaker's listing id. Each event returned counts as one object towards your allowance, like an event read.

get/events/lookup

Request

  • Base URL: https://api.sockodds.com/v1
  • URL: https://api.sockodds.com/v1/events/lookup
  • Auth: HTTP bearer

Query parameters

source'espn' | 'afl' | 'nrl' required

Who issued the id: espn, afl for AFLW match ids, or nrl for Rugby League World Cup match ids.

refstring

One official event id. Use this or refs, not both.

refsstring

Comma-separated official event ids, at most 100. Use this or ref, not both.

Response

Event lookup

OR

Changes

No recorded changes to this operation across all 1 revision of this API.