# Feng Sui Tang — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 articles, products, and Taoist calendar information from Feng Sui Tang, a Hong Kong-based Taoist cultural organization. Browse their collection of cultural content and check the Taoist calendar for dates and auspicious timing.

**Category:** Other | **Website:** [fengsuitang.com/](https://fengsuitang.com/) | **Docs:** [parse.bot/marketplace/c9fdd56f-0d00-44ea-972f-376ac6042c6d/fengsuitang-com-api](https://parse.bot/marketplace/c9fdd56f-0d00-44ea-972f-376ac6042c6d/fengsuitang-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/feng-sui-tang/`
**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 article

Get full article detail by ID, including the complete HTML content body. Article IDs are returned by list_articles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `article_id` | string | Yes | Numeric article ID from list_articles results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/feng-sui-tang/get-article \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"article_id":"<string>"}'
```

### Get taoist calendar

Get Taoist calendar data for a date range, including lunar dates, Heavenly Stems and Earthly Branches (干支), auspicious/inauspicious activities, Taoist festivals, and zodiac information. Maximum recommended range is about 40 days.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_date` | string | Yes | End date in ISO format YYYY-MM-DD. |
| `start_date` | string | Yes | Start date in ISO format YYYY-MM-DD. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/feng-sui-tang/get-taoist-calendar \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"<string>","start_date":"<string>"}'
```

### List articles

List articles from the Feng Sui Tang discussion forum with pagination, sorting, and search. Returns article summaries with metadata. One API call per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `page_size` | integer | No | Number of articles per page (1-50). |
| `search` | string | No | Search query to filter articles by title, tags, or author name. Empty string returns all. |
| `sort` | string | No | Sort order for articles. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/feng-sui-tang/list-articles \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","page_size":"<integer>","search":"<string>","sort":"<string>"}'
```

### List products

List available cultural and religious products (bracelets, ritual items, prayer services) with pagination. Returns active products with SKU details and pricing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `page_size` | integer | No | Number of products per page (1-50). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/feng-sui-tang/list-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","page_size":"<integer>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.