# Weibo Recommended Homepage Feed API

> Returns recommended timeline posts from the Weibo homepage feed. Supports filtering by group ID or container ID, custom feed counts, refresh types, and cursor-based pagination.

Source: https://www.sandbase.ai/model/weibo/web-v2/user-recommend-timeline
API reference: https://www.sandbase.ai/model/weibo/web-v2/user-recommend-timeline/docs

## Facts

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

## Call it

`POST https://api.sandbase.ai/v1/api/weibo/web-v2/user-recommend-timeline` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `containerid` | string | no |  |
| `count` | integer | no |  |
| `extparam` | string | no |  |
| `group_id` | string | no |  |
| `max_id` | string | no |  |
| `refresh` | integer | no |  |

## FAQ

### How do I use the Weibo Recommended Homepage Feed API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/user-recommend-timeline 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 Weibo Recommended Homepage Feed 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 Weibo Recommended Homepage Feed API accept?

No parameters are required. Optional: containerid (string), count (integer), extparam (string), group_id (string), max_id (string) and refresh (integer). The Parameters table and the Playground on this page list every field.

### What does the Weibo Recommended Homepage Feed API return?

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

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

No. Weibo Recommended Homepage Feed 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 Weibo API access separately.

## README

### Weibo Recommended Homepage Feed API

Retrieve personalized recommended feed posts from the Weibo homepage. Use `max_id` for pagination, `count` to specify batch size, and `group_id` or `containerid` to target specific groups.

#### Use cases

- Display personalized Weibo homepage posts in external reader applications.
- Analyze trending and recommended status items across feed streams.
- Monitor engagement metrics including comment and attitude counts on suggested posts.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-recommend-timeline" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `count` | integer | No | Count (default 10, suggested 5-20) |
| `max_id` | string | No | Pagination cursor, pass "0" for first request |
| `refresh` | integer | No | Refresh type (0=normal refresh, 1=force refresh) |
| `extparam` | string | No | Extended parameters (default "discover/new_feed") |
| `group_id` | string | No | Group ID (can be obtained through fetch_all_groups) |
| `containerid` | string | No | Container ID (usually same as group_id) |

#### Notes

- Pass `0` to `max_id` on the initial request for pagination.
- Set `refresh` to `0` for normal refresh or `1` for force refresh.
- Obtain `group_id` values via fetch_all_groups, noting that `containerid` is usually identical.

#### Related APIs

- [Weibo Advanced Search](/model/weibo/web-v2/advanced-search): Search Weibo posts by keyword with filters for time range, post type (hot, original, verified, media) and content type (images, video, links).
- [Weibo AI Related Search Content](/model/weibo/web-v2/ai-related-search): Returns AI-generated content extensions for a keyword, including related questions, recommended bloggers, and reference posts.
- [Weibo AI Search](/model/weibo/web-v2/ai-search): Returns multimodal search results and relevance scores from Weibo intelligent search for a specified keyword or topic query.
