Skip to main content
POST
Scrape Google AI Mode search by URL
Some Google AI Mode requests run longer than the 1-minute /scrape window. When that happens, the response is HTTP 202 with a snapshot_id instead of records, and collection continues. Branch on the status code as shown in How to handle a 202 response, or send many prompts at once with the async /trigger endpoint.

Query Parameters

string
default:"gd_mcswdt6z2elth3zqr2"
required
The dataset ID used for this request.
Must be set to gd_mcswdt6z2elth3zqr2 to collect Google AI Mode Search by URL.
boolean
default:false
Whether to send notifications when the request is completed.
boolean
default:true
Whether to include errors in the response.

Request Body

object[]
required
An array of input objects.

Example