Logo de Chatgpt Scraper Api

Chatgpt Scraper Api

Comunidade
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.

Visão geral

Publicado porscavio-ai
Repositórioskills
Nome da habilidadechatgpt-scraper-api
Estrelas
67
Forks
0
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por scavio-ai no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Chatgpt Scraper Api no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/scavio-ai/skills/tree/main/skills/chatgpt-scraper-api
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Chatgpt Scraper Api em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Chatgpt Scraper Api automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Chatgpt Scraper Api não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu 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.

Perguntas frequentes

O que a habilidade de IA Chatgpt Scraper Api faz?

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 que usar Chatgpt Scraper Api no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Chatgpt Scraper Api é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Chatgpt Scraper Api no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/scavio-ai/skills/tree/main/skills/chatgpt-scraper-api. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Chatgpt Scraper Api?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Chatgpt Scraper Api?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Chatgpt Scraper Api com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Chatgpt Scraper Api é gratuita?

Sim. A habilidade é publicada no GitHub por scavio-ai sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇