Get Google AI Mode answer

From Litescrape, through Joshu Data Bodega.

Price
$0.000165 per call$0.17 per 1,000 calls

No calls measured in the last 30 days.

Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.

Inputs

  • qstring, required

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

  • glstring, optional

    Two-letter country code used to localize results.

  • hlstring, optional

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

  • uulestring, optional

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

  • devicestring: desktop, tablet, mobile, optional

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

  • timeoutnumber, optional

    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.

  • locationstring, optional

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

  • image_urlstring, optional

    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.

  • continuableboolean, optional

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

  • google_domainstring, optional

    Google domain used for the request.

  • subsequent_request_tokenstring, optional

    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.

Call it

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "litescrape.google.serp.ai_mode",
    "params": {
      "q": "what is photosynthesis",
      "gl": "us",
      "hl": "en"
    }
  }'