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

> Browse Chinese group standards by organization, view detailed standard information, and stay updated with the latest industry news and notices. Access comprehensive organization lists and their associated standards to find relevant regulatory and industry guidelines.

**Category:** Government & Public Data | **Website:** [ttbz.org.cn/](https://ttbz.org.cn/) | **Docs:** [parse.bot/marketplace/e418a0f8-4c2f-43c6-92da-d6af5ba139a1/ttbz-org-cn-api](https://parse.bot/marketplace/e418a0f8-4c2f-43c6-92da-d6af5ba139a1/ttbz-org-cn-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/ttbz/`
**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 homepage news

Retrieve news articles and policy announcements from the homepage. Returns a list of news items with titles, IDs, and URLs. These are typically policy documents and standardization activity notices.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-homepage-news \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get news detail

Retrieve full content of a news article or announcement. Content is extracted from the static-rendered page. Publisher may be null for some articles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `news_id` | string | Yes | The unique ID of the news article (news_id from get_homepage_news). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-news-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"news_id":"<string>"}'
```

### Get organization detail

Retrieve detailed information about a specific organization including address, activity region, issuing authority, and host organization. The organization_id comes from get_organizations or get_standards results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `organization_id` | string | Yes | The unique ID of the organization (organUniqueId from get_organizations or get_standards). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-organization-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"organization_id":"<string>"}'
```

### Get organizations

Retrieve a paginated list of social organizations registered on the platform. Returns up to 10 organizations per page with details including legal representative, business scope, and unified social credit code. Total is capped at 100 visible organizations.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number to retrieve. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-organizations \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

### Get standard detail

Retrieve full details of a specific standard including abstract, classification codes, and issuing organization. The standard_id comes from get_standards or get_standards_by_organization results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `standard_id` | string | Yes | The unique ID of the standard (standard_id from get_standards or get_standards_by_organization). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-standard-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"standard_id":"<string>"}'
```

### Get standards

Retrieve a paginated list of currently published (active) group standards across all organizations. Returns up to 10 standards per page, ordered by most recent publication date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number to retrieve. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-standards \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

### Get standards by organization

Retrieve a paginated list of standards published by a specific organization. Returns up to 10 standards per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `organization_id` | string | Yes | The unique ID of the organization (organUniqueId from get_organizations or get_standards results). |
| `page` | integer | No | Page number to retrieve. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ttbz/get-standards-by-organization \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"organization_id":"<string>","page":"<integer>"}'
```

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