Search public Zhihu articles by keyword, sorted by relevance, upvotes or date, with author and engagement data.
2 credits/ call
Never more than 72 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/zhihu.search_articles" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"人工智能"}'{
"output": {
"found": true,
"data": {
"isEnd": "<boolean | null>",
"nextOffset": "<string | null>",
"nextVerticalInfo": "<string | null>",
"nextCursor": "<string | null>", …
}
},
"credits": 2
}Input and output
8 fields
人工智能.6 fields
offset for the next pagesearchHashId for the next pageverticalInfo for the next pageMore from Zhihu. Same key, same credits.
The same key and credits work for every API.