# Weibo Picture Search API

> Returns picture content and associated post details matching a search query on Weibo. Results include image URLs, post text, and user profile information.

Source: https://www.sandbase.ai/model/weibo/web-v2/pic-search
API reference: https://www.sandbase.ai/model/weibo/web-v2/pic-search/docs

## Facts

- Provider: Weibo
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search`
- 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/pic-search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | yes |  |
| `page` | integer | no |  |

## FAQ

### How do I use the Weibo Picture Search API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search 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 Picture Search 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 Picture Search API accept?

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

### What does the Weibo Picture Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

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

No. Weibo Picture Search 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 Picture Search API

Look up Weibo images and associated post metadata based on a specified `query`. Supports pagination through the optional `page` parameter.

#### Use cases

- Search for Weibo images matching specific keywords or brand terms.
- Collect media assets and post text for social sentiment analysis.
- Track visual content shared by users around current events.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | Yes | Search keyword (required) |
| `page` | integer | No | Page number (default 1) |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "pic_list": [
    {
      "forward_id": 0,
      "sub_name": "郑总i",
      "sub_text": "AMD首席执行官苏姿丰表示，当前AI芯片市场需求...",
      "text": "AMD首席执行官苏姿丰表示，当前AI芯片市场需求非常旺盛，就算AMD持续提升产能，市场需求依旧大于供给。并表示公司后续将会持续大幅扩产，加码AI加速芯片、服务器CPU的产能投放。…",
      "url": "//wx3.sinaimg.cn/thumb180/bbd55d63gy1ihswq5iaauj20u00ehjvc.jpg",
      "user": {
        "name": "郑总i",
        "profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.1080.1080.50/bbd55d63ly8i3xfxp27klj20u00u0gp1.jpg?KID=imgbed,…",
        "profile_url": "//weibo.com/zhengbinqiang"
      }
    }
  ]
}
```

#### Notes

- Paginate results using `page`, which defaults to 1.
- The `query` parameter is required.

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