# Weibo Comprehensive Search API

> Returns comprehensive search results from Weibo for a specified keyword. Supports pagination and filtering by search type.

Source: https://www.sandbase.ai/model/weibo/app/search-all
API reference: https://www.sandbase.ai/model/weibo/app/search-all/docs

## Facts

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

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

## FAQ

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

Send a POST request to https://api.sandbase.ai/v1/api/weibo/app/search-all 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 Comprehensive 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 Comprehensive Search API accept?

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

### What does the Weibo Comprehensive 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 Comprehensive 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 Comprehensive Search API

Query comprehensive Weibo search results by providing a search keyword in `query`. Filter results by `search_type` and paginate through `page`.

#### Use cases

- Retrieve general search results matching a keyword on Weibo.
- Filter platform search results by specified search types.
- Paginate across search listings for topic research.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/search-all" \
  -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, starts from 1 (default 1) |
| `search_type` | integer | No | Search type |

#### Example response

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

```json
{
  "dsl": {
    "xml": [
      {
        "name": "cardCoupon.xml"
      }
    ]
  }
}
```

#### Notes

- `page` starts from 1 with a default value of 1.
- `query` is required to specify the search keyword.

#### Related APIs

- [Weibo App AI Smart Search](/model/weibo/app/ai-smart-search): Returns AI smart search channel results and feed metadata from Weibo for a specified keyword query, with optional page-based pagination.
- [Weibo Home Recommend Feed](/model/weibo/app/home-recommend-feed): Returns recommended feed items from the Weibo app homepage, with options to paginate and specify the number of items per request.
- [Weibo Hot Search Rankings](/model/weibo/app/hot-search): Returns current Weibo hot search rankings across various categories.
