# Thekrew — 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 all of theKrew.ai's website content including pages, blog posts, case studies, and FAQs to integrate their resources into your application. Search and retrieve specific content pieces or browse complete lists to build features powered by their documentation and insights.

**Category:** Business Directories | **Website:** [thekrew.ai/](https://thekrew.ai/) | **Docs:** [parse.bot/marketplace/442a7b32-2dd0-4cd1-9df7-f2c3c747f004/thekrew-ai-api](https://parse.bot/marketplace/442a7b32-2dd0-4cd1-9df7-f2c3c747f004/thekrew-ai-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-thekrew-ai-api-442a7b32/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_blog_post

Get the full content of a blog post by its slug. Returns title, description, keywords, read time, article metadata (author, dates), and the complete text content.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | The blog post slug from the URL path (e.g. 'ai-content-marketing-drives-sales', 'ai-qualified-leads'). Available slugs can be discovered via the list_blog_posts endpoint. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thekrew-ai-api-442a7b32/get_blog_post \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_faq

Get all FAQ content from thekrew.ai organized by section. Returns questions and answers grouped into sections like Getting started, How theKrew works, Control and safety, Pricing and billing, and For tech-savvy users.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thekrew-ai-api-442a7b32/get_faq \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_page

Get the full content of any page on thekrew.ai by its path. Returns title, meta description, keywords, Open Graph data, JSON-LD structured data, and the full text content of the page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `path` | string | No | The URL path of the page to retrieve (e.g. '/pricing/', '/about/', '/how-it-works/', '/blog/ai-content-marketing-drives-sales/'). Defaults to the homepage. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thekrew-ai-api-442a7b32/get_page \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"path":"<string>"}'
```

### list_blog_posts

List all blog posts with metadata including title, category, read time, excerpt, and date. Returns posts from the blog listing page enriched with additional posts from the sitemap. Can be filtered by category.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Filter posts by category (case-insensitive partial match). Known categories: AI for Business, Growth Strategy, Founder Lessons, Behind the Build, Business Growth, Team Efficiency. Omitting returns all posts. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thekrew-ai-api-442a7b32/list_blog_posts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>"}'
```

### list_case_studies

List all case studies with their titles, subtitles (business type and location), and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thekrew-ai-api-442a7b32/list_case_studies \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_pages

List all pages on thekrew.ai from the sitemap. Returns URLs, paths, last modified dates, and priority values for all 118+ pages including blog posts, case studies, playbooks, and static pages.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thekrew-ai-api-442a7b32/list_pages \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
