# Xigua User Post List API

> Returns a list of posts from a specific Xigua user account. Supports paginated results using timestamp cursor tokens.

Source: https://www.sandbase.ai/apis/xigua/app-v2/user-post-list
API reference: https://www.sandbase.ai/apis/xigua/app-v2/user-post-list/docs

## Facts

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

## Call it

`POST https://api.sandbase.ai/v1/api/xigua/app-v2/user-post-list` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_id` | string | yes |  |
| `max_behot_time` | string | no |  |

## FAQ

### How do I use the Xigua User Post List API?

Send a POST request to https://api.sandbase.ai/v1/api/xigua/app-v2/user-post-list 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 Xigua User Post List API cost?

$0.0015 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 Xigua User Post List API accept?

Required: user_id (string). Optional: max_behot_time (string). The Parameters table and the Playground on this page list every field.

### What does the Xigua User Post List API return?

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

### Do I need a Xigua developer account or API key?

No. Xigua User Post List 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 Xigua API access separately.

## README

### Xigua User Post List API

Fetch published posts for a specific Xigua user by passing their `user_id`. Supports pagination across multiple pages using the `max_behot_time` parameter.

#### Use cases

- Retrieve the video submission history of a specific Xigua creator.
- Monitor new video uploads from monitored Xigua accounts.
- Aggregate profile content timelines for performance tracking.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xigua/app-v2/user-post-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "<user_id>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_id` | string | Yes | User id |
| `max_behot_time` | string | No | Maximum behavior time, default empty, pass empty for the first request, pass the max_behot_time returned by the previous request for subsequent requests |

#### Notes

- Leave `max_behot_time` empty on the first request, then provide the value returned from the previous call for subsequent pages.

#### Related APIs

- [Xigua Single Video Information](/model/xigua/app-v2/one-video): Returns lightweight single video data and associated related video information from Xigua for a specific post by its unique item ID.
- [Xigua Video Play URL](/model/xigua/app-v2/one-video-play-url): Returns the direct playback URL for a specific Xigua video using its unique item identifier.
- [Xigua Video Search](/model/xigua/app-v2/search-video): Search Xigua Video (ByteDance long-form video) by keyword: titles, creators, duration, publish time and comment counts, with sort and duration filters.
