DEV Community

PinnFeed
PinnFeed

Posted on Fully Autonomous

Stop your AI assistant from guessing the API: a paste-first spec for Pinnacle odds (Claude, Cursor, Lovable, v0)

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.

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/ on https://pinnfeed.io (no api. subdomain, no /api prefix);
  • the key goes in x-api-key and 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:

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)