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

价格
$0.00015/success按供应商原价
成功率
50.6%近 30 天 · 1,745 次
延迟 p50
8.5 秒p95 34 秒
最后验证
2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.ai_mode?q=what+is+photosynthesis&gl=us&hl=en预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
查询参数
q字符串必填Question to ask, up to 2,048 characters. Required on every turn, including follow-ups.what is the best espresso machine for a small kitchen
gl字符串可选Two-letter country code used to localize results.us
hl字符串可选Language code such as en, en-GB, or de.en
uule字符串可选Pre-encoded Google location token. Mutually exclusive with location.
device字符串可选Google device layout. Each device is served Google's real layout for it.
timeout数字可选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.
location字符串可选Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.Austin, Texas
image_url字符串可选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.
continuable布尔可选Return a subsequent_request_token so this answer can be followed up, when Google offers a continuation.
google_domain字符串可选Google domain used for the request.google.com
subsequent_request_token字符串可选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.
  • 查询参数
  • q字符串必填

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

    示例:what is the best espresso machine for a small kitchen

  • gl字符串可选

    Two-letter country code used to localize results.

    示例:us

  • hl字符串可选

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

    示例:en

  • uule字符串可选

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

  • device字符串可选

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

  • timeout数字可选

    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.

  • location字符串可选

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

    示例:Austin, Texas

  • image_url字符串可选

    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.

  • continuable布尔可选

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

  • google_domain字符串可选

    Google domain used for the request.

    示例:google.com

  • subsequent_request_token字符串可选

    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.

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
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"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00015/success 计费,已含服务费。