Real-time Google organic search results. Returns title, URL, snippet, source and domain for each result, with country/language targeting, time filters, city-level geo, and an optional Google AI Overview.
curl "https://apidirect.io/v1/web/search?query=how%20to%20build%20a%20website&pages=2&country=us&language=en" \
-H "X-API-Key: YOUR_API_KEY"
{
"results": [
{
"position": 1,
"rank": 1,
"title": "Website Builder - Create a Free Website",
"url": "https://www.canva.com/website-builder/",
"snippet": "Design and launch a professional, one-of-a-kind website in minutes...",
"source": "Canva",
"domain": "canva.com",
"displayed_link": "https://www.canva.com › website-builder"
}
],
"pages": 2,
"count": 20,
"ai_overview": {
"text_parts": [
{"type": "paragraph", "text": "Building a website involves choosing a platform, designing pages, and publishing..."}
],
"reference_links": [
{"title": "How to Create a Website From Scratch", "link": "https://www.wix.com/blog/how-to-build-website-from-scratch-guide", "source": "Wix"}
]
}
}