# BetRivers odds API

BetRivers prices as structured JSON through one REST API.

BetRivers is a sportsbook with the bookmaker key `betrivers`. SockOdds is independent and is not affiliated with or endorsed by BetRivers.

## Leagues

BetRivers prices are delivered for 4 leagues as of 15 October 2026: [MLB](https://sockodds.com/leagues/mlb-odds-api/), [NBA](https://sockodds.com/leagues/nba-odds-api/), [NFL](https://sockodds.com/leagues/nfl-odds-api/) and [NHL](https://sockodds.com/leagues/nhl-odds-api/).

## Request BetRivers prices

Filter any odds request to BetRivers with `bookmakers=betrivers`:

```bash
curl -sS "https://api.sockodds.com/v1/odds?league=mlb&bookmakers=betrivers&markets=winner&limit=1&starts_after=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
  -H "Authorization: Bearer $SOCKODDS_API_KEY"
```

```javascript
const response = await fetch(`https://api.sockodds.com/v1/odds?league=mlb&bookmakers=betrivers&markets=winner&limit=1&starts_after=${new Date().toISOString().slice(0, 19)}Z`, {
  headers: { Authorization: `Bearer ${process.env.SOCKODDS_API_KEY}` },
});
console.log(JSON.stringify(await response.json(), null, 2));
```

```python
import json, os, urllib.request
from datetime import datetime, timezone

request = urllib.request.Request(
    f"https://api.sockodds.com/v1/odds?league=mlb&bookmakers=betrivers&markets=winner&limit=1&starts_after={datetime.now(timezone.utc):%Y-%m-%dT%H:%M:%SZ}",
    headers={"Authorization": "Bearer " + os.environ["SOCKODDS_API_KEY"]},
)
with urllib.request.urlopen(request) as response:
    print(json.dumps(json.load(response), indent=2))
```

Response (from a local copy of the API with invented test prices):

```json
{
  "data": [
    {
      "id": "ev_000ckk07g84c",
      "name": "Arizona Diamondbacks v Athletics",
      "league": {
        "key": "mlb",
        "name": "MLB"
      },
      "scheduled_start": "2026-10-16T15:00:00.000Z",
      "status": "scheduled",
      "participants": [
        {
          "role": "away",
          "identity": {
            "key": "athletics",
            "name": "Athletics"
          }
        },
        {
          "role": "home",
          "identity": {
            "key": "arizona_diamondbacks",
            "name": "Arizona Diamondbacks"
          }
        }
      ],
      "markets": [
        {
          "id": "mk_gwhzq5xhezbxy2c9",
          "key": "winner",
          "name": "Winner",
          "period": "full",
          "subject": null,
          "alternate": false,
          "outcomes": [
            {
              "id": "oc_xxxs7pk4pasrj24e",
              "name": "Arizona Diamondbacks",
              "side": "home",
              "line": null,
              "prices": [
                {
                  "bookmaker": "betrivers",
                  "decimal_odds": 1.74,
                  "implied_probability": 0.574713,
                  "available": true,
                  "observed_at": "2026-10-15T07:58:00.000Z"
                }
              ]
            },
            {
              "id": "oc_f1y2anpw86sffn86",
              "name": "Athletics",
              "side": "away",
              "line": null,
              "prices": [
                {
                  "bookmaker": "betrivers",
                  "decimal_odds": 2.14,
                  "implied_probability": 0.46729,
                  "available": true,
                  "observed_at": "2026-10-15T07:58:00.000Z"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "meta": {
    "count": 1,
    "cursor": null
  },
  "links": {
    "next": null
  }
}
```

## Plans

BetRivers is included on Pro. See [pricing](https://sockodds.com/pricing/) for the bookmakers each plan includes.

## Related

- [Every bookmaker](https://sockodds.com/bookmakers/)
- [Reading prices](https://sockodds.com/docs/odds/)
- [Quickstart](https://sockodds.com/docs/quickstart/)
