# ProphetX odds API

ProphetX prices as structured JSON through one REST API.

ProphetX is a betting exchange with the bookmaker key `prophetx`. SockOdds is independent and is not affiliated with or endorsed by ProphetX.

## Leagues

ProphetX prices are delivered for 8 leagues as of 15 October 2026: [English Premier League](https://sockodds.com/leagues/epl-odds-api/), [La Liga](https://sockodds.com/leagues/la-liga-odds-api/), [MLB](https://sockodds.com/leagues/mlb-odds-api/), [NBA](https://sockodds.com/leagues/nba-odds-api/), [College football](https://sockodds.com/leagues/ncaaf-odds-api/), [NFL](https://sockodds.com/leagues/nfl-odds-api/), [NHL](https://sockodds.com/leagues/nhl-odds-api/) and [Serie A](https://sockodds.com/leagues/serie-a-odds-api/).

## Request ProphetX prices

Filter any odds request to ProphetX with `bookmakers=prophetx`:

```bash
curl -sS "https://api.sockodds.com/v1/odds?league=epl&bookmakers=prophetx&markets=result&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=epl&bookmakers=prophetx&markets=result&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=epl&bookmakers=prophetx&markets=result&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_000ckk0x3cvs",
      "name": "AFC Bournemouth v Arsenal",
      "league": {
        "key": "epl",
        "name": "English Premier League"
      },
      "scheduled_start": "2026-10-16T12:00:00.000Z",
      "status": "scheduled",
      "participants": [
        {
          "role": "away",
          "identity": {
            "key": "arsenal",
            "name": "Arsenal"
          }
        },
        {
          "role": "home",
          "identity": {
            "key": "afc_bournemouth",
            "name": "AFC Bournemouth"
          }
        }
      ],
      "markets": [
        {
          "id": "mk_bwmshwahz240sdgp",
          "key": "result",
          "name": "Result (with the draw)",
          "period": "full",
          "subject": null,
          "alternate": false,
          "outcomes": [
            {
              "id": "oc_qh427z1g4z99rmg6",
              "name": "AFC Bournemouth",
              "side": "home",
              "line": null,
              "prices": [
                {
                  "bookmaker": "prophetx",
                  "decimal_odds": 2.15,
                  "implied_probability": 0.465116,
                  "available": true,
                  "observed_at": "2026-10-15T07:58:00.000Z"
                }
              ]
            },
            {
              "id": "oc_gxvpyf3k4m51r0nc",
              "name": "Draw",
              "side": "draw",
              "line": null,
              "prices": [
                {
                  "bookmaker": "prophetx",
                  "decimal_odds": 3.57,
                  "implied_probability": 0.280112,
                  "available": true,
                  "observed_at": "2026-10-15T07:58:00.000Z"
                }
              ]
            },
            {
              "id": "oc_580dzdfmktsk1dqx",
              "name": "Arsenal",
              "side": "away",
              "line": null,
              "prices": [
                {
                  "bookmaker": "prophetx",
                  "decimal_odds": 3.78,
                  "implied_probability": 0.26455,
                  "available": true,
                  "observed_at": "2026-10-15T07:58:00.000Z"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "meta": {
    "count": 1,
    "cursor": null
  },
  "links": {
    "next": null
  }
}
```

## Plans

ProphetX 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/)
