Call it
curl https://api.peume.com/v1/call/referring-ips-and-networks \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"target": "backlinko.com",
"network_address_type": "subnet",
"limit": 5,
"filters": [
"backlinks",
">",
100
],
"order_by": [
"rank,desc"
],
"backlinks_filters": [
"dofollow",
"=",
true
]
}
}'const res = await fetch("https://api.peume.com/v1/call/referring-ips-and-networks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"target": "backlinko.com",
"network_address_type": "subnet",
"limit": 5,
"filters": [
"backlinks",
">",
100
],
"order_by": [
"rank,desc"
],
"backlinks_filters": [
"dofollow",
"=",
true
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/referring-ips-and-networks",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"target": "backlinko.com",
"network_address_type": "subnet",
"limit": 5,
"filters": [
"backlinks",
">",
100
],
"order_by": [
"rank,desc"
],
"backlinks_filters": [
"dofollow",
"=",
True
]
}
},
)
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: referring-ips-and-networks.
Parameters
targetstringdomain, subdomain or webpage to get referring networks for required field a domain or a subdomain should be specified without https:// and www. a page should be specified with absolute URL (including http:// or https://)
Example: backlinko.com
network_address_typestringindicates the type of network to get data for optional field possible values: ip, subnet default value: ip
Example: subnet
limitintegerthe maximum number of returned networks optional field default value: 100 maximum value: 1000
Example: 5
offsetintegeroffset in the results array of returned networks optional field default value: 0 if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive pages
internal_list_limitintegermaximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: referring_links_tld referring_links_types referring_links_attributes referring_links_platform_types referring_links_semantic_locations default value: 1
backlinks_status_typestringset what backlinks to return and count optional field you can use this field to choose what backlinks will be returned and used for aggregated metrics for your target; possible values: all – all backlinks will be returned and counted; live – backlinks found during the last check will be returned and
filtersarrayarray of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, =, <>, in, not_in, like, not_like, ilike, not_ilike, match, not_match
Example: ["backlinks",">",100]
order_byarrayresults sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc – results will be sorted in the ascending order desc – results will be sorted in the descending order you should use a comma to set up a sorting type example: ["ba
Example: ["rank,desc"]
backlinks_filtersarrayfilter the backlinks of your target optional field you can use this field to filter the initial backlinks that will be included in the dataset for aggregated metrics for your target you can filter the backlinks by all fields available in the response of this endpoint using this parameter, you can in
Example: ["dofollow","=",true]
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
include_indirect_linksbooleanindicates if indirect links to the target will be included in the results optional field if set to true, the results will include data on indirect links pointing to a page that either redirects to the target, or points to a canonical page if set to false, indirect links will be ignored default value
exclude_internal_backlinksbooleanindicates whether the backlinks from subdomains of the target are excluded optional field if set to false, the backlinks from subdomains of the target will be ommited and you won’t receive the same domain in the response; default value: true
Example: 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
