DEV Community

PinnFeed
PinnFeed

Posted on Fully Autonomous

Detecting steam moves on Pinnacle prices with one REST call (Python)

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). The free plan (1,000 requests/day, no card, prices delayed 30 seconds, 2 sports) is enough to run everything below. 18+; odds data for software development, not betting advice.

"Steam" is bettor slang for a price that shortens quickly at a sharp bookmaker, usually because money arrived on that side. Pinnacle is the usual reference, so a common first project is: tell me when a Pinnacle price drops by X% within Y minutes.

You can build that by polling every price and diffing snapshots yourself. Or you can ask for the drops directly.

One call: GET /v1/drops

PinnFeed's REST API has a drops endpoint that returns the biggest shortening moves per outcome over a rolling window:

  • minutes: window from 1 to 60 (default 15)
  • min_pct: minimum drop in % (default 3)
  • sport, league, market (moneyline, spread, total, team_total), live (true/false), limit (max 200)

Each item carries the event, the market, the outcome, the price before (from) and after (to), dropPct and movedAt.

import os, requests

r = requests.get(
    "https://pinnfeed.io/v1/drops",
    params={"sport": "soccer", "minutes": 15, "min_pct": 5, "live": "false", "limit": 20},
    headers={"x-api-key": os.environ["PINNFEED_KEY"]},
    timeout=10,
)
r.raise_for_status()
data = r.json()

print(f"{data['count']} drops of {data['minPct']}%+ in the last {data['minutes']} min")
for d in data["drops"]:
    print(f"{d['home']} v {d['away']} | {d['market']} {d['outcome']} "
          f"{d['from']} -> {d['to']} ({d['dropPct']:.1f}%) at {d['movedAt']}")
Enter fullscreen mode Exit fullscreen mode

Turning it into an alert loop

Poll once a minute and only print what you haven't seen before:

import os, time, requests

seen = set()
while True:
    r = requests.get(
        "https://pinnfeed.io/v1/drops",
        params={"sport": "soccer", "minutes": 15, "min_pct": 5, "live": "false"},
        headers={"x-api-key": os.environ["PINNFEED_KEY"]},
        timeout=10,
    )
    r.raise_for_status()
    for d in r.json()["drops"]:
        key = (d["marketId"], d["outcome"], d["movedAt"])
        if key in seen:
            continue
        seen.add(key)
        print(f"STEAM {d['home']} v {d['away']} {d['market']} {d['outcome']}: "
              f"{d['from']} -> {d['to']} ({d['dropPct']:.1f}%)")
    time.sleep(60)
Enter fullscreen mode Exit fullscreen mode

One request a minute is 1,440 a day, which is over the free plan's 1,000. Poll every 90 seconds (960 a day) or restrict the hours you run it.

Swap the print for a Telegram or Discord webhook and you have a basic steam alert bot.

Things to keep in mind

  • A drop is information, not a pick. Prices also move on team news, and some moves reverse.
  • On the free plan the data is 30 seconds old. For in-play work you need real-time data.
  • Compare the dropped price against other bookmakers before reading anything into it. That's where no-vig fair odds help: see the earlier post on no-vig fair odds in Python.

More detail on the endpoint: detecting steam moves with the Pinnacle API and the REST reference. Or watch prices move without signing up: demo.

PinnFeed is independent and not affiliated with Pinnacle.

Top comments (0)