DataForSEO Backlinks API / /v3/backlinks/timeseries_new_lost_summary/live.ai
DataForSEO tool dataforseo-backlinks-timeseries-new-lost-summary-live-ai on looot: input fields, $0.024 per call, output shape, and code to run it with curl, JavaScript or Python.
This endpoint will provide you with the number of new and lost backlinks and referring domains for the domain specified in the target field. The results will be provided for a period between the two indicated dates, and metrics will be grouped by the time range that you define: day, week, month, or
- Tool id:
dataforseo-backlinks-timeseries-new-lost-summary-live-ai - Provider: DataForSEO
- Job: Live ai backlinks timeseries new lost summary (
backlinks.timeseries-new-lost-summary.live-ai) - Price: $0.024 per call. A call that fails at the provider costs $0.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
date_from |
string | no | starting date of the time range optional field this field indicates the date which will be used as a threshold for summary data; minimum value: 2019-01-30 maximum value shouldn’t exceed the date specified in the date_to date format: “yyyy-mm-dd” example: “2021-01-01” |
date_to |
string | no | ending date of the time range optional field if you don’t specify this field, the today’s date will be used by default minimum value shouldn’t preceed the date specified in the date_from maximum value: today’s date date format: “yyyy-mm-dd” example: “2021-01-15” |
group_range |
string | no | time range which will be used to group the results optional field default value: month possible values: day, week, month, year note: for day, we will return items corresponding to all dates between and including date_from and date_to; for week/month/year, we will return items corresponding to full weeks/months/years, where each item will indicate the last day of the week/month/year for example, if you specify: “group_range”: “month”, “date_from”: “2022-03-23”, “date_to”: “2022-05-13” we will… |
target |
string | yes | domain to get data for required field a domain should be specified without https:// and www. example: “forbes.com”. Example: “example.com” |
Output
The run’s result holds the provider’s answer. Signed in, looot inspect dataforseo-backlinks-timeseries-new-lost-summary-live-ai prints its fields.
Run it
Every call needs your API token in LOOOT_TOKEN; Sign in shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With wait: 30 the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll GET /v1/runs/<runId>.
Example input with placeholder values:
curl -X POST "https://api.looot.ai/v1/runs" \
-H "Authorization: Bearer $LOOOT_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"endpointId":"dataforseo-backlinks-timeseries-new-lost-summary-live-ai","input":{"target":"example.com"},"wait":30}'const response = await fetch("https://api.looot.ai/v1/runs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
endpointId: "dataforseo-backlinks-timeseries-new-lost-summary-live-ai",
input: {
target: "example.com",
},
wait: 30,
}),
});
const run = await response.json();
console.log(run.status, run.result);import os
import uuid
import requests
response = requests.post(
"https://api.looot.ai/v1/runs",
headers={
"Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"endpointId": "dataforseo-backlinks-timeseries-new-lost-summary-live-ai",
"input": {
"target": "example.com",
},
"wait": 30,
},
timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))To let looot pick among every provider of this job instead, send job:backlinks.timeseries-new-lost-summary.live-ai as endpointId; see the job page.