Google Search
Search Google and get up to 100 organic results per request
Overview
Returns organic Google search results for a given query. Up to 100 results per request. Use the page parameter to paginate beyond the first page.
Base path: https://api.datacaiman.com/v1/google
Cost: 1 credit per call
GET /v1/google/search
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query |
string | Yes | Search query |
country |
string | No | 2-letter country code (default: us) |
language |
string | No | 2-letter language code (default: en) |
domain |
string | No | Google domain to search (default: google.com) |
page |
integer | No | 1-based page number (default: 1) |
pageSize |
integer | No | Results per page, max 100 (default: 100) |
Response
{
"page": 1,
"items": [
{
"position": 1,
"title": "Example result",
"url": "https://example.com",
"snippet": "A brief description of the result..."
}
]
}
Example
curl "https://api.datacaiman.com/v1/google/search?query=web+scraping&country=us&language=en" \
-H "X-API-Key: dc_your_key_here"
Search in a specific country and language:
curl "https://api.datacaiman.com/v1/google/search?query=inmobiliaria&country=es&language=es&domain=google.es" \
-H "X-API-Key: dc_your_key_here"
Fetch the second page:
curl "https://api.datacaiman.com/v1/google/search?query=web+scraping&page=2&pageSize=100" \
-H "X-API-Key: dc_your_key_here"