# Zhihu Article Search API

> Search Zhihu articles and answers by keyword and get titles, excerpts, authors, vote and comment counts, with sorting, content type and time filters plus offset pagination.

Source: https://www.sandbase.ai/apis/zhihu/web/article-search-v3
API reference: https://www.sandbase.ai/apis/zhihu/web/article-search-v3/docs

## Facts

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

## Call it

`POST https://api.sandbase.ai/v1/api/zhihu/web/article-search-v3` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | yes |  |
| `limit` | string | no |  |
| `offset` | string | no |  |
| `search_hash_id` | string | no |  |
| `search_source` | string | no |  |
| `show_all_topics` | integer | no |  |
| `sort` | string | no |  |
| `time_interval` | string | no |  |
| `vertical` | string | no |  |
| `vertical_info` | string | no |  |

## FAQ

### How do I use the Zhihu Article Search API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/article-search-v3 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 Zhihu Article 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 Zhihu Article Search API accept?

Required: keyword (string). Optional: limit (string), offset (string), search_hash_id (string), search_source (string), show_all_topics (integer) and sort (string) and 3 more. The Parameters table and the Playground on this page list every field.

### What does the Zhihu Article 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 Zhihu developer account or API key?

No. Zhihu Article 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 Zhihu API access separately.

## README

### Zhihu Article Search API

Search Zhihu for a keyword and get matching articles and answers with title, excerpt, author, URL and engagement counts.

#### Use cases

- Research expert opinions and long-form discussion on Zhihu.
- Monitor how a brand or product is discussed.
- Collect articles on a topic for content analysis.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | Yes | Search Keywords |
| `sort` | string | No | Empty comprehensive sorting |
| `limit` | string | No | Number of articles per page |
| `offset` | string | No | Offset |
| `vertical` | string | No | Empty unlimited type |
| `search_source` | string | No | Search Source |
| `time_interval` | string | No | Time interval |
| `vertical_info` | string | No | Vertical information |
| `search_hash_id` | string | No | Search Hash ID, used to filter duplicate search results |
| `show_all_topics` | integer | No | Show all topics |

#### Example response

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

```json
{
  "paging": {
    "is_end": false
  },
  "search_action_info": {
    "search_hash_id": "<hash>"
  },
  "data": [
    {
      "type": "search_result",
      "object": {
        "id": "2090812756115067700",
        "type": "article",
        "voteup_count": 3,
        "comment_count": 0,
        "created_time": 1791268958,
        "title": "OpenAI「疯狂28天」首日，这都发了些啥啊…",
        "excerpt": "模型打不过A社，一天到晚净整些有的没的，OpenAI你倒是争点气啊！ OpenAI订阅性价比被A社碾压了 这还没完",
        "url": "https://api.zhihu.com/articles/2090812756115067700",
        "author": {
          "name": "<user>"
        }
      }
    }
  ]
}
```

#### Notes

- Paginate with `offset` and `limit` (default 20 per page).

#### Related APIs

- [Zhihu Hot List](/model/zhihu/web/hot-list): Get the Zhihu hot list: trending questions with title, excerpt, heat, answer and follower counts, and links.
- [Get Zhihu AI Search (v2)](/model/zhihu/web/ai-search-stream): Get Zhihu AI Search results (new endpoint).
- [Get Zhihu Answer Detail](/model/zhihu/web/answer-detail): Get a single Zhihu answer's detail (content / stats / author / question, etc.).
