Call it
curl https://api.peume.com/v1/call/backlink-totals-by-date \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"target": "example.com",
"date_from": "2026-04-24",
"date_to": "2026-06-24",
"group_range": "month"
}
}'const res = await fetch("https://api.peume.com/v1/call/backlink-totals-by-date", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"target": "example.com",
"date_from": "2026-04-24",
"date_to": "2026-06-24",
"group_range": "month"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/backlink-totals-by-date",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"target": "example.com",
"date_from": "2026-04-24",
"date_to": "2026-06-24",
"group_range": "month"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: backlink-totals-by-date.
Parameters
targetstringdomain to get data for required field a domain should be specified without https:// and www. example: "forbes.com"
Example: example.com
date_fromstringstarting 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"
Example: 2026-04-24
date_tostringending 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"
Example: 2026-06-24
group_rangestringtime 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 w
Example: month
include_subdomainsbooleanindicates if the subdomains of the target will be included in the search optional field if set to false, the subdomains will be ignored default value: true
rank_scalestringdefines the scale used for calculating and displaying the rank, domain_from_rank, and page_from_rank values optional field you can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale possible values: one_hundred — rank values are displayed on a 0–100 scale one_t
tagstringuser-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response
