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/successPelo preço do provedor
Success rate
50,6%Last 30 days · 1.745 calls
Latency p50
8.5 sp95 34 s
Last verified
29 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.ai_mode?q=what+is+photosynthesis&gl=us&hl=enPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
qstringObrigatórioQuestion to ask, up to 2,048 characters. Required on every turn, including follow-ups.what is the best espresso machine for a small kitchen
glstringOpcionalTwo-letter country code used to localize results.us
hlstringOpcionalLanguage code such as en, en-GB, or de.en
uulestringOpcionalPre-encoded Google location token. Mutually exclusive with location.
devicestringOpcionalGoogle device layout. Each device is served Google's real layout for it.
timeoutnúmeroOpcionalOptional 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.
locationstringOpcionalHuman-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.Austin, Texas
image_urlstringOpcionalPublic 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.
continuablebooleanoOpcionalReturn a subsequent_request_token so this answer can be followed up, when Google offers a continuation.
google_domainstringOpcionalGoogle domain used for the request.google.com
subsequent_request_tokenstringOpcionalToken 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.
  • Parâmetros de consulta
  • qstringObrigatório

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

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

  • glstringOpcional

    Two-letter country code used to localize results.

    Exemplo: us

  • hlstringOpcional

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

    Exemplo: en

  • uulestringOpcional

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

  • devicestringOpcional

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

  • timeoutnúmeroOpcional

    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.

  • locationstringOpcional

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

    Exemplo: Austin, Texas

  • image_urlstringOpcional

    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.

  • continuablebooleanoOpcional

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

  • google_domainstringOpcional

    Google domain used for the request.

    Exemplo: google.com

  • subsequent_request_tokenstringOpcional

    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.

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no 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"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00015/success, incluindo a taxa de serviço.