DataForSEO Google Bulk Traffic Estimation
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/liveEstimate monthly organic and paid traffic for up to 100 domains, subdomains or URLs in Google by location and language.
- Cena
- Od $0.01224USD / wywołanie
- Metoda
- POST
- Odpowiedź
- JSON
- Parametry
- 0 wymaganych · 3 opcjonalnych
Playground
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
README API
Google Bulk Traffic Estimation API
Returns estimated monthly organic and paid search traffic for a list of domains, subdomains or URLs on Google. Send up to 100 targets with a location_code and a language_code.
Use cases
- Compare the estimated organic traffic of several competitor domains in one call.
- Check whether a domain buys paid search traffic by reading its paid keyword count and traffic value.
- Rank a list of prospect sites by estimated search traffic before outreach.
- Track how a set of domains differs between locations by repeating the call with another
location_code.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"targets": ["openai.com", "anthropic.com"], "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
language_code | string | No | |
location_code | integer | No | |
targets | array | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "dataforseo_labs",
"function": "bulk_traffic_estimation",
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"targets": [
"openai.com"
]
},
"id": "11030828-2190-0391-0000-28e0759fdf73",
"path": [
"v3"
],
"result": [
{
"items": [
{
"metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"count": 322762,
"etv": 18608008.67582856
},
"paid": {
"count": 40,
"etv": 422.7895669937134
}
},
"se_type": "google",
"target": "openai.com"
}
],
"items_count": 2,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"total_count": 2
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.2070 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.2155 sec.",
"version": "0.1.20261022"
}
Response fields
| Field | Meaning |
|---|---|
tasks[].result[].items[].target | The domain, subdomain or URL that the metrics describe. Match it to the value you sent in targets. |
tasks[].result[].items[].metrics.organic.count | Number of organic results counted for the target, such as 322762 for openai.com. |
tasks[].result[].items[].metrics.organic.etv | Estimated traffic value (etv) of the target's organic results. Use it to compare targets with each other. |
tasks[].result[].items[].metrics.paid.count | Number of paid results counted for the target. A value of 0 means no paid results were found. |
tasks[].result[].items[].metrics.paid.etv | Estimated traffic value (etv) of the target's paid results. |
tasks[].result[].items[].metrics.featured_snippet / tasks[].result[].items[].metrics.local_pack | Metrics for featured snippet and local pack results. They are null when none apply to the target. |
tasks[].result[].items_count / tasks[].result[].total_count | Number of items in the result and total number of items available. Both are 2 for the two targets in this request. |
tasks[].result[].location_code / tasks[].result[].language_code | The location and language the estimate was calculated for. |
Notes
- Pass
targetsas an array of up to 100 strings. Each string can be a domain, a subdomain or a URL. - Use
location_code2840withlanguage_codeenfor the example request. Other location codes select other markets. - Results come back in
tasks[].result[].items[], one item per target. Readtasks[].status_codeto confirm the task succeeded (20000means OK).
Pricing
Billed at the actual cost of each call, about $0.01224 for the request above. Failed calls are not charged.
Zacznij tworzyć
Wyślij pierwsze żądanie
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
"openai.com",
"anthropic.com"
],
"language_code": "en",
"location_code": 2840
}'2. Uwierzytelnianie
Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
3. Parametry
location_codeinteger
language_codestring
4. Odpowiedź
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
Powiązane APIs
| API | Cena | Odpowiedź |
|---|---|---|
DataForSEO | Od $0.01224 za wywołanie | JSON |
DataForSEO | Od $0.0102 za wywołanie | JSON |
DataForSEO | Od $0.000724 za wywołanie | JSON |
DataForSEO | $0.004 za wywołanie | JSON |
DataForSEO | Od $0.00162 za wywołanie | JSON |
DataForSEO | Od $0.001105 za wywołanie | JSON |
Pytania
FAQ
Jak używać API DataForSEO Google Bulk Traffic Estimation?
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_traffic_estimation/live z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Ile kosztuje API DataForSEO Google Bulk Traffic Estimation?
Od $0.01224 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Jakie parametry przyjmuje API DataForSEO Google Bulk Traffic Estimation?
Nie są wymagane żadne parametry. Opcjonalne: targets (array), location_code (integer) i language_code (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Co zwraca API DataForSEO Google Bulk Traffic Estimation?
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Czy potrzebuję konta deweloperskiego DataForSEO lub klucza API?
Nie. DataForSEO Google Bulk Traffic Estimation działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API DataForSEO.
