# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/nike-eybl-scholastic/`
**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 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/credits/nike-eybl-scholastic/get-all-teams \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nike-eybl-scholastic/get-box-score \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nike-eybl-scholastic/get-full-schedule \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nike-eybl-scholastic/get-player-bio \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nike-eybl-scholastic/get-standings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nike-eybl-scholastic/get-team-roster \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nike-eybl-scholastic/get-team-stats \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"year":"<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.