# The Hendon Mob — 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.

> Search for poker players and view their profiles, tournament results, and statistics from The Hendon Mob's comprehensive database. Stay updated on trending players and the latest poker news all in one place.

**Category:** Sports | **Website:** [thehendonmob.com/](https://thehendonmob.com/) | **Docs:** [parse.bot/marketplace/c392a28d-6509-474e-a87f-8751542f1568/thehendonmob-com-api](https://parse.bot/marketplace/c392a28d-6509-474e-a87f-8751542f1568/thehendonmob-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-thehendonmob-com-api-c392a28d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_player_profile

Get detailed player profile including statistics and recent tournament results. Returns earnings, rankings, and the most recent 20 tournament results. Statistics include Total Live Earnings, Best Live Cash, All Time Money List position, and various regional/temporal rankings. Tournament results include date, event name, placement, and prize amount.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `player_id` | string | Yes | Internal player ID (numeric string, obtainable from search_players or get_trending_players results) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thehendonmob-com-api-c392a28d/get_player_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"player_id":"<string>"}'
```

### get_poker_news

Get recent poker news articles from the news page. Returns titles, URLs, authors, dates, and summaries. Articles are ordered most-recent first. Typically returns 10-20 articles from the current news page without pagination.

**Estimated cost:** Metered

_No parameters required._

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

### get_trending_players

Get currently trending players from the homepage. Returns a ranked list of players currently trending on The Hendon Mob. Each player includes their rank, name, ID, and profile URL. The list typically contains 6-10 players and updates frequently based on recent tournament activity.

**Estimated cost:** Metered

_No parameters required._

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

### search_players

Search for players by name. Returns matching player records with their IDs and profile URLs. Partial name matches are supported. Results are not paginated — the endpoint returns all matches from the site's search.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Player name to search for (partial matches supported) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thehendonmob-com-api-c392a28d/search_players \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
