# Zhihu User Answers API

> Returns answers posted by a specific Zhihu user based on their user token. Supports pagination and sorting results by creation date or upvote count.

Source: https://www.sandbase.ai/apis/zhihu/web/user-answers
API reference: https://www.sandbase.ai/apis/zhihu/web/user-answers/docs

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_url_token` | string | yes |  |
| `limit` | string | no |  |
| `offset` | string | no |  |
| `sort_type` | string | no | created, voteups |

## FAQ

### How do I use the Zhihu User Answers API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/user-answers 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 User Answers 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 User Answers API accept?

Required: user_url_token (string). Optional: limit (string), offset (string) and sort_type (one of created, voteups). The Parameters table and the Playground on this page list every field.

### What does the Zhihu User Answers API return?

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

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

No. Zhihu User Answers 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 User Answers API

Query answers submitted by a specific user on Zhihu using their `user_url_token`. You can paginate results and customize the sort order.

#### Use cases

- Analyze the most upvoted answers submitted by a specific Zhihu author.
- Monitor recent answers from specific industry experts on Zhihu.
- Extract an author's answer history for profile research.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/user-answers" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_url_token": "<user_url_token>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_url_token` | string | Yes | User ID |
| `limit` | string | No | Number of answers per page |
| `offset` | string | No | Offset |
| `sort_type` | string | No | Sort Type |

#### Notes

- `user_url_token` is the required user identifier.
- `sort_type` accepts either `created` or `voteups`.
- Pagination is controlled using `limit` and `offset`.

#### Related APIs

- [Zhihu AI Search Stream](/model/zhihu/web/ai-search-stream): Returns streaming AI search results from Zhihu based on a query prompt.
- [Zhihu Answer Details](/model/zhihu/web/answer-detail): Retrieves detailed information for a specific Zhihu answer using its numeric ID, including answer text, timestamps, and share links.
- [Zhihu Article Search](/model/zhihu/web/article-search-v3): Search Zhihu articles and answers by keyword and get titles, excerpts, authors, vote and comment counts, with sorting, content type and time filters plus offse…
