# Luxy — 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 technical articles from the luxy.ink blog with full content retrieval by article ID, or browse through posts using pagination, category filters, and search functionality. Discover in-depth technical insights from 小橘子大叔's blog collection on demand.

**Category:** News & Media | **Website:** [luxy.ink/](https://luxy.ink/) | **Docs:** [parse.bot/marketplace/55a83548-2764-4f50-a07b-ab97dee20f00/luxy-ink-api](https://parse.bot/marketplace/55a83548-2764-4f50-a07b-ab97dee20f00/luxy-ink-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-luxy-ink-api-55a83548/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_article

Get the full content of a single article by its numeric post ID. Returns the complete HTML content, title, metadata, and category/tag associations. The post_id can be obtained from the list_articles endpoint.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `post_id` | string | Yes | Numeric post ID (e.g. 1101). Obtain from list_articles results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-luxy-ink-api-55a83548/get_article \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id":"<string>"}'
```

### list_articles

List blog articles with pagination. Supports filtering by category ID and full-text search. Returns article summaries (excerpts) without full content; use get_article with a returned id for full content. Results are ordered by publication date descending.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Filter by category ID. Known categories include: 6 (docker), 7 (Linux), 8 (nginx), 14 (生活), 15 (Kubernetes), 23 (Prometheus). Omit to return all categories. |
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of articles per page (1-100). |
| `search` | string | No | Full-text search query. Omit to return all articles. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-luxy-ink-api-55a83548/list_articles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>","per_page":"<integer>","search":"<string>"}'
```
