# Context — 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 Context.dev's current pricing plans and product changelog to stay informed about their latest features and service costs. Keep track of updates and pricing changes without manually visiting their website.

**Category:** Developer Tools | **Website:** [context.dev/](https://context.dev/) | **Docs:** [parse.bot/marketplace/d2097f34-d4ce-4e20-aaf0-7a676e923664/context-dev-api](https://parse.bot/marketplace/d2097f34-d4ce-4e20-aaf0-7a676e923664/context-dev-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-context-dev-api-d2097f34/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_changelog

Returns changelog entries from context.dev documentation. Each entry includes a title, date, entry ID, and content summary. Returns up to 'limit' entries from the changelog page, ordered newest first.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of changelog entries to return. Clamped between 1 and 100. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-context-dev-api-d2097f34/get_changelog \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### get_pricing

Returns all current pricing plans from context.dev including Free, Developer, Pro, and Scale tiers with monthly/annual prices, credit allowances, features, and overage costs. Makes one request to the pricing page.

**Estimated cost:** Metered

_No parameters required._

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