Proporcionado por TikHub
Búsqueda universal de WeChat
Búsqueda universal de WeChat desde WeChat mediante TikHub. Una solicitud por llamada; TikHub factura la solicitud tanto si se reciben datos como si no, y un contenedor de datos vacío se informa como sin resultados.
Cómo ejecutarlo
Paso 1Configurar
Una vez: pega esto en el chat de tu agente. Skill instala el CLI e inicia sesión por sí solo. Si tu agente no puede usar un shell, conéctalo mediante MCP en su lugar.
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 la versión de endpoint 2. Comprueba el precio actual antes de ejecutar. Instala e inicia sesión primero en Comenzar.
Una vez por Run:
IDEMPOTENCY_KEY=$(uuidgen)Ejecútalo y copia este mismo bloque para volver a enviarlo:
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}'Reutiliza la misma Idempotency-Key para volver a enviarlo: el segundo envío es una lectura del primer Run. Una clave nueva crea un Run y un Charge nuevos. Usa la versión de endpoint 2; comprueba el precio actual antes de ejecutar.
Paso 2Prueba una tarea de ejemplo específica
Cuando necesites investigar una pregunta, puedes buscar fuentes relevantes y revisar qué resultados merecen una lectura más detenida.
Copia este prompt en tu agente para encontrar fuentes para tu pregunta de investigación.
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.Estructura del 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 no publica ningún esquema de salida. Recibes el cuerpo de respuesta propio del proveedor de datos, sin cambios — no garantizamos una estructura que no podemos asegurar.
Cómo funcionan los precios
| Datos devueltos o sin coincidencias | El mismo precio con o sin datos coincidentes. | $0.01 |
|---|---|---|
| Error del proveedor de datos | El proveedor de datos no pudo responder. | $0.00 |
| Tiempo de espera agotado | El Run superó su límite de tiempo. | $0.00 |
| Error interno | Un error interno impidió completar la operación. | $0.00 |