Gemini Scraper

scraper.gemini extracts Gemini responses so you can archive Google AI outputs with structured citation metadata.

Request Example

curl '{api_host}/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.gemini",
    "input": {
      "prompt": "Recommended attractions in New York",
      "country": "US"
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

Body Parameters

ParameterTypeRequiredDescription
promptstringYesPrompt sent to Gemini.
countrystringYesCountry or region (JP and TW are not supported).

Response Fields

ParameterTypeDescription
result_textstringMarkdown response.
promptstringOriginal prompt.
citationsarrayCitation metadata.
citations.faviconstringFavicon URL.
citations.highlightsarrayHighlighted snippets from the source text.
citations.snippetstringCitation snippet.
citations.titlestringTitle of the cited page.
citations.urlstringURL of the cited page.
citations.website_namestringWebsite name.