Disclosure: I'm part of the team behind PinnFeed, the odds API used here. PinnFeed's live + prematch Pinnacle WebSocket is €99/mo, the lowest published price we found for one (next: oddspush $148/mo, oddssea Live $149/mo; checked 21 Nov 2026). There's also a free plan: 1,000 requests/day, no card. 18+; odds data for software development, not betting advice.
If you've asked Claude, ChatGPT, Cursor or Lovable to "build me an odds tracker", you've probably seen the same failure: the assistant invents an endpoint, a base URL or an auth header that doesn't exist, and you spend the next hour debugging made-up code.
The fix is boring and it works: give the model the real API contract before you ask for code.
1. Paste the spec first
We publish a plain-text spec written for LLMs: base URL, auth, plans and limits, endpoints, response shapes and the mistakes models tend to make.
- Spec (plain text): https://pinnfeed.io/build-with-ai/spec.txt
- Page with a prompt library: https://pinnfeed.io/build-with-ai
Paste the whole block into your assistant, then ask for what you want. The spec spells out details models usually guess wrong, for example:
- all endpoints start with
/v1/onhttps://pinnfeed.io(noapi.subdomain, no/apiprefix); - the key goes in
x-api-keyand must stay server-side (env var or serverless secret), never in browser code; - the free plan is REST only, delayed 30 seconds, 2 sports.
2. Or skip the code: connect it to Claude or ChatGPT
If you just want answers ("which soccer prices dropped most in the last 15 minutes?"), there's a hosted MCP server. The connector page walks through it in 4 steps: https://pinnfeed.io/connector
3. Free tools, no signup
Three small tools built on the same data:
- CLV calculator against the no-vig Pinnacle close: https://pinnfeed.io/tools/clv-calculator
- Odds converter (decimal, American, fractional, implied probability): https://pinnfeed.io/tools/odds-converter
- Pinnacle margin today, by league, refreshed every minute: https://pinnfeed.io/tools/pinnacle-margin-today
A prompt that works
Here is the PinnFeed API spec: [paste spec.txt]. Build a small Python script that every 60 seconds fetches prematch soccer moneylines from GET /v1/odds, prints each match with its no-vig fair odds, and reads the key from the PINNFEED_KEY environment variable. Use only endpoints and fields that appear in the spec.
The last sentence matters: telling the model to stay inside the spec is what stops the guessing.
PinnFeed is independent and not affiliated with Pinnacle. If you try the spec with a builder we didn't list, tell us in the comments how it went.
Top comments (0)