API de ChatGPT: respuestas y citas

Recopila en JSON las respuestas, citas y búsquedas que ven los usuarios en ChatGPT para medir el GEO.

ChatGPT web search answer comparing wireless earbuds in a table with source links.

Estructura de la respuesta

Consulta los campos estructurados que devuelve este motor: respuesta, fuentes y búsquedas cuando están disponibles.

  • text, markdown: the captured answer, ready to store alongside your prompt.
  • sources: cited URLs and the source metadata available in that session.
  • searchQueries: searches issued during the answer; an empty list does not mean your submitted prompt was lost.
  • shoppingCards, model: conditional product cards and the model identifier reported by the session.
{
  "task": {
    "taskType": "CHATGPT"
  },
  "response": {
    "sources": [
      {
        "url": "https://www.wired.com/gallery/best-noise-canceling-earbuds/",
        "label": "Best Noise-Canceling Earbuds: Bose, Sony, Apple, and More | WIRED",
        "footnote": false,
        "position": 1,
        "attribution": "WIRED",
        "description": "",
        "datePublished": "March 29, 2026"
      },
      {
        "url": "https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds",
        "label": "Best noise-canceling earbuds in 2026: Tested and reviewed | Tom's Guide",
        "footnote": false,
        "position": 2,
        "attribution": "Tom's Guide",
        "description": "",
        "datePublished": "July 24, 2026"
      },
      {
        "url": "https://www.wired.com/story/best-wireless-earbuds/",
        "label": "Best Wireless Earbuds We’d Buy Right Now (2026): Apple, Sony, Bose, and More | WIRED",
        "footnote": false,
        "position": 3,
        "attribution": "WIRED",
        "description": "",
        "datePublished": "August 10, 2026"
      }
    ],
    "searchQueries": [
      "best wireless earbuds commuting noise cancellation battery life Sony Bose Apple"
    ],
    "text": "For commuting, I’d prioritize strong ANC (trains, buses, traffic) and 6+ hours of playback. These three are top picks: ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\n| Earbuds | Noise cancellation | Battery life (ANC on) |\n|---|---|---|\n| Bose QuietComfort Ultra Earbuds (2nd Gen) | Excellent — among the strongest ANC available | ~6 hrs (24 hrs with case) ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com)) |\n| Sony WF-1000XM5 | Excellent — very effective for commute noise | ~8 hrs (24 hrs with case) ([Tom's Guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com)) |\n| Apple AirPods Pro 3 | Excellent — especially for iPhone users | Up to ~8 hrs (24 hrs with case) ([WIRED](https://www.wired.com/story/best-wireless-earbuds/?utm_source=chatgpt.com)) |\n\n**Recommendation:**  \n- Best pure noise blocking: Bose.  \n- Best overall balance: Sony.  \n- Best if you use iPhone: AirPods Pro 3. ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\nSources: [WIRED noise-canceling earbuds guide](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com) · [Tom’s Guide ANC earbuds guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com) ·",
    "markdown": "For commuting, I’d prioritize strong ANC (trains, buses, traffic) and 6+ hours of playback. These three are top picks: ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\n| Earbuds | Noise cancellation | Battery life (ANC on) |\n|---|---|---|\n| Bose QuietComfort Ultra Earbuds (2nd Gen) | Excellent — among the strongest ANC available | ~6 hrs (24 hrs with case) ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com)) |\n| Sony WF-1000XM5 | Excellent — very effective for commute noise | ~8 hrs (24 hrs with case) ([Tom's Guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com)) |\n| Apple AirPods Pro 3 | Excellent — especially for iPhone users | Up to ~8 hrs (24 hrs with case) ([WIRED](https://www.wired.com/story/best-wireless-earbuds/?utm_source=chatgpt.com)) |\n\n**Recommendation:**  \n- Best pure noise blocking: Bose.  \n- Best overall balance: Sony.  \n- Best if you use iPhone: AirPods Pro 3. ([WIRED](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com))\n\nSources: [WIRED noise-canceling earbuds guide](https://www.wired.com/gallery/best-noise-canceling-earbuds/?utm_source=chatgpt.com) · [Tom’s Guide ANC earbuds guide](https://www.tomsguide.com/audio/earbuds/best-noise-canceling-earbuds?utm_source=chatgpt.com) ·",
    "model": "gpt-5-6",
    "shoppingCards": []
  }
}

Analizar menciones y citas

Repite las mismas preguntas y compara menciones de marca y fuentes por mercado.

Recopilar respuestas con la API

Envía la pregunta con tu clave API y guarda el response de cada tarea completada.

curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "taskType": "CHATGPT",
  "payload": {
    "prompt": "mejores auriculares inalámbricos para desplazarse",
    "country": "ES"
  }
}'

Leer la respuesta completada

Obtén el resultado con task.id y lee los campos propios del motor dentro de response.

curl https://api.querying.ai/v1/async/task/TASK_ID \
  -H "Authorization: Bearer $QUERYING_API_KEY"

Coste y disponibilidad

Coste por solicitud según el plan
Plan1 solicitud1.000 solicitudes
Basic≈ $0.00400≈ $4.00
Max≈ $0.00190≈ $1.90

Coste efectivo suponiendo que se usan todos los créditos mensuales incluidos.

Las solicitudes completadas consumen créditos según el motor. Las fallidas no se cobran.

Límites al interpretar resultados

La respuesta y los campos opcionales pueden cambiar en cada ejecución. No uses una respuesta como representación de todo el mercado.

Documentación API

Funciones relacionadas