# Search Weibo posts by keyword and time range

Searches Weibo posts by keyword within a required day-and-hour time range, with page-based pagination, hot or time sorting, and filters for pictures, video, music, or links.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-weibo-search-all-v2` |
| Platform | [Weibo](https://www.orcarouter.ai/tools/weibo.md) |
| Capability | [Search posts](https://www.orcarouter.ai/tools/weibo/search-posts.md) |
| Price | $0.016236 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `endDay` | string | yes | End Day (yyyy-MM-dd). |
| `endHour` | integer | yes | End Hour (0-23). |
| `q` | string | yes | Search Keywords. |
| `startDay` | string | yes | Start Day (yyyy-MM-dd). |
| `startHour` | integer | yes | Start Hour (0-23). |
| `contains` | string | no | Contains filter for the result set. Available Values: - \`ALL\`: All - \`PICTURE\`: Has Picture - \`VIDEO\`: Has Video - \`MUSIC\`: Has Music - \`LINK\`: Has Link One of: ALL, PICTURE, VIDEO, MUSIC, LINK. |
| `hotSort` | boolean | no | Hot sort, true for hot sort, false for time sort. Default is false. |
| `page` | integer | no | Page number, starting with 1. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-weibo-search-all-v2/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"endDay":"<endDay>","endHour":"<endHour>","q":"<q>","startDay":"<startDay>","startHour":"<startHour>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/justoneapi.x-weibo-search-all-v2/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"endDay":"<endDay>","endHour":"<endHour>","q":"<q>","startDay":"<startDay>","startHour":"<startHour>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Weibo AI smart search by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-app-fetch-ai-smart-search.md) | — | $0.0011 per call | OK |
| [Search Weibo across all content by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-app-fetch-search-all.md) | — | $0.0011 per call | OK |
| [Weibo advanced search by keyword with filters](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-advanced-search.md) | — | $0.0011 per call | OK |
| [Weibo AI related search terms by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-ai-related-search.md) | — | $0.0011 per call | OK |
| [Weibo AI search by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-ai-search.md) | — | $0.0011 per call | OK |
| [Search Weibo images by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-pic-search.md) | — | $0.0011 per call | OK |
| [Weibo real-time search by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-realtime-search.md) | — | $0.0011 per call | OK |
| [Weibo similar search terms by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-similar-search.md) | — | $0.0011 per call | OK |
| [Search Weibo videos by keyword](https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-web-v2-fetch-video-search.md) | — | $0.0011 per call | OK |

## FAQ

### How much does Search Weibo posts by keyword and time range cost?

Search Weibo posts by keyword and time range costs $0.016236 per call: 1,000 calls cost $16.236.

### What does a $10 budget buy with Search Weibo posts by keyword and time range?

About 615 calls at $0.016236 per call.

### What inputs does Search Weibo posts by keyword and time range need?

Required inputs: endDay, endHour, q, startDay, startHour.

### How do I call Search Weibo posts by keyword and time range?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/weibo/search-posts/x-weibo-search-all-v2
