article_idstringrequired
Article ID
https://api.sandbase.ai/v1/api/zhihu/web/column-comment-configReturns comment settings and options for a Zhihu column article based on the provided article identifier.
[
{
"data": {
"attached_info": "",
"can_reply": false,
"can_segment_reply": false,
"dialog": null,
"disable_emoticon": false,
"disable_picture": false,
"is_anonymous": false,
"permission": {
"emoji": {
"have": true,
"is_vip_privilege": false,
"toast": "会员或 Lv.4 以上可解锁"
},
"picture": {
"have": true,
"is_vip_privilege": true,
"toast": "会员或 Lv.7 以上可解锁"
},
"voice": {
"have": false,
"is_vip_privilege": false,
"toast": ""
}
},
"picture_max_count": 1,
"place_holder": "评论区已关闭",
"place_holder_strategy": "normal",
"setting": [
{
"disable": false,
"disable_alert": "",
"id": "publish_sync_pin",
"selected": false,
"title": "同步到想法"
}
]
}
}
]Select an example to load its inputs and result into the playground.
Access comment configurations for specific Zhihu column articles by providing the target article_id.
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/column-comment-config" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"article_id": "669214677"}'
| Name | Type | Required | Description |
|---|---|---|---|
article_id | string | Yes | Article ID |
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"setting": [
{
"id": "publish_sync_pin",
"title": "同步到想法"
}
]
}
article_id to retrieve settings.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/zhihu/web/column-comment-config" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"article_id": "669214677"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
article_idstringrequiredArticle ID
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"attached_info": "",
"can_reply": false,
"can_segment_reply": false,
"dialog": null,
"disable_emoticon": false,
"disable_picture": false,
"is_anonymous": false,
"permission": {
"emoji": {
"have": true,
"is_vip_privilege": false,
"toast": "会员或 Lv.4 以上可解锁"
},
"picture": {
"have": true,
"is_vip_privilege": true,
"toast": "会员或 Lv.7 以上可解锁"
},
"voice": {
"have": false,
"is_vip_privilege": false,
"toast": ""
}
},
"picture_max_count": 1,
"place_holder": "评论区已关闭",
"place_holder_strategy": "normal",
"setting": [
{
"disable": false,
"disable_alert": "",
"id": "publish_sync_pin",
"selected": false,
"title": "同步到想法"
}
]
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Zhihu | $0.0015 per call | JSON |
Zhihu | $0.0075 per call | JSON |
Zhihu | $0.0015 per call | JSON |
Zhihu | $0.0015 per call | JSON |
Zhihu | $0.0015 per call | JSON |
Zhihu | $0.0015 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/column-comment-config 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.
$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.
Required: article_id (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Zhihu Column Comment Configuration 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.