# Zhihu Web User Profile API

> Retrieves public profile metrics and details for a Zhihu user. Returns article counts, answer counts, follower totals, and user account metadata.

Source: https://www.sandbase.ai/model/zhihu/web/user-info
API reference: https://www.sandbase.ai/model/zhihu/web/user-info/docs

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_url_token` | string | yes |  |

## FAQ

### How do I use the Zhihu Web User Profile API?

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

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

### What does the Zhihu Web User Profile 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 Web User Profile 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 Web User Profile API

Access public Zhihu user account metrics by specifying a user token in `user_url_token`. This endpoint returns summary statistics including follower count, article count, and answer count.

#### Use cases

- Analyze user audience size and engagement metrics on Zhihu.
- Retrieve author details and content publication totals.
- Display Zhihu creator profile statistics within external dashboards.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_url_token` | string | Yes | User ID |

#### Example response

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

```json
{
  "answer_count": 9,
  "articles_count": 87,
  "available_medals_count": 0,
  "follower_count": 2830,
  "follower_count_num": "2830",
  "follower_count_text": "2830",
  "id": "bd76ac15154a7024a8adbcc2997efc8d",
  "name": "洺河",
  "project_count": 0,
  "type": "people",
  "url": "https://www.zhihu.com/api/v4/people/ming-he-43-93",
  "user_type": "people"
}
```

#### Notes

- Requires the Zhihu profile slug passed via `user_url_token`.

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