LitescrapeGoogleSEO/AEO

Get Google AI Mode answer

litescrape.google.serp.ai_mode

Returns the answer Google AI Mode generates for a question, as ordered text blocks, with the sources it cited

Price
$0.00015/successAu prix du fournisseur
Success rate
50,6 %Last 30 days · 1 745 calls
Latency p50
8.5 sp95 34 s
Last verified
29 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.ai_mode?q=what+is+photosynthesis&gl=us&hl=enPreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
qchaîneObligatoireQuestion to ask, up to 2,048 characters. Required on every turn, including follow-ups.what is the best espresso machine for a small kitchen
glchaîneFacultatifTwo-letter country code used to localize results.us
hlchaîneFacultatifLanguage code such as en, en-GB, or de.en
uulechaîneFacultatifPre-encoded Google location token. Mutually exclusive with location.
devicechaîneFacultatifGoogle device layout. Each device is served Google's real layout for it.
timeoutnombreFacultatifOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
locationchaîneFacultatifHuman-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.Austin, Texas
image_urlchaîneFacultatifPublic http or https URL of an image to include in the question, up to 2,048 characters. The image may be at most 20 MB. Cannot be combined with subsequent_request_token.
continuablebooléenFacultatifReturn a subsequent_request_token so this answer can be followed up, when Google offers a continuation.
google_domainchaîneFacultatifGoogle domain used for the request.google.com
subsequent_request_tokenchaîneFacultatifToken from a previous continuable response. Send it with a new q to continue that conversation; reuse the same gl, hl and location. Expires after 30 minutes. Cannot be combined with image_url.
  • Paramètres de requête
  • qchaîneObligatoire

    Question to ask, up to 2,048 characters. Required on every turn, including follow-ups.

    Exemple : what is the best espresso machine for a small kitchen

  • glchaîneFacultatif

    Two-letter country code used to localize results.

    Exemple : us

  • hlchaîneFacultatif

    Language code such as en, en-GB, or de.

    Exemple : en

  • uulechaîneFacultatif

    Pre-encoded Google location token. Mutually exclusive with location.

  • devicechaîneFacultatif

    Google device layout. Each device is served Google's real layout for it.

  • timeoutnombreFacultatif

    Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.

  • locationchaîneFacultatif

    Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.

    Exemple : Austin, Texas

  • image_urlchaîneFacultatif

    Public http or https URL of an image to include in the question, up to 2,048 characters. The image may be at most 20 MB. Cannot be combined with subsequent_request_token.

  • continuablebooléenFacultatif

    Return a subsequent_request_token so this answer can be followed up, when Google offers a continuation.

  • google_domainchaîneFacultatif

    Google domain used for the request.

    Exemple : google.com

  • subsequent_request_tokenchaîneFacultatif

    Token from a previous continuable response. Send it with a new q to continue that conversation; reuse the same gl, hl and location. Expires after 30 minutes. Cannot be combined with image_url.

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.serp.ai_mode?q=what+is+photosynthesis&gl=us&hl=en' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.