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

> Monitor live betting leaderboards and casino tournament standings on Shuffle.com to track top performers, prize winners, and real-time wager activity. Stay informed about weekly races and active tournaments with up-to-date scores and rankings.

**Category:** Entertainment | **Website:** [shuffle.com/](https://shuffle.com/) | **Docs:** [parse.bot/marketplace/66685e2e-8968-4765-be0c-3b715c6d045c/shuffle-com-api](https://parse.bot/marketplace/66685e2e-8968-4765-be0c-3b715c6d045c/shuffle-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-shuffle-com-api-66685e2e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_active_tournaments

Returns currently active casino tournaments with their top scores (big wins). Each tournament includes metadata (name, prize pool, dates, minimum bet) and a ranked list of top scorers showing their prize amount in USD, score, and username. Tournaments are time-bound competitions where players compete for prize pools. Returns all currently active tournaments.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shuffle-com-api-66685e2e/get_active_tournaments \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_race_leaderboard

Returns the current weekly race leaderboard showing top bettors ranked by total USD wagered, along with race metadata (prize pool, dates) and total participant count. The race resets weekly. Each leaderboard entry shows the user's rank, username (if public), VIP level, and total wagered amount in USD. Private users appear with null username/vip_level. Returns up to ~31 top entries as determined by the platform.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shuffle-com-api-66685e2e/get_race_leaderboard \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
