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"}
]
}
}
You pay $0.004 per page of results. A page is 10 results, so pages=3 returns 30 results and is billed as 3 requests. If you set include_ai_overview=true, there's an extra $0.002 added once per request, regardless of how many pages you request.
No. AI Overviews are only generated by Google for certain queries. When the flag is on but no overview was generated for your query, ai_overview will be null. The $0.002 surcharge applies whenever the flag is on.
Results are pulled in real time from Google. The data you see is the same as what a user would see if they searched Google directly from the targeted country, language, location and device.
Yes. All Google advanced operators work in the query parameter — site:, inurl:, intitle:, filetype:, OR, exact-match quotes, exclusion with -, and so on.
The upstream caps web search at 100 results, which is why pages is limited to 10. To get more results, refine the query or paginate with different keywords.
You only pay for successful requests. The Web Search API costs $0.004 per page. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 3 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key