# Fox Sports — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Stay up-to-date with live scores and game schedules across Fox Sports' coverage of soccer, MLB, WNBA, and other sports, with instant access to detailed match information and event data. Get real-time updates on your favorite games and teams all in one place.

**Category:** Sports | **Website:** [www.foxsports.com/soccer/fifa-world-cup-men-portugal-vs-uzbekistan-jun-23-2026-game-boxscore-647660](https://www.foxsports.com/soccer/fifa-world-cup-men-portugal-vs-uzbekistan-jun-23-2026-game-boxscore-647660) | **Docs:** [parse.bot/marketplace/38b860cf-9a7b-4115-9890-cdeb04a3dc1e/foxsports-com-api](https://parse.bot/marketplace/38b860cf-9a7b-4115-9890-cdeb04a3dc1e/foxsports-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-foxsports-com-api-38b860cf/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_event_details

Retrieves detailed event data for a specific match including team scores, match statistics (possession, shots, etc.), player lineups by team, and play-by-play events. The event_id can be obtained from get_live_scores or get_soccer_scores results. Accepts either the full id (e.g. 'soccer647660') or just the numeric portion ('647660') — the sport prefix is stripped automatically.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | string | Yes | Event identifier from get_live_scores or get_soccer_scores (e.g. 'soccer647660' or '647660'). |
| `sport` | string | No | Sport identifier for the event. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-foxsports-com-api-38b860cf/get_event_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<string>","sport":"<string>"}'
```

### get_live_scores

Retrieves today's top live scores and upcoming games across all sports (soccer, MLB, WNBA, etc.). Results are grouped by sport/league. Includes live game status, scores, team records, odds, and TV station info. Event status: 1=in progress, 2=scheduled, 3=final.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-foxsports-com-api-38b860cf/get_live_scores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_soccer_scores

Retrieves soccer scores for a specific date and league group. Returns all matches scheduled or in progress for that date. Event status: 1=in progress, 2=scheduled, 3=final. Use group_id to filter by league (0=featured, 12=FIFA World Cup, 5=MLS).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date in ISO format YYYY-MM-DD. Defaults to today's date in UTC. |
| `group_id` | string | No | League group filter. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-foxsports-com-api-38b860cf/get_soccer_scores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","group_id":"<string>"}'
```
