POST/v1/data/google/search
Google Search
Search Google and get structured SERP data including organic results, featured snippets, People Also Ask, knowledge panels, AI overviews, videos, and related searches.
Target Latency
1.2s - 4.5s
Credits
1 cr/req
Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| query | string | REQUIRED | Search query (1-2048 characters). |
| num_results | number | optional | Number of organic results (1-100). |
| page | number | optional | Result page number (1-10). |
| language | string | optional | Language code (hl parameter). |
| country | string | optional | Country code for geo-targeting (gl parameter, e.g. us, uk, in). |
| safe_search | boolean | optional | Enable safe search filter. |
| time_range | string | optional | Time filter: "hour", "day", "week", "month", "year". |
cURL Example
curl -X POST "https://api.datablue.dev/v1/data/google/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "machine learning frameworks comparison 2026",
"num_results": 10,
"language": "en",
"country": "us"
}'System Responses
200 OK
Request processed successfully.
401 UNAUTHORIZED
Missing or invalid API key.
429 RATE LIMIT
System capacity exceeded.
500 SYSTEM FAILURE
Internal core exception.
EXAMPLE RESPONSE
{
"success": true,
"query": "machine learning frameworks comparison 2026",
"total_results": "About 142,000,000 results",
"time_taken": 1.23,
"organic_results": [
{
"position": 1,
"title": "Best Machine Learning Frameworks in 2026: Complete Comparison",
"url": "https://towardsdatascience.com/ml-frameworks-2026",
"displayed_url": "towardsdatascience.com",
"snippet": "A comprehensive comparison of PyTorch, JAX, TensorFlow, and MLX for production ML in 2026...",
"date": "Mar 15, 2026"
},
{
"position": 2,
"title": "PyTorch vs JAX vs TensorFlow - Benchmark Results",
"url": "https://paperswithcode.com/benchmarks/frameworks",
"displayed_url": "paperswithcode.com",
"snippet": "Side-by-side benchmark results across training speed, inference latency, and memory usage..."
}
],
"featured_snippet": {
"title": "Top ML Frameworks 2026",
"url": "https://towardsdatascience.com/ml-frameworks-2026",
"content": "The top machine learning frameworks in 2026 are: 1. PyTorch 2.5 2. JAX 0.5 3. TensorFlow 2.18 4. MLX 0.22",
"type": "list"
},
"people_also_ask": [
{
"question": "What is the best ML framework for beginners?",
"snippet": "PyTorch is widely recommended for beginners..."
},
{
"question": "Is TensorFlow still relevant in 2026?",
"snippet": "Yes, TensorFlow remains widely used in production..."
}
],
"related_searches": [
{
"query": "pytorch vs jax performance"
},
{
"query": "best ml framework for production"
}
],
"knowledge_panel": null,
"ai_overview": null,
"videos": [
{
"title": "PyTorch vs JAX in 2026 - Full Comparison",
"url": "https://youtube.com/watch?v=abc123",
"duration": "18:42",
"channel": "Yannic Kilcher"
}
]
}