Skip to content

pinc000/pinnacle-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinnacle API

Real-time sports betting markets over clean, typed JSON: live events, full market depth, and the latest bindable prices — grouped into a small, predictable set of endpoints. The surface mirrors the well-known Pinnacle line API, so if you have integrated against it before, the request and response shapes will feel familiar.

Authentication

Every request must be authenticated with HTTP Basic credentials — the username and password issued to you by pinc000. Send them on every call using the standard header:

Authorization: Basic <base64(username:password)>

Most HTTP clients build this header for you when you supply a username and password. Requests without valid credentials receive 401 Unauthorized.

If you need credentials, or believe yours have been compromised, contact pinc000 to have them issued or rotated.

Quick start

Fetch live odds for a sport (soccer is 29):

curl -s https://api.pinc000.com/v4/odds \
  -u "$PINC000_USERNAME:$PINC000_PASSWORD" \
  --get \
  --data-urlencode "sportId=29"

List the events and leagues on offer for the same sport:

curl -s https://api.pinc000.com/v3/fixtures \
  -u "$PINC000_USERNAME:$PINC000_PASSWORD" \
  --get \
  --data-urlencode "sportId=29"

Polling model

The odds and fixtures endpoints use a long-poll delta model. Each response carries a last version cursor; pass it back as ?since=<last> on the next call and you receive only what has changed. When nothing has advanced, the list comes back empty — that is the idle response, not an error.

Endpoints

Method Path Description
GET /v4/odds Live spreads, totals and moneylines for a sport.
GET /v3/fixtures The events and leagues on offer for a sport.
GET /v2/inrunning Live game state (period and elapsed clock) for started events.
GET /v1/client/balance Your funded-account balance.
GET /sports List available sports.
GET /sports/{sport}/events Browse a sport's live events with their main markets.
GET /events/{event_id}/more-bets Expand the full market set for one event.
POST /events/{event_id}/price Fetch the latest bindable price for a single selection.

See the interactive documentation for full request parameters, response schemas, and a built-in Authorize button to try the endpoints directly from your browser.

Support

For credentials, rate limits, or integration questions, contact pinc000.

About

pinc000 Pinnacle API — documentation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors