# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-ttbz-org-cn-api-e418a0f8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-ttbz-org-cn-api-e418a0f8/get_homepage_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ttbz-org-cn-api-e418a0f8/get_news_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ttbz-org-cn-api-e418a0f8/get_organization_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ttbz-org-cn-api-e418a0f8/get_organizations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ttbz-org-cn-api-e418a0f8/get_standard_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ttbz-org-cn-api-e418a0f8/get_standards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ttbz-org-cn-api-e418a0f8/get_standards_by_organization \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"organization_id":"<string>","page":"<integer>"}'
```
