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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/thekrew/`
**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 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/credits/thekrew/get-blog-post \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/thekrew/get-faq \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/thekrew/get-page \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/thekrew/list-blog-posts \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/thekrew/list-case-studies \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/thekrew/list-pages \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

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