Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Zhihu User Highlighted Segments

Docs da API
https://api.sandbase.ai/v1/api/zhihu/web/user-segments

Returns highlighted text segments and line comments for a specified Zhihu member. Supports filtering by content type along with offset pagination.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 3 opcionais

Playground

Entrada
MUST be the user's **member hash id** (e.g. c72367...), not the url_token
Content type, all for all
Number per page
Offset
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Zhihu User Highlighted Segments API

Fetch highlighted segments and line comments left by a member using their member hash ID in user_url_token.

Use cases

  • Review highlighted text quotes and inline comments from a target member.
  • Filter member segment interactions across specific content types.
  • Paginate through public line commentary history for community research.

Request

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

Parameters

NameTypeRequiredDescription
user_url_tokenstringYesMUST be the user's member hash id (e.g. c72367...), not the url_token
limitstringNoNumber per page
offsetstringNoOffset
content_typestringNoContent type, all for all

Notes

  • user_url_token must be the user's member hash ID rather than their standard profile URL token.
  • Use limit and offset to page through results.
  • Set content_type to "all" to include all supported content types.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Zhihu$0.001 por chamadaJSON
Zhihu$0.005 por chamadaJSON
Zhihu$0.001 por chamadaJSON
Zhihu$0.001 por chamadaJSON
Zhihu$0.001 por chamadaJSON
Zhihu$0.001 por chamadaJSON

Guias:Best Zhihu API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Zhihu User Highlighted Segments?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/zhihu/web/user-segments com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Zhihu User Highlighted Segments?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Zhihu User Highlighted Segments aceita?

Obrigatórios: user_url_token (string). Opcionais: content_type (string), limit (string) e offset (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Zhihu User Highlighted Segments retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).

Preciso de uma conta de desenvolvedor Zhihu ou de uma chave de API?

Não. Zhihu User Highlighted Segments funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Zhihu separadamente.