Google Search
Base URL:https://drain.lat/api/v1/googlesearch
Powered by Google Custom Search API. Results are cached for 10 minutes per unique query to reduce API quota usage.
GET /search
GET /search
Search Google and retrieve structured web results with metadata.
string
required
Search query/keywords.
number
Number of results to return. Max
10. Default 10.number
Starting index for pagination. Default
1.string
Safe search level. Options:
off, medium, high.string
Language restrict (e.g.
lang_en for English, lang_es for Spanish).string
Date restrict filter (e.g.
d7 for last 7 days, m1 for last month, y1 for last year).string
Restrict results to a specific site (e.g.
github.com).string
File type filter (e.g.
pdf, doc, ppt, xls).string
The search query used.
number
Estimated total results available.
number
Search execution time in seconds.
array
Response
Pagination
To get the next page of results, increment thestart parameter by the number of results per page: