# Nike EYBL Scholastic — 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.

> Access comprehensive Nike EYBL Scholastic basketball league data including teams, player bios, schedules, standings, and detailed game box scores. Track team rosters, player statistics, and season performance across the entire league in one place.

**Category:** Sports | **Website:** [nikeeyblscholastic.com/](https://nikeeyblscholastic.com/) | **Docs:** [parse.bot/marketplace/067a1920-8447-45a9-ac19-8fcf1d1a9aae/nikeeyblscholastic-com-api](https://parse.bot/marketplace/067a1920-8447-45a9-ac19-8fcf1d1a9aae/nikeeyblscholastic-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-nikeeyblscholastic-com-api-067a1920/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_teams

Returns all teams in the EYBL Scholastic league. Each team includes its slug (used as identifier in other endpoints), mascot, location, logo URL, and statcrew team ID. The full list is returned in a single response with no pagination.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_all_teams \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_box_score

Returns detailed box score for a specific game including player statistics (points, rebounds, assists, etc.) and score by period. The game_id is the encoded 'id' query parameter value from box_score_url in get_full_schedule results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `game_id` | string | Yes | The encoded game ID from the box_score_url field in get_full_schedule results (the 'id' query parameter value) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_box_score \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"game_id":"<string>"}'
```

### get_full_schedule

Returns the complete league schedule and results for a date range. Defaults to the current season (November through May). Each game includes teams, date/time, location, status (O=completed, P=pending), result with scores, and a box_score_url whose 'id' query parameter can be passed to get_box_score.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_date` | string | No | End date in MM/DD/YYYY format. Defaults to May 1 of the current season. |
| `start_date` | string | No | Start date in MM/DD/YYYY format. Defaults to November 1 of the current season. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_full_schedule \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"<string>","start_date":"<string>"}'
```

### get_player_bio

Returns detailed bio information for a single player including their full name, jersey number, position, hometown, headshot image URL, and stats summary when available. Requires team_slug, player_name_slug (from the bio_url path), and player_id (from get_team_roster).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `player_id` | string | Yes | The numeric player ID from get_team_roster |
| `player_name_slug` | string | Yes | The player name slug extracted from bio_url in get_team_roster (e.g. 'joe-philon', 'dhani-miller') |
| `team_slug` | string | Yes | The team slug from get_all_teams |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_player_bio \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"player_id":"<string>","player_name_slug":"<string>","team_slug":"<string>"}'
```

### get_standings

Returns the current league standings table with team records and winning percentages. Teams are grouped by division (when applicable). Includes overall record, conference record, conference winning percentage, and current streak.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_standings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_team_roster

Returns the full roster for a specific team and season. Each player entry includes name, jersey number, position (when available), hometown, headshot image URL, full bio URL, and player_id. The player_id and name slug from bio_url are needed to call get_player_bio.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `season` | string | No | The season identifier in YYYY-YY format |
| `team_slug` | string | Yes | The team slug identifier from get_all_teams (e.g. 'az-compass', 'brewster', 'montverde') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_team_roster \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"season":"<string>","team_slug":"<string>"}'
```

### get_team_stats

Returns team-level statistics for a given season, organized by stat category (Offense, Scoring Margin, Scoring Defense, etc.). Each category contains ranked team rows with relevant statistical columns.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `year` | string | No | The year/season identifier |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nikeeyblscholastic-com-api-067a1920/get_team_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"year":"<string>"}'
```
