SERP
Search engine results (SERP) by query
Returns parsed search engine results for a query. The engine is selected with the engine parameter (currently google, the default). Unlike the page endpoints this is query-shaped, not URL-shaped: pass q (the search query) instead of url, and WebScraping.AI handles proxy routing and parsing. Organic results follow the common SERP naming (organic_results with position, title, link, displayed_link). Flat pricing of 15 credits per search; failed searches are not charged. Response is JSON.
get/serp
Query parameters
qstring required
Search query.
engine'google'
Search engine to query.
glstring
Two-letter country code for geolocation of the search (Google gl parameter).
hlstring
Two-letter language code for the results (Google hl parameter).
pageinteger
Results page number (10 results per page).
Response
Success
Example response
{
"search_parameters": {
"engine": "google",
"q": "coffee machines",
"gl": "us",
"hl": "en",
"page": 1
},
"organic_results": [
{
"position": 1,
"title": "Best Coffee Machines of 2026",
"link": "https://www.example.com/best-coffee-machines",
"displayed_link": "example.com"
}
],
"pagination": {
"current": 1,
"next": 2
}
}