Fornecido por TikHub
Busca universal do WeChat
Pesquisa universal do WeChat via TikHub. Uma solicitação por chamada; a TikHub cobra pela solicitação independentemente de haver retorno de dados, e um envelope de dados vazio é reportado como nenhum resultado.
Como executar
Etapa 1Configurar
Uma vez: cole isto no chat do seu agente. O Skill instala a CLI e faz login sozinho. Para um agente que não pode usar um shell, conecte-o pelo MCP.
set up https://glasser.ai/SKILL.md
Show me how to use the TikHub endpoint /api/v1/wechat_search/v2/fetch_search on Glasser.glasser run -p tikhub -e '/api/v1/wechat_search/v2/fetch_search' -i '{"keyword":"人民日报"}' --endpoint-version 2Usa a versão 2 do endpoint. Consulte o preço atual antes de executar. Instale e faça login primeiro em Get Started.
Uma vez por Run:
IDEMPOTENCY_KEY=$(uuidgen)Execute e copie este mesmo bloco para enviá-lo novamente:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"tikhub","endpoint":"/api/v1/wechat_search/v2/fetch_search","input":{"keyword":"人民日报"},"endpoint_version":2}'Reutilize a mesma Idempotency-Key para enviar novamente: o segundo envio é uma leitura do primeiro Run. Uma nova chave cria um novo Run e um novo Charge. Usa a versão 2 do endpoint; consulte o preço atual antes de executar.
Etapa 2Experimente uma tarefa de exemplo específica
Quando precisar pesquisar uma questão, você pode buscar fontes relevantes e analisar quais resultados vale a pena ler com mais atenção.
Copie este prompt no seu agente para encontrar fontes para sua pergunta de pesquisa.
Use tikhub:/api/v1/wechat_search/v2/fetch_search on Glasser.
Search for sources about my research question and explain which returned results are relevant.Estrutura do endpoint
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"keyword"
],
"properties": {
"raw": {
"type": "boolean",
"description": "Optional, default True. True=raw search response; False=simplified parsing."
},
"sort": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Optional, default `default`. Sort (result page \"sort\" dropdown, common to all verticals) — `default`/0 (relevance) / `latest`/1 (newest) / `hot`/2 (most liked); string key or integer, invalid values rejected (400)."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Optional. Pagination cursor. Leave empty for the first page; for the next page pass back the `cursor` returned in the previous response (repeat the same `sort` / `publish_time`), and use `continue_flag` to check whether there are more pages."
},
"offset": {
"type": "integer",
"description": "Optional, default 0 (>=0). Pass `0` for the first page; **use `cursor` to paginate — offset alone does not work** (it returns the first page every time)."
},
"keyword": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Search keyword (1-100 chars after trimming). E.g. `人民日报`"
},
"publish_time": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Optional, default `all`. Publish time (result page \"time\" dropdown, common) — `all`/0 / `day`/1 / `week`/2 / `half_year`/3; string key or integer, invalid values rejected (400)."
},
"business_type": {
"enum": [
"all",
"account",
"article",
"video",
"sticker",
"underline",
"encyclopedia",
"live_stream",
"comment",
"listen",
"news",
"photos",
"book",
"moments",
"image",
"mini_game",
"weixin_index",
"ai_search"
],
"type": "string",
"description": "Optional, default `all`. Vertical string key (18 total). **Verified to return data**: `all` / `account` / `article` / `video` / `sticker`. The rest (`underline` / `encyclopedia` / `live_stream` / `comment` / `listen` / `news` / `photos` / `book` / `moments` / `image` / `mini_game` / `weixin_index` / `ai_search`) are gated server-side per account & region and currently always come back empty. Any value outside this list is rejected (422)."
}
},
"additionalProperties": false
}{
"keyword": "人民日报"
}Este endpoint não publica um esquema de saída. Você recebe o corpo da resposta do próprio provedor de dados, sem alterações — não garantimos um formato que não podemos assegurar.
Como funciona a cobrança
| Dados retornados ou nenhuma correspondência | O mesmo preço com ou sem dados correspondentes. | $0.01 |
|---|---|---|
| Erro do provedor de dados | O provedor de dados não conseguiu responder. | $0.00 |
| Tempo limite excedido | O Run excedeu seu limite de tempo. | $0.00 |
| Falha interna | Um erro interno impediu a conclusão. | $0.00 |