Google AI Mode Scraper
scraper.aimode mirrors Google AI Mode responses, including the rendered HTML, raw URLs, and detailed citation data so you can audit how results vary across locales.
Request Example
curl '{api_host}/api/v2/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
"actor": "scraper.aimode",
"input": {
"prompt": "Recommended attractions in New York",
"country": "US"
},
"webhook": {
"url": "http://www.youwebhook.com"
}
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Prompt sent to Google AI Mode. |
country | string | Yes | Country or region (JP and TW are not supported). |
Response Fields
| Parameter | Type | Description |
|---|---|---|
result_text | string | Answer body. |
result_html | string | HTML version of the answer. |
raw_url | string | Original Google AI Mode URL. |
citations | array | Citation sources. |
citations.snippet | string | Snippet of the cited article. |
citations.thumbnail | string | Cover image of the cited article. |
citations.title | string | Citation title. |
citations.url | string | Citation URL. |
citations.website_name | string | Website name. |
citations.favicon | string | Favicon for the website. |
search_result | array | Optional search results referenced by Google. |
search_result.snippet | string | Search result snippet. |
search_result.thumbnail | string | Search result cover image. |
search_result.title | string | Search result title. |
search_result.url | string | Search result link. |
search_result.website_name | string | Search result website name. |