Serper-compatible Google web search
Set SERPER_BASE_URL=https://api.litescrape.com and use a Litescrape key in SERPER_API_KEY. Accepts one query as JSON or query parameters; JSON fields take precedence. Returns Serper searchParameters, organic and source-provided rich results. One successful request consumes one Litescrape call.
Request
- Base URL: https://api.litescrape.com
- URL: https://api.litescrape.com/search
- Auth: one of:
- API key in header X-API-KEY
- HTTP bearer
Query parameters
Search query. Required, non-empty, at most 2,048 characters.
Lowercase two-letter country code.
Language code, such as en or fr.
Human-readable search location, up to 512 characters, using the native Google Search location rules.
Integer from 1 to 10; caps the returned organic results.
Result page, starting at 1. Translates to native start=(page-1)*num.
Set false to disable Google's spelling correction.
Native Google filter, such as qdr:w for the past week.
SafeSearch: active or off.
Only search is accepted on this route.
Only google is accepted.
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.
Request body
Example request
{
"q": "coffee brewing",
"gl": "us",
"hl": "en",
"location": "Austin, Texas, United States",
"num": 10,
"page": 2,
"tbs": "qdr:w"
}Response
Serper-compatible web search results; one Litescrape call consumed.
Example response
{
"searchParameters": {
"q": "coffee brewing",
"gl": "us",
"hl": "en",
"location": "Austin, Texas, United States",
"num": 10,
"page": 2,
"tbs": "qdr:w"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.