# Nwslsoccer — 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.

> Track NWSL match results, news, and advanced statistics including expected goals (xG) data in real time. Get detailed player performance metrics and comprehensive event-level match information to stay informed on the National Women's Soccer League.

**Category:** Sports | **Website:** [nwslsoccer.com/](https://nwslsoccer.com/) | **Docs:** [parse.bot/marketplace/18e72dce-fcb3-438a-a811-23b7f3e55113/nwslsoccer-com-api](https://parse.bot/marketplace/18e72dce-fcb3-438a-a811-23b7f3e55113/nwslsoccer-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/nwslsoccer/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get match details

Extract match event data (goals, cards, substitutions) and expected goals (xG) team statistics for a specific match. Events include type, description, and label. The time and xg fields on individual events may be null.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `match_id` | string | Yes | The unique match identifier (e.g. 'nwsl::Football_Match::15fab6c3d4934435b04ea0ad02308c55'). Obtainable from list_matches results. |
| `season_id` | string | No | The unique season identifier (e.g. 'nwsl::Football_Season::0b6761e4701749f593690c0f338da74c'). Defaults to the current 2026 season if omitted. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/nwslsoccer/get-match-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"match_id":"<string>","season_id":"<string>"}'
```

### Get news

Extract latest news articles from the NWSL website. Returns article titles and URLs. Fields such as description, image_link, and date may be null depending on upstream data availability.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of news articles to retrieve. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/nwslsoccer/get-news \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### Get player stats

Get detailed player statistics for a season, including goals, assists, xG, passing accuracy, tackles, and more. Returns paginated results from the NWSL stats API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of players to retrieve. |
| `season_id` | string | No | The unique season identifier (e.g. 'nwsl::Football_Season::0b6761e4701749f593690c0f338da74c'). Defaults to the current 2026 season if omitted. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/nwslsoccer/get-player-stats \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","season_id":"<string>"}'
```

### List matches

List all matches for a specific NWSL season. Returns competition metadata and an array of match objects with scores, teams, dates, and status. An invalid season_id will result in an upstream error from the API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `season_id` | string | No | The unique season identifier (e.g. 'nwsl::Football_Season::0b6761e4701749f593690c0f338da74c'). Defaults to the current 2026 season if omitted. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/nwslsoccer/list-matches \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"season_id":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.