Search
0.5 creditsGet structured Google search results via a simple API. Supports web and image search with pagination.
/api/v1/tools/google/searchParameters
Search query
Total results to return (auto-paginates). Overrides num/start. Google caps at ~100.
Results per page, 1-10 (default 10). Use maxResults for auto-pagination.
Pagination offset, 1-91 (starts at 1). Use with num for manual paging.
Country code for results (e.g. "us", "gb")
Language code for interface (e.g. "en", "fr")
Sort expression (e.g. "date" for recency)
"web" (default) or "image". Set to "image" to search Google Images.
Number of Knowledge Graph entities to include, 0-20 (default 5). Set to 0 to disable.
Fields per result. Defaults: position, type, title, url, displayUrl, siteName, description. Use ["*"] for all. Options: position, type, title, url, description, htmlDescription, displayUrl, siteName, thumbnail, cacheId, mime, fileFormat, imageWidth, imageHeight, imageByteSize, pagemap, labels.
Response Schema
Search results
Current page number
The search query
Total number of results
Search time in seconds
Number of results on this page
Array of search results (fields depend on fields parameter)
Spelling suggestion (if any)
Knowledge Graph entities related to the query
Next page number
Start index for next page
Request metadata
Tool name (google-search)
Credits consumed (0.5)
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/google/search \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"q": "best coffee shops in tokyo", "num": 5}'
Response Example
{"data": {"pageNumber": 1,"searchTerm": "best coffee shops in tokyo","totalResults": "12400000","searchTime": 0.42,"resultCount": 5,"results": [{"position": 1,"type": "web","title": "Best Coffee Shops in Tokyo - TimeOut","url": "https://www.timeout.com/tokyo/restaurants/best-coffee-shops-in-tokyo","displayUrl": "www.timeout.com/tokyo/restaurants/best-coffee-shops-in-tokyo","siteName": "www.timeout.com","description": "Discover the best coffee shops in Tokyo, from specialty roasters to cozy kissaten..."}],"spellCheck": null,"knowledgeGraph": [{"name": "Tokyo","description": "Capital of Japan","type": ["Thing","City"],"detailedDescription": {"articleBody": "Tokyo is the capital of Japan and one of the most populous cities in the world...","url": "https://en.wikipedia.org/wiki/Tokyo"}}],"nextPage": 2,"nextStart": 6},"meta": {"tool": "google-search","creditsUsed": 0.5,"requestId": "req_abc123"}}