---
title: "Zhihu Keyword Search API (V1)"
description: "Search Zhihu by keyword with optional result-type, sort, time-interval, topic-display, and offset controls. Use it to find relevant answers, articles, or videos."
aiUsagePrompt: true
---

# Zhihu Keyword Search API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/zhihu/search/v1\"")'
  :summary='JSON.parse("\"Keyword Search (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/zhihu/keyword-search-v1-en.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"TOKEN\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"keyword\",\"in\":\"query\",\"description\":\"Search keywords.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"offset\",\"in\":\"query\",\"description\":\"Start offset, begins with 0.\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":0}},{\"name\":\"showAllTopics\",\"in\":\"query\",\"description\":\"Whether to show all topics.\\n\\nAvailable Values:\\n- `FALSE`: Do not show topics.\\n- `TRUE`: Show all topics.\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"FALSE\",\"description\":\"Zhihu search topic display switch.\",\"enum\":[\"FALSE\",\"TRUE\"]}},{\"name\":\"vertical\",\"in\":\"query\",\"description\":\"Result type filter.\\n\\nAvailable Values:\\n- `answer`: Answers only.\\n- `article`: Articles only.\\n- `zvideo`: Videos only.\",\"required\":false,\"schema\":{\"type\":\"string\",\"description\":\"Zhihu search result type.\",\"enum\":[\"answer\",\"article\",\"zvideo\"]}},{\"name\":\"sort\",\"in\":\"query\",\"description\":\"Sorting criteria.\\n\\nAvailable Values:\\n- `upvoted_count`: Most upvoted.\\n- `created_time`: Latest published.\",\"required\":false,\"schema\":{\"type\":\"string\",\"description\":\"Zhihu search sorting criteria.\",\"enum\":[\"upvoted_count\",\"created_time\"]}},{\"name\":\"timeInterval\",\"in\":\"query\",\"description\":\"Publish time interval filter.\\n\\nAvailable Values:\\n- `a_day`: Within one day.\\n- `a_week`: Within one week.\\n- `a_month`: Within one month.\\n- `three_months`: Within three months.\\n- `half_a_year`: Within half a year.\\n- `a_year`: Within one year.\",\"required\":false,\"schema\":{\"type\":\"string\",\"description\":\"Zhihu search publish time interval.\",\"enum\":[\"a_day\",\"a_week\",\"a_month\",\"three_months\",\"half_a_year\",\"a_year\"]}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"Keyword search results and pagination when the successful payload is an object.\",\"properties\":{\"paging\":{\"type\":\"object\",\"description\":\"Pagination state returned for this search response.\",\"properties\":{\"is_end\":{\"type\":\"boolean\",\"description\":\"Whether this response reports the end of the search results. Stop when true, even if next is still present.\"},\"next\":{\"type\":\"string\",\"description\":\"Pagination URL reported by Zhihu. When is_end is false, use its offset value in the next call to this endpoint and keep the keyword and filters unchanged.\"}}},\"data\":{\"type\":\"array\",\"description\":\"Search result cards returned at this offset. The array can be empty. Card types and available fields can vary.\",\"items\":{\"type\":\"object\",\"description\":\"One search result card.\",\"properties\":{\"id\":{\"type\":[\"integer\",\"string\"],\"description\":\"Identifier returned for the outer result card, when present.\"},\"type\":{\"type\":\"string\",\"description\":\"Type of the outer search result card.\"},\"index\":{\"type\":\"integer\",\"description\":\"Result index reported for this card.\"},\"highlight\":{\"type\":[\"object\",\"null\"],\"description\":\"Highlighted parts of the matching result, when supplied.\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"Highlighted title text supplied in the search card.\"},\"description\":{\"type\":\"string\",\"description\":\"Highlighted description text supplied in the search card.\"},\"name\":{\"type\":\"string\",\"description\":\"Highlighted name supplied in the search card.\"},\"creator\":{\"type\":\"string\",\"description\":\"Highlighted creator name supplied in the search card.\"}}},\"object\":{\"type\":\"object\",\"description\":\"Content attached to the card, such as an answer, article, question, profile, or video. Fields depend on the content type.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier supplied for the content attached to this card, when present.\"},\"type\":{\"type\":\"string\",\"description\":\"Type of the content attached to the card.\"},\"title\":{\"type\":\"string\",\"description\":\"Title of the attached content, when supplied.\"},\"description\":{\"type\":[\"string\",\"object\"],\"description\":\"Description returned for the content. Some card types supply a structured description.\"},\"raw_description\":{\"type\":\"string\",\"description\":\"Raw description string returned for the video content.\"},\"excerpt\":{\"type\":\"string\",\"description\":\"Text excerpt returned for the content. It can contain HTML.\"},\"content\":{\"type\":\"string\",\"description\":\"Body returned for the content. It can contain HTML.\"},\"url\":{\"type\":\"string\",\"description\":\"Zhihu URL supplied for this content.\"},\"redirect_url\":{\"type\":\"string\",\"description\":\"Destination URL supplied for the card, when present.\"},\"image_url\":{\"type\":\"string\",\"description\":\"Image URL supplied for the card.\"},\"is_anonymous\":{\"type\":\"boolean\",\"description\":\"Anonymity flag reported for the content.\"},\"created_time\":{\"type\":\"integer\",\"description\":\"Creation time reported for the content as Unix seconds.\"},\"updated_time\":{\"type\":\"integer\",\"description\":\"Last update time reported for the content as Unix seconds.\"},\"voteup_count\":{\"type\":\"integer\",\"description\":\"Upvote count reported for the content or profile.\"},\"comment_count\":{\"type\":\"integer\",\"description\":\"Comment count reported for the content.\"},\"favorites_count\":{\"type\":\"integer\",\"description\":\"Favorites count reported for the content.\"},\"visits_count\":{\"type\":\"integer\",\"description\":\"Visit count reported for the content.\"},\"answer_count\":{\"type\":\"integer\",\"description\":\"Number of answers reported for the question or profile.\"},\"articles_count\":{\"type\":\"integer\",\"description\":\"Number of articles reported for the profile.\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"Follower count reported for the profile or question.\"},\"name\":{\"type\":\"string\",\"description\":\"Display name supplied for a profile result.\"},\"headline\":{\"type\":\"string\",\"description\":\"Profile headline reported with a profile result.\"},\"avatar_url\":{\"type\":\"string\",\"description\":\"Profile avatar URL.\"},\"url_token\":{\"type\":\"string\",\"description\":\"Public profile slug used in Zhihu profile URLs.\"},\"question\":{\"type\":\"object\",\"description\":\"Question associated with an answer result.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Zhihu question identifier.\"},\"name\":{\"type\":\"string\",\"description\":\"Question title returned with the answer.\"},\"type\":{\"type\":\"string\",\"description\":\"Type of the associated question object.\"},\"url\":{\"type\":\"string\",\"description\":\"URL returned for the associated question.\"},\"answer_count\":{\"type\":\"integer\",\"description\":\"Answer count reported for the associated question.\"}}},\"author\":{\"type\":\"object\",\"description\":\"Author profile supplied with the content.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Author profile identifier.\"},\"url_token\":{\"type\":\"string\",\"description\":\"Public author slug used in Zhihu profile URLs.\"},\"name\":{\"type\":\"string\",\"description\":\"Author display name.\"},\"headline\":{\"type\":\"string\",\"description\":\"Author profile headline.\"},\"avatar_url\":{\"type\":\"string\",\"description\":\"Author profile avatar URL.\"},\"url\":{\"type\":\"string\",\"description\":\"URL returned for the author profile.\"},\"type\":{\"type\":\"string\",\"description\":\"Type of the author profile object.\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"Follower count reported for the author.\"},\"voteup_count\":{\"type\":\"integer\",\"description\":\"Upvote count reported for the author.\"}}},\"zvideo_id\":{\"type\":\"string\",\"description\":\"Identifier of the Zhihu video post.\"},\"video_id\":{\"type\":\"string\",\"description\":\"Video media identifier.\"},\"video_url\":{\"type\":\"string\",\"description\":\"Video URL supplied for the result.\"},\"video_answer_url\":{\"type\":\"string\",\"description\":\"URL supplied for the answer associated with the video, when present.\"},\"cover_url\":{\"type\":\"string\",\"description\":\"Video cover image URL.\"},\"creator\":{\"type\":\"string\",\"description\":\"Creator name text supplied with the video result.\"},\"created_at\":{\"type\":\"integer\",\"description\":\"Creation timestamp supplied for the video.\"},\"updated_at\":{\"type\":\"integer\",\"description\":\"Last update timestamp supplied for the video.\"},\"duration\":{\"type\":\"number\",\"description\":\"Duration value reported for the video.\"},\"width\":{\"type\":\"integer\",\"description\":\"Video width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Video height in pixels.\"},\"play_count\":{\"type\":\"integer\",\"description\":\"Play count reported for the video.\"},\"playlist\":{\"type\":\"object\",\"description\":\"Playback variants grouped by their quality keys. Available variants can differ by video.\",\"properties\":{\"ld\":{\"type\":\"object\",\"description\":\"LD playback variant, when returned.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Media URL returned for the playback variant.\"},\"play_url\":{\"type\":\"string\",\"description\":\"Playback URL returned for the variant.\"},\"width\":{\"type\":\"integer\",\"description\":\"Width of the playback variant in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Height of the playback variant in pixels.\"},\"format\":{\"type\":\"string\",\"description\":\"Media format reported for the playback variant.\"},\"quality\":{\"type\":\"string\",\"description\":\"Quality label reported for the playback variant.\"}}},\"sd\":{\"type\":\"object\",\"description\":\"SD playback variant, when returned.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Media URL returned for the playback variant.\"},\"play_url\":{\"type\":\"string\",\"description\":\"Playback URL returned for the variant.\"},\"width\":{\"type\":\"integer\",\"description\":\"Width of the playback variant in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Height of the playback variant in pixels.\"},\"format\":{\"type\":\"string\",\"description\":\"Media format reported for the playback variant.\"},\"quality\":{\"type\":\"string\",\"description\":\"Quality label reported for the playback variant.\"}}},\"hd\":{\"type\":\"object\",\"description\":\"HD playback variant, when returned.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Media URL returned for the playback variant.\"},\"play_url\":{\"type\":\"string\",\"description\":\"Playback URL returned for the variant.\"},\"width\":{\"type\":\"integer\",\"description\":\"Width of the playback variant in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Height of the playback variant in pixels.\"},\"format\":{\"type\":\"string\",\"description\":\"Media format reported for the playback variant.\"},\"quality\":{\"type\":\"string\",\"description\":\"Quality label reported for the playback variant.\"}}},\"fhd\":{\"type\":\"object\",\"description\":\"FHD playback variant, when returned.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Media URL returned for the playback variant.\"},\"play_url\":{\"type\":\"string\",\"description\":\"Playback URL returned for the variant.\"},\"width\":{\"type\":\"integer\",\"description\":\"Width of the playback variant in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Height of the playback variant in pixels.\"},\"format\":{\"type\":\"string\",\"description\":\"Media format reported for the playback variant.\"},\"quality\":{\"type\":\"string\",\"description\":\"Quality label reported for the playback variant.\"}}}}},\"video_info\":{\"type\":\"object\",\"description\":\"Additional media information supplied with the video.\",\"properties\":{\"video_id\":{\"type\":\"string\",\"description\":\"Video media identifier.\"},\"duration\":{\"type\":\"number\",\"description\":\"Duration value reported in the video information.\"},\"width\":{\"type\":\"integer\",\"description\":\"Video width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Video height in pixels.\"},\"play_count\":{\"type\":\"integer\",\"description\":\"Play count reported in the video information.\"}}}}}}}},\"related_search_result\":{\"type\":\"array\",\"description\":\"Related search results supplied by Zhihu. The array can be empty.\"}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Invalid request parameters or body\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Invalid or inactive access token\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Permission denied\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Request rate or daily quota limit exceeded\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Internal server error\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Service temporarily unavailable\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"Global production API (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/zhihu/search/v1\"")' />

<p>Search Zhihu by keyword with optional result-type, sort, time-interval, topic-display, and offset controls. Use it to find relevant answers, articles, or videos.</p>

## Parameters

<div class="api-doc-table api-doc-table--params">

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Yes | - | TOKEN |
| <code>keyword</code> | query | <code>string</code> | Yes | - | Search keywords. |
| <code>offset</code> | query | <code>integer</code> | No | <code>0</code> | Start offset, begins with 0. |
| <code>showAllTopics</code> | query | <code>string</code> | No | <code>FALSE</code> | Whether to show all topics.<br /><br><br>Available Values:<br /><br>- <code>FALSE</code>: Do not show topics.<br /><br>- <code>TRUE</code>: Show all topics. |
| <code>vertical</code> | query | <code>string</code> | No | - | Result type filter.<br /><br><br>Available Values:<br /><br>- <code>answer</code>: Answers only.<br /><br>- <code>article</code>: Articles only.<br /><br>- <code>zvideo</code>: Videos only. |
| <code>sort</code> | query | <code>string</code> | No | - | Sorting criteria.<br /><br><br>Available Values:<br /><br>- <code>upvoted_count</code>: Most upvoted.<br /><br>- <code>created_time</code>: Latest published. |
| <code>timeInterval</code> | query | <code>string</code> | No | - | Publish time interval filter.<br /><br><br>Available Values:<br /><br>- <code>a_day</code>: Within one day.<br /><br>- <code>a_week</code>: Within one week.<br /><br>- <code>a_month</code>: Within one month.<br /><br>- <code>three_months</code>: Within three months.<br /><br>- <code>half_a_year</code>: Within half a year.<br /><br>- <code>a_year</code>: Within one year. |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "Keyword Search (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE
API Endpoint: BASE_URL + /api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/zhihu/keyword-search-v1-en.json

Parameters:
- token (query): TOKEN (Required)
- keyword (query): Search keywords. (Required)
- offset (query): Start offset, begins with 0.
- showAllTopics (query): Whether to show all topics.

Available Values:
- `FALSE`: Do not show topics.
- `TRUE`: Show all topics.
- vertical (query): Result type filter.

Available Values:
- `answer`: Answers only.
- `article`: Articles only.
- `zvideo`: Videos only.
- sort (query): Sorting criteria.

Available Values:
- `upvoted_count`: Most upvoted.
- `created_time`: Latest published.
- timeInterval (query): Publish time interval filter.

Available Values:
- `a_day`: Within one day.
- `a_week`: Within one week.
- `a_month`: Within one month.
- `three_months`: Within three months.
- `half_a_year`: Within half a year.
- `a_year`: Within one year.

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/zhihu/search/v1?token=YOUR_API_KEY&keyword=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/zhihu/keyword-search-v1-en.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI Definition (JSON)]</a>
</div>

## Response Fields

Key fields in a successful response (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Field path | Type | Description |
| --- | --- | --- |
| <code>data</code> | - | Keyword search results and pagination when the successful payload is an object. |
| <code>data.paging</code> | <code>object</code> | Pagination state returned for this search response. |
| <code>data.paging.is_end</code> | <code>boolean</code> | Whether this response reports the end of the search results. Stop when true, even if next is still present. |
| <code>data.paging.next</code> | <code>string</code> | Pagination URL reported by Zhihu. When is_end is false, use its offset value in the next call to this endpoint and keep the keyword and filters unchanged. |
| <code>data.data</code> | <code>array</code> | Search result cards returned at this offset. The array can be empty. Card types and available fields can vary. |
| <code>data.data[]</code> | <code>object</code> | One search result card. |
| <code>data.data[].id</code> | <code>integer &#124; string</code> | Identifier returned for the outer result card, when present. |
| <code>data.data[].type</code> | <code>string</code> | Type of the outer search result card. |
| <code>data.data[].index</code> | <code>integer</code> | Result index reported for this card. |
| <code>data.data[].highlight</code> | <code>object &#124; null</code> | Highlighted parts of the matching result, when supplied. |
| <code>data.data[].highlight.title</code> | <code>string</code> | Highlighted title text supplied in the search card. |
| <code>data.data[].highlight.description</code> | <code>string</code> | Highlighted description text supplied in the search card. |
| <code>data.data[].highlight.name</code> | <code>string</code> | Highlighted name supplied in the search card. |
| <code>data.data[].highlight.creator</code> | <code>string</code> | Highlighted creator name supplied in the search card. |
| <code>data.data[].object</code> | <code>object</code> | Content attached to the card, such as an answer, article, question, profile, or video. Fields depend on the content type. |
| <code>data.data[].object.id</code> | <code>string</code> | Identifier supplied for the content attached to this card, when present. |
| <code>data.data[].object.type</code> | <code>string</code> | Type of the content attached to the card. |
| <code>data.data[].object.title</code> | <code>string</code> | Title of the attached content, when supplied. |
| <code>data.data[].object.description</code> | <code>string &#124; object</code> | Description returned for the content. Some card types supply a structured description. |
| <code>data.data[].object.raw_description</code> | <code>string</code> | Raw description string returned for the video content. |
| <code>data.data[].object.excerpt</code> | <code>string</code> | Text excerpt returned for the content. It can contain HTML. |
| <code>data.data[].object.content</code> | <code>string</code> | Body returned for the content. It can contain HTML. |
| <code>data.data[].object.url</code> | <code>string</code> | Zhihu URL supplied for this content. |
| <code>data.data[].object.redirect_url</code> | <code>string</code> | Destination URL supplied for the card, when present. |
| <code>data.data[].object.image_url</code> | <code>string</code> | Image URL supplied for the card. |
| <code>data.data[].object.is_anonymous</code> | <code>boolean</code> | Anonymity flag reported for the content. |
| <code>data.data[].object.created_time</code> | <code>integer</code> | Creation time reported for the content as Unix seconds. |
| <code>data.data[].object.updated_time</code> | <code>integer</code> | Last update time reported for the content as Unix seconds. |
| <code>data.data[].object.voteup_count</code> | <code>integer</code> | Upvote count reported for the content or profile. |
| <code>data.data[].object.comment_count</code> | <code>integer</code> | Comment count reported for the content. |
| <code>data.data[].object.favorites_count</code> | <code>integer</code> | Favorites count reported for the content. |
| <code>data.data[].object.visits_count</code> | <code>integer</code> | Visit count reported for the content. |
| <code>data.data[].object.answer_count</code> | <code>integer</code> | Number of answers reported for the question or profile. |
| <code>data.data[].object.articles_count</code> | <code>integer</code> | Number of articles reported for the profile. |
| <code>data.data[].object.follower_count</code> | <code>integer</code> | Follower count reported for the profile or question. |
| <code>data.data[].object.name</code> | <code>string</code> | Display name supplied for a profile result. |
| <code>data.data[].object.headline</code> | <code>string</code> | Profile headline reported with a profile result. |
| <code>data.data[].object.avatar_url</code> | <code>string</code> | Profile avatar URL. |
| <code>data.data[].object.url_token</code> | <code>string</code> | Public profile slug used in Zhihu profile URLs. |
| <code>data.data[].object.question</code> | <code>object</code> | Question associated with an answer result. |
| <code>data.data[].object.question.id</code> | <code>string</code> | Zhihu question identifier. |
| <code>data.data[].object.question.name</code> | <code>string</code> | Question title returned with the answer. |
| <code>data.data[].object.question.type</code> | <code>string</code> | Type of the associated question object. |
| <code>data.data[].object.question.url</code> | <code>string</code> | URL returned for the associated question. |
| <code>data.data[].object.question.answer_count</code> | <code>integer</code> | Answer count reported for the associated question. |
| <code>data.data[].object.author</code> | <code>object</code> | Author profile supplied with the content. |
| <code>data.data[].object.author.id</code> | <code>string</code> | Author profile identifier. |
| <code>data.data[].object.author.url_token</code> | <code>string</code> | Public author slug used in Zhihu profile URLs. |
| <code>data.data[].object.author.name</code> | <code>string</code> | Author display name. |
| <code>data.data[].object.author.headline</code> | <code>string</code> | Author profile headline. |
| <code>data.data[].object.author.avatar_url</code> | <code>string</code> | Author profile avatar URL. |
| <code>data.data[].object.author.url</code> | <code>string</code> | URL returned for the author profile. |
| <code>data.data[].object.author.type</code> | <code>string</code> | Type of the author profile object. |
| <code>data.data[].object.author.follower_count</code> | <code>integer</code> | Follower count reported for the author. |
| <code>data.data[].object.author.voteup_count</code> | <code>integer</code> | Upvote count reported for the author. |
| <code>data.data[].object.zvideo_id</code> | <code>string</code> | Identifier of the Zhihu video post. |
| <code>data.data[].object.video_id</code> | <code>string</code> | Video media identifier. |
| <code>data.data[].object.video_url</code> | <code>string</code> | Video URL supplied for the result. |
| <code>data.data[].object.video_answer_url</code> | <code>string</code> | URL supplied for the answer associated with the video, when present. |
| <code>data.data[].object.cover_url</code> | <code>string</code> | Video cover image URL. |
| <code>data.data[].object.creator</code> | <code>string</code> | Creator name text supplied with the video result. |
| <code>data.data[].object.created_at</code> | <code>integer</code> | Creation timestamp supplied for the video. |
| <code>data.data[].object.updated_at</code> | <code>integer</code> | Last update timestamp supplied for the video. |
| <code>data.data[].object.duration</code> | <code>number</code> | Duration value reported for the video. |
| <code>data.data[].object.width</code> | <code>integer</code> | Video width in pixels. |
| <code>data.data[].object.height</code> | <code>integer</code> | Video height in pixels. |
| <code>data.data[].object.play_count</code> | <code>integer</code> | Play count reported for the video. |
| <code>data.data[].object.playlist</code> | <code>object</code> | Playback variants grouped by their quality keys. Available variants can differ by video. |
| <code>data.data[].object.playlist.ld</code> | <code>object</code> | LD playback variant, when returned. |
| <code>data.data[].object.playlist.ld.url</code> | <code>string</code> | Media URL returned for the playback variant. |
| <code>data.data[].object.playlist.ld.play_url</code> | <code>string</code> | Playback URL returned for the variant. |
| <code>data.data[].object.playlist.ld.width</code> | <code>integer</code> | Width of the playback variant in pixels. |
| <code>data.data[].object.playlist.ld.height</code> | <code>integer</code> | Height of the playback variant in pixels. |
| <code>data.data[].object.playlist.ld.format</code> | <code>string</code> | Media format reported for the playback variant. |
| <code>data.data[].object.playlist.ld.quality</code> | <code>string</code> | Quality label reported for the playback variant. |
| <code>data.data[].object.playlist.sd</code> | <code>object</code> | SD playback variant, when returned. |
| <code>data.data[].object.playlist.sd.url</code> | <code>string</code> | Media URL returned for the playback variant. |
| <code>data.data[].object.playlist.sd.play_url</code> | <code>string</code> | Playback URL returned for the variant. |
| <code>data.data[].object.playlist.sd.width</code> | <code>integer</code> | Width of the playback variant in pixels. |
| <code>data.data[].object.playlist.sd.height</code> | <code>integer</code> | Height of the playback variant in pixels. |
| <code>data.data[].object.playlist.sd.format</code> | <code>string</code> | Media format reported for the playback variant. |
| <code>data.data[].object.playlist.sd.quality</code> | <code>string</code> | Quality label reported for the playback variant. |
| <code>data.data[].object.playlist.hd</code> | <code>object</code> | HD playback variant, when returned. |
| <code>data.data[].object.playlist.hd.url</code> | <code>string</code> | Media URL returned for the playback variant. |
| <code>data.data[].object.playlist.hd.play_url</code> | <code>string</code> | Playback URL returned for the variant. |
| <code>data.data[].object.playlist.hd.width</code> | <code>integer</code> | Width of the playback variant in pixels. |
| <code>data.data[].object.playlist.hd.height</code> | <code>integer</code> | Height of the playback variant in pixels. |
| <code>data.data[].object.playlist.hd.format</code> | <code>string</code> | Media format reported for the playback variant. |
| <code>data.data[].object.playlist.hd.quality</code> | <code>string</code> | Quality label reported for the playback variant. |
| <code>data.data[].object.playlist.fhd</code> | <code>object</code> | FHD playback variant, when returned. |
| <code>data.data[].object.playlist.fhd.url</code> | <code>string</code> | Media URL returned for the playback variant. |
| <code>data.data[].object.playlist.fhd.play_url</code> | <code>string</code> | Playback URL returned for the variant. |
| <code>data.data[].object.playlist.fhd.width</code> | <code>integer</code> | Width of the playback variant in pixels. |
| <code>data.data[].object.playlist.fhd.height</code> | <code>integer</code> | Height of the playback variant in pixels. |
| <code>data.data[].object.playlist.fhd.format</code> | <code>string</code> | Media format reported for the playback variant. |
| <code>data.data[].object.playlist.fhd.quality</code> | <code>string</code> | Quality label reported for the playback variant. |
| <code>data.data[].object.video_info</code> | <code>object</code> | Additional media information supplied with the video. |
| <code>data.data[].object.video_info.video_id</code> | <code>string</code> | Video media identifier. |
| <code>data.data[].object.video_info.duration</code> | <code>number</code> | Duration value reported in the video information. |
| <code>data.data[].object.video_info.width</code> | <code>integer</code> | Video width in pixels. |
| <code>data.data[].object.video_info.height</code> | <code>integer</code> | Video height in pixels. |
| <code>data.data[].object.video_info.play_count</code> | <code>integer</code> | Play count reported in the video information. |
| <code>data.related_search_result</code> | <code>array</code> | Related search results supplied by Zhihu. The array can be empty. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/zhihu/search/v1\"")' />

