Gemini Scraper Apiのロゴ

Gemini Scraper Api

コミュニティ
scavio-ai
gemini-scraper-api

Gemini scraper API for AI visibility: send a prompt, get the answer Google Gemini gives as JSON with the URLs it cites and the products it recommended, in the same shape as the ChatGPT skill. Track brand mentions in Gemini. 1 endpoint, 5 credits per answered prompt.

概要

公開者scavio-ai
リポジトリskills
スキル名gemini-scraper-api
スター
67
フォーク
0
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    scavio-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルGemini Scraper ApiをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/scavio-ai/skills/tree/main/skills/gemini-scraper-api
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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/gemini-scraper-api .claude/skills/gemini-scraper-api
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGemini Scraper Apiを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にGemini Scraper Apiを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Gemini Scraper Apiは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Gemini Scraper API - Answers, Citations, AI Visibility

Send a prompt to Google Gemini and get back the answer it gives: the full answer as Markdown, the URLs it cites, and the products it recommended. The response has the same shape as the ChatGPT endpoint, so one parser tracks both assistants. 5 credits per answered prompt; failed prompts are free.

When to trigger

Use this skill when the user asks to:

  • See what Gemini says or recommends for a question, product category or brand
  • Check whether a brand, product or website is mentioned or cited in Gemini's answer
  • Find which sites Gemini cites for a topic
  • Track AI visibility or share of voice in Gemini across a list of prompts
  • Compare Gemini's answer with ChatGPT's (use the chatgpt-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 10 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/gemini/prompt
Authorization: Bearer $SCAVIO_API_KEY

Every answered prompt costs 5 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. Read data.answer.markdown for the answer, data.sources[] for the URLs it cited and data.shopping[] for the products it recommended.
  3. 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-4000 characters

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/gemini/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("cited:", [s["url"] for s in data["sources"]])
print("recommended:", [p["title"] for p in data["shopping"]])

Response

json
{
  "data": {
    "platform": "gemini",
    "prompt": "What are the best running shoes for beginners?",
    "model": null,
    "answer": {
      "markdown": "Choosing your first running shoe is an important step. The best beginner running shoes focus on **balanced cushioning**... The Brooks Ghost 18 is a **fan-favorite daily trainer**..."
    },
    "sources": [
      { "url": "https://www.runnersworld.com/gear/a19663621/best-running-shoes/", "title": null, "snippet": null, "source": null, "published_at": null }
    ],
    "search_queries": [],
    "shopping": [
      { "title": "Brooks Men's Ghost 18", "url": null, "price": null, "image_url": null, "merchant": null }
    ]
  },
  "response_time": 36631,
  "credits_used": 5,
  "credits_remaining": 45
}

Gemini returns cited URLs only, so title, snippet, source and published_at are null, and search_queries is always empty. A comparison grid in the answer comes back as a Markdown table inside answer.markdown.

Guardrails

  • Each answered prompt costs 5 credits. Confirm before running large prompt lists.
  • Never fabricate or paraphrase the answer as if it were Gemini'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 Gemini's fixed opinion.
  • Prompts are limited to 4000 characters.

Failure handling

  • 400 means a missing or too-long prompt - 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 Gemini 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.

よくある質問

AIスキル「Gemini Scraper Api」では何ができますか?

Gemini scraper API for AI visibility: send a prompt, get the answer Google Gemini gives as JSON with the URLs it cites and the products it recommended, in the same shape as the ChatGPT skill. Track brand mentions in Gemini. 1 endpoint, 5 credits per answered prompt.

TypingMindでGemini Scraper Apiを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Gemini Scraper Apiはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGemini Scraper Apiをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/scavio-ai/skills/tree/main/skills/gemini-scraper-apiを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Gemini Scraper Apiを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Gemini Scraper Apiは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGemini Scraper Apiを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Gemini Scraper Api」は無料ですか?

はい。scavio-aiがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇