Batch Analysis
batch_analysisBatch analysis: compare up to 200 domains or pages (full https:// addresses) in one call: each site's link figures from DataForSEO Backlinks and its Google figures in one market from DataForSEO Labs. rows answers every site in the order given (www., case and duplicates removed; lines that are not a site are listed in invalid): kind (domain or page); links with status MEASURED, site_strength (0-100, how strong its links make it; for a page, the page's own), domain_strength (its whole site's), backlinks, referring_domains, referring_main_domains, spam_score (0-100, average of its links) and first_seen; traffic with status MEASURED, organic_keywords (keywords it ranks for in Google's top 100), organic_traffic (estimated monthly visits from Google), paid_keywords and paid_traffic (its Google ads). status NO_DATA means the source holds nothing for that site (free); NOT_MEASURED means it is not stored and was not bought (measure false, or the rest of the list was refused: purchase_refused says why); NOT_SUPPORTED means the market has no Google figures. A missing figure is null, never 0. Link counts include every link the source has recorded, so they can be a few per cent above the backlinks tool's live-link counts; strength and spam score are the same. organic_traffic for a domain is the domain_overview figure. Price: each site's figures are stored for 7 days and free to anyone; the rest is bought in blocks of up to 100 sites: links 50-60 credits a block and Google figures 25-50 credits a block by size (200 new sites: at most 220 credits), nothing for a block that returns no data. credits_to_measure quotes what is not stored; measure false only reads what is stored and never charges. max_credits caps the call: when the sites not stored would cost more, nothing is bought (PRICE_ABOVE_LIMIT). For one site in depth use backlinks and domain_overview.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targets": "<targets>"
},
"name": "batch_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Two-letter market of the Google figures, such as US or GB (UK is read as GB). Link figures are the same in every market. | US |
| measure | No | false: only read stored figures, never charge (credits_to_measure quotes the rest). | |
| targets | Yes | 1 to 200 domains (such as example.com) or pages (full https:// addresses). | |
| language | No | Two-letter language code, such as en or de. | en |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. | |
| max_credits | No | Optional. The most this call may charge; when the sites not stored would cost more, nothing is bought. | |
| idempotency_key | No | Optional. A repeated identical call is answered again at no charge. |