Events & Odds

Find our events from an id someone else assigned: a sportsbook's own event id, ESPN's, or MLB's gamePk. Returns the same crosswalk as /sports/{sport}/ids plus the score and status, for any date. Free tier.

Or by names: sport + home + away + kickoff finds the event whose two teams those are (either order) within window_hours of kickoff.

get/v1/ids/lookup

Request

  • Base URL
    https://api.prop-line.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header X-API-Key
    • or API key in query parameter apiKey

Query parameters

bookstring nullable

Book key whose id you hold, e.g. pinnacle, draftkings, kalshi.

book_event_idstring nullable

That book's own event id(s), comma-separated (max 50).

espn_event_idstring nullable

ESPN event id(s), comma-separated.

mlb_game_pkstring nullable

MLB gamePk(s), comma-separated.

sportstring nullable

Sport key, for a lookup by team names.

homestring nullable

One team's name (either side), with away + kickoff.

awaystring nullable

The other team's name.

kickoffstring date-time nullable

Kickoff, ISO 8601 (UTC if no offset).

window_hoursnumber

How far from kickoff to look, in hours (default 6, max 72).

Response

Successful Response

unknown required

Changes

    • info

      added the new optional query request parameter away

    • info

      added the new optional query request parameter home

    • info

      added the new optional query request parameter kickoff

    • info

      added the new optional query request parameter sport

    • info

      added the new optional query request parameter window_hours

    • info

      endpoint added