# Laliganacional — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 Argentine Liga Nacional basketball in real-time by accessing live match scores, team rosters, player statistics, standings, and detailed game analytics. Get comprehensive league data including team profiles, fixture schedules, box scores, play-by-play breakdowns, and top performer highlights all in one place.

**Category:** Sports | **Website:** [laliganacional.com.ar/](https://laliganacional.com.ar/) | **Docs:** [parse.bot/marketplace/08de37eb-b088-4457-8832-580ceff16f65/laliganacional-com-ar-api](https://parse.bot/marketplace/08de37eb-b088-4457-8832-580ceff16f65/laliganacional-com-ar-api)

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

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/`
**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 league fixture

Get league-wide fixture for a date range. Returns all scheduled matches within the specified dates with teams, scores, venues, and match IDs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_date` | string | Yes | End date in YYYY-MM-DD format. |
| `start_date` | string | Yes | Start date in YYYY-MM-DD format. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-league-fixture \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"<string>","start_date":"<string>"}'
```

### Get league player stats leaders

Get league-wide statistical leaders across multiple categories (points, minutes, valoracion, rebounds, assists, steals, turnovers, blocks per game and total).

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-league-player-stats-leaders \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get league standings

Get league standings by phase. Returns standings tables grouped by conference.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `fase_id` | string | No | Phase identifier for the standings. Known value: '16077' for current regular season. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-league-standings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"fase_id":"<string>"}'
```

### Get liga argentina teams

Get list of all teams in Liga Argentina with their IDs, slugs, and URLs. Returns all teams participating in the current season.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-liga-argentina-teams \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get match box score

Get box score for a specific match. Returns player stats tables for both teams.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `match_id` | string | Yes | Base64-encoded match identifier from fixture or team calendar results. |

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

### Get match play by play

Get chronological play-by-play events for a match. Returns detailed event list with action type, side, player, and running score.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `match_id` | string | Yes | Base64-encoded match identifier from fixture or team calendar results. |

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

### Get match top performers

Get top performers for a match across various statistical categories (valoracion, puntos, rebotes, asistencias, tapones-cometidos, recuperaciones).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `match_id` | string | Yes | Base64-encoded match identifier from fixture or team calendar results. |

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

### Get team fixture

Get team match fixtures and results for the entire season. Returns all matches with match IDs, URLs, and summary text.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results. |
| `slug` | string | Yes | URL slug for the team from get_liga_argentina_teams results. |
| `team_id` | string | Yes | Team identifier from get_liga_argentina_teams results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-team-fixture \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"club_id":"<string>","slug":"<string>","team_id":"<string>"}'
```

### Get team leaders

Get statistical leaders within a team across multiple categories (points, rebounds, assists, blocks, steals, etc.).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results. |
| `slug` | string | Yes | URL slug for the team from get_liga_argentina_teams results. |
| `team_id` | string | Yes | Team identifier from get_liga_argentina_teams results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-team-leaders \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"club_id":"<string>","slug":"<string>","team_id":"<string>"}'
```

### Get team news

Get latest news articles for a specific club. Returns paginated news items with headlines, dates, and article content.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results (e.g. '2168'). |
| `last_id` | integer | No | ID of last news item for pagination. Pass 0 for first page. |
| `limit` | integer | No | Number of news articles to return. |

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

### Get team player stats

Get season statistics for each player on a team. Returns detailed per-player stats including games, minutes, scoring, rebounds, assists, and efficiency.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results. |
| `slug` | string | Yes | URL slug for the team from get_liga_argentina_teams results. |
| `team_id` | string | Yes | Team identifier from get_liga_argentina_teams results. |

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

### Get team profile

Get team profile information including name, logo, and identifiers.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results (e.g. '2168'). |
| `slug` | string | Yes | URL slug for the team from get_liga_argentina_teams results (e.g. 'amancay-lr'). |
| `team_id` | string | Yes | Team identifier from get_liga_argentina_teams results (e.g. '88795'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-team-profile \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"club_id":"<string>","slug":"<string>","team_id":"<string>"}'
```

### Get team roster

Get team roster. This laliganacional.com.ar API operation is available through Parse.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-team-roster \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get team stats aggregate

Get aggregated season statistics for a team including points, shooting percentages, rebounds, blocks, fouls, and team play metrics.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results. |
| `slug` | string | Yes | URL slug for the team from get_liga_argentina_teams results. |
| `team_id` | string | Yes | Team identifier from get_liga_argentina_teams results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-team-stats-aggregate \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"club_id":"<string>","slug":"<string>","team_id":"<string>"}'
```

### Get team stats per game

Get per-game statistics for a team. Returns stats breakdown for each match played in the season.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `club_id` | string | Yes | Club identifier from get_liga_argentina_teams results. |
| `slug` | string | Yes | URL slug for the team from get_liga_argentina_teams results. |
| `team_id` | string | Yes | Team identifier from get_liga_argentina_teams results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/laliganacional/get-team-stats-per-game \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"club_id":"<string>","slug":"<string>","team_id":"<string>"}'
```

## Next steps

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