# Laliganacional — 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 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_league_fixture \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_league_player_stats_leaders \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_league_standings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_liga_argentina_teams \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_match_box_score \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_match_play_by_play \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_match_top_performers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_fixture \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_leaders \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_player_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_roster \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_stats_aggregate \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-laliganacional-com-ar-api-08de37eb/get_team_stats_per_game \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"club_id":"<string>","slug":"<string>","team_id":"<string>"}'
```
