Data APIs
HTTP API

Google SERP

The Google results page as HTML, without JavaScript rendering.

Google SERP

POST /api/serp-nojs/v1/serp uses the shared batch. The ZIP holds the results page as HTML.

What this product does with each item

  • search builds the Google URL for us, de, or jp.
  • url must already be a Google /search URL. Missing hl, gl, and pws are filled in. The query string is otherwise kept.
  • country must be US, DE, or JP.
  • device mobile returns iOS results. desktop returns desktop results.

There is no keyword field. The HTTP response and the webhook do not contain the page. The page is a file inside the ZIP.

ZIP entries

A successful index is {index}.html. Unzip it and you have the results page. The ZIP compresses that file. A failed index has no file. manifest.json still lists it, with filename: null.

code on an item is ok, blocked, timeout, capacity, or error. An empty session pool is capacity inside the manifest. The POST itself stays 202.

curl -sS -X POST "https://lexis-solutions-apis.com/api/serp-nojs/v1/serp" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "batch": [
      { "search": "weather today", "country": "US", "device": "desktop" }
    ],
    "webhookUrl": "https://example.com/hook"
  }'

Poll GET /api/serp-nojs/v1/serp/:jobId, or use the webhook, then download with GET /api/results/:jobId.

On this page