# WeChat Channels User Collections API

> Returns the video collections displayed on a creator homepage by username. Includes collection metadata and identifiers used to look up collection videos.

Source: https://www.sandbase.ai/apis/wechat-channels/v2/user-collections
API reference: https://www.sandbase.ai/apis/wechat-channels/v2/user-collections/docs

## Facts

- Provider: WeChat Channels
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/wechat-channels/v2/user-collections`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, wechat channels
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/wechat-channels/v2/user-collections` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `username` | string | yes |  |
| `raw` | boolean | no |  |

## FAQ

### How do I use the WeChat Channels User Collections API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-channels/v2/user-collections with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the WeChat Channels User Collections API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the WeChat Channels User Collections API accept?

Required: username (string). Optional: raw (boolean). The Parameters table and the Playground on this page list every field.

### What does the WeChat Channels User Collections API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a WeChat Channels developer account or API key?

No. WeChat Channels User Collections runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for WeChat Channels API access separately.

## README

### WeChat Channels User Collections API

Retrieve all collections on a WeChat Channels creator profile using `username`. Provide `raw` to choose between raw and parsed response structures.

#### Use cases

- Browse the video collections organized by a WeChat Channels creator.
- Extract collection identifiers for subsequent video listing queries.
- Audit playlist categorization across creator channel homepages.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/user-collections" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "<username>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `username` | string | Yes | WeChat Channels finder username (`v2_…@finder` format). |
| `raw` | boolean | No | Optional, default True. |

#### Notes

- The `username` parameter requires the finder username format ending in `@finder`.
- Set `raw` to false for a simplified parsed structure instead of the default raw response.

#### Related APIs

- [WeChat Channels ID to Username](/model/wechat-channels/v2/channel-id-to-username): Convert a public WeChat Channels Channel ID (sph… short ID) into the finder username (v2_…@finder) required by the other WeChat Channels APIs.
- [WeChat Channels Account Info](/model/wechat-channels/v2/channel-info): Get the public "More info" panel of a WeChat Channels account: Channel ID, IP and profile location, and verification details such as entity type, service categ…
- [WeChat Channels Collection Videos](/model/wechat-channels/v2/collection-videos): Returns videos contained within a WeChat Channels collection using a collection ID.
