# Bk8 Plus — 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.

> Retrieve blog posts, pages, and categories from BK8 Plus to access sports betting and online casino content and information. Fetch individual posts and pages, browse available categories, and organize content for your application or service.

**Category:** Sports | **Website:** [bk8-plus.com/](https://bk8-plus.com/) | **Docs:** [parse.bot/marketplace/08828097-0d9e-4129-af11-5ba7f359aceb/bk8-plus-com-api](https://parse.bot/marketplace/08828097-0d9e-4129-af11-5ba7f359aceb/bk8-plus-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-bk8-plus-com-api-08828097/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_page

Retrieve the full content of a static page by its URL slug. Pages represent the site's structural content (Online Casino, Sports Betting, Esports, FAQ, etc.).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | URL slug of the page (e.g. 'online-casino', 'faq', 'sports-betting', 'esports-betting'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bk8-plus-com-api-08828097/get_page \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_post

Retrieve the full content of a single blog post by its URL slug. Returns rendered HTML content, metadata, and category associations.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | URL slug of the post (e.g. 'france-vs-england-world-cup-betting-preview'). Obtain from list_posts results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bk8-plus-com-api-08828097/get_post \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### list_categories

Retrieve all blog categories including their hierarchy (parent/child relationships), post counts, and descriptions. Use category IDs to filter posts in list_posts.

**Estimated cost:** Metered

_No parameters required._

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

### list_posts

Retrieve blog posts with optional category filtering. Results are paginated; each post includes title, excerpt, date, slug, and category IDs. Use a category ID from list_categories to filter by topic.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Category ID to filter posts. Obtain IDs from list_categories endpoint. |
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of posts per page (1-100). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bk8-plus-com-api-08828097/list_posts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>","per_page":"<integer>"}'
```
