Logotipo de Chatgpt Scraper Api

Chatgpt Scraper Api

Comunidad
scavio-ai
chatgpt-scraper-api

ChatGPT scraper API for AI visibility: send a prompt, get the answer ChatGPT gives as JSON with every cited page (title, publisher, date), the web searches it ran and the products it recommended. Track brand mentions and citations in ChatGPT. 1 endpoint, 2 credits per answered prompt.

Descripción general

Editorscavio-ai
Repositorioskills
Nombre de la habilidadchatgpt-scraper-api
Estrellas
67
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por scavio-ai en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Chatgpt Scraper Api en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/scavio-ai/skills/tree/main/skills/chatgpt-scraper-api
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/chatgpt-scraper-api .claude/skills/chatgpt-scraper-api
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Chatgpt Scraper Api en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Chatgpt Scraper Api automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Chatgpt Scraper Api no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

ChatGPT Scraper API - Answers, Citations, AI Visibility

Send a prompt to ChatGPT and get back what ChatGPT tells the people asking it: the full answer as Markdown, every page it cites (title, publisher, publish date), the web searches it ran to answer, and the products it recommended. One endpoint, 2 credits per answered prompt; failed prompts are free.

When to trigger

Use this skill when the user asks to:

  • See what ChatGPT says or recommends for a question, product category or brand
  • Check whether a brand, product or website is mentioned or cited in ChatGPT's answer
  • Find which pages and publishers ChatGPT cites for a topic (citation / source analysis)
  • Track AI visibility or share of voice in ChatGPT across a list of prompts
  • See what web searches ChatGPT runs to answer a prompt (query fan-out)
  • Compare ChatGPT's answer with Gemini's (use the gemini-scraper-api skill for the other half)

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits, enough for 25 prompts on this endpoint.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Endpoint

POST https://api.scavio.dev/api/v1/chatgpt/prompt
Authorization: Bearer $SCAVIO_API_KEY

Every answered prompt costs 2 credits. Answers typically take 10-40 seconds: use an HTTP timeout of at least 90 seconds.

Workflow

  1. Send the question the way a buyer would type it as prompt.
  2. Add country when the answer should be localized (2-letter code).
  3. Read data.answer.markdown for the answer, data.sources[] for the pages it cited, data.search_queries[] for the searches it ran and data.shopping[] for the products it recommended.
  4. For visibility tracking, run each prompt several times: answers vary between runs, so report a mention rate, not a single yes or no.

Parameters

ParameterTypeDefaultDescription
promptstringrequiredThe prompt, 1-1024 characters
modelstringautoModel id; auto is the model ChatGPT picks by default
countrystringus2-letter country code the answer is localized for
include_htmlbooleanfalseAlso return the answer as HTML in answer.html

Example

python
import requests

# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"

response = requests.post(
    "https://api.scavio.dev/api/v1/chatgpt/prompt",
    headers={"Authorization": f"Bearer {API_KEY}"},
    json={"prompt": "What are the best running shoes for beginners?"},
    timeout=120,
)
data = response.json()["data"]
print(data["answer"]["markdown"][:800])
print("Brooks mentioned:", "Brooks" in data["answer"]["markdown"])
for s in data["sources"]:
    print("cited:", s["source"], s["url"])
print("searched:", data["search_queries"])
print("recommended:", [p["title"] for p in data["shopping"]])

Response

json
{
  "data": {
    "platform": "chatgpt",
    "prompt": "What are the best running shoes for beginners?",
    "model": "gpt-6",
    "answer": {
      "markdown": "The best running shoes for beginners are usually **comfortable, well-fitting daily trainers**... ## 1\\. Brooks Ghost 18 ..."
    },
    "sources": [
      {
        "url": "https://www.rtings.com/running-shoes/reviews/best/beginners",
        "title": "The 6 Best Running Shoes for Beginners of 2026",
        "snippet": null,
        "source": "RTINGS.com",
        "published_at": "2026-09-18T00:00:00.000Z"
      }
    ],
    "search_queries": [
      "best running shoes for beginners 2026 review Brooks Ghost ASICS Nimbus Saucony Ride Nike Pegasus"
    ],
    "shopping": [
      { "title": "Brooks Ghost 18", "url": null, "price": null, "image_url": null, "merchant": null }
    ]
  },
  "response_time": 28081,
  "credits_used": 2,
  "credits_remaining": 48
}

shopping[] is often title only; url, price and image_url are filled when ChatGPT shows them.

Guardrails

  • Each answered prompt costs 2 credits. Confirm before running large prompt lists.
  • Never fabricate or paraphrase the answer as if it were ChatGPT's words. Quote answer.markdown and surface sources so the user can verify.
  • Answers vary between runs and are never cached. Do not present one run as ChatGPT's fixed opinion.
  • Prompts are limited to 1024 characters.

Failure handling

  • 400 means a missing or too-long prompt, or a malformed country / model - fix and retry.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means ChatGPT did not return an answer. Retry once; it is not charged.
  • 503 means answer capacity is busy. Wait for the Retry-After header, then retry; it is not charged.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

Preguntas frecuentes

¿Qué hace la habilidad de IA Chatgpt Scraper Api?

ChatGPT scraper API for AI visibility: send a prompt, get the answer ChatGPT gives as JSON with every cited page (title, publisher, date), the web searches it ran and the products it recommended. Track brand mentions and citations in ChatGPT. 1 endpoint, 2 credits per answered prompt.

¿Por qué usar Chatgpt Scraper Api en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Chatgpt Scraper Api está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Chatgpt Scraper Api en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/scavio-ai/skills/tree/main/skills/chatgpt-scraper-api. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Chatgpt Scraper Api?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Chatgpt Scraper Api?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Chatgpt Scraper Api con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Chatgpt Scraper Api?

Sí. scavio-ai la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇