APILinkbuilding
Linkbuilding API. Spot lost links or changed anchors and follow every prospect through outreach.
Pull your link pipeline, partner-page checks and outreach queue into your client report or internal tool. We keep checking every placement and tracking scheduled outreach in the background, so you don't have to worry about it. The REST API and MCP tools are in every plan at no extra cost, with 60 calls per minute.
Live page checks
Know if your link is still there and whether its anchor, target or follow status changed.
Prospect pipeline
Every stage from found to live or lost, with the email or contact form on each domain.
Outreach status
See how many sites agreed per sequence and which mails are queued on your own server.
In every plan
REST endpoints and MCP tools share 60 calls per minute at no extra cost.
What you can read from your link pipeline and outreach queue
Call any endpoint under /rest/v1/ with a JSON POST or a GET query string. Pass your personal API key from the app's /mcp page in the Authorization header as a Bearer token. Every endpoint is read-only and takes a site_id.
| REST endpoint | MCP tool | What it returns |
|---|---|---|
linkbuilding.overview | get_linkbuilding_overview | Live and lost counts, 12 months of won and lost links, the 90-day prospect funnel, links that need a look, top live anchors and whether the mail server is ready. |
linkbuilding.links | get_linkbuilding_links | The site's links and prospects, newest first, with pipeline stage, domain contacts, page checks and outreach mail status. Filter by stage and fetch up to 5,000 rows per call. |
linkbuilding.sequences | get_linkbuilding_sequences | The site's outreach sequences (a first mail and up to two follow-ups spaced by working days) with their contacted and agreed counts. |
linkbuilding.queue | get_linkbuilding_queue | Up to 100 outreach mails scheduled on the site's own mail server, soonest first, with sent_today against day_limit. |
Fetch a site's link pipeline with curl
Pass a site_id with an optional stage or limit to get a site's prospects and placements newest first.
curl -X POST https://app.marketingtracer.com/rest/v1/linkbuilding.links \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site_id": "YOUR_SITE_ID", "limit": 2}'
{
"data": [
{
"id": "6ae43406b841f35e0f0d9c95",
"url": "https://news.example.org/articles/rail-grant",
"domain": "news.example.org",
"status": "agreed",
"stage": "agreed",
"my_url": null,
"anchor": null,
"tag": "critical css",
"note": null,
"email": null,
"contact_form": "https://news.example.org/contact",
"contact_queued": false,
"contact_checked_at": "2026-10-30T12:48:34Z",
"added_at": "2026-10-30T06:07:02Z",
"status_at": "2026-10-30T12:49:44Z",
"live_at": null,
"check": {
"state": null,
"last_at": null,
"next_at": "2026-10-31T12:49:44Z",
"found": null,
"history": [],
"changes": []
},
"mail": {
"sequence_id": null,
"step": 0,
"next_at": null,
"last_at": null,
"stopped": null,
"error": null
}
},
…
],
"meta": {
"site_id": "YOUR_SITE_ID",
"next_cursor": "6ae2e285b195fcf9b00f6244",
"total": 958
}
}
Catch lost links and quiet edits on partner pages
Three months after an editor places your link, a CMS update drops the paragraph, adds nofollow or points the link at your homepage. Nobody emails you when an old article gets edited.
We check your partner pages in the background. A link only moves to lost after two misses in a row. When a partner site times out, that check logs an error and leaves your live count alone. Feed the overview into a morning Slack message to spot recent losses and changed links right away.
Nudge promised placements before the thread goes cold
The editor promises to add your link this week, so you mark the page agreed. Busy client work buries the thread. Four weeks later the article still has no link.
We check agreed pages too. As soon as your link appears, the placement moves to live. Anything still waiting after 14 days lands in the overview's attention list. Fetch the domain's email or contact form from the links endpoint so Tuesday's follow-up takes five minutes.
Show the outreach behind a quiet month in client reports
Link building moves in waves. In a month where only two placements go live, a bare link count makes your report look idle even when you pitched forty sites.
Pull the pipeline numbers into your report template so the client sees the work in progress. Show 12 months of won and lost links next to the 90-day prospect funnel, live anchor texts, agreed counts per sequence and today's mail volume from the site's own server.
Endpoints, arguments and field descriptions
Every endpoint is a POST with a JSON body; reading endpoints also take a GET with the same arguments in the query string. Send your API key as Authorization: Bearer YOUR_API_KEY. Every answer is {"data": …, "meta": {…}}: meta.site_id always, meta.next_cursor and meta.total for a list, meta.period where the endpoint covers a period. An error is {"error": {"code", "message"}} with the HTTP status: 400 invalid_argument, unknown_argument or missing_argument; 401 not_authenticated; 403 no_access or tool_off; 404 not_found; 429 rate_limited. The machine-readable version is openapi.json.
linkbuilding.overview
POST /rest/v1/linkbuilding.overview · MCP tool get_linkbuilding_overview
Returns the link building results of one site: live and lost links, links won and lost per month (12 months up to month), how far the prospects added in the last 90 days got (found, contacted, agreed, live), what needs attention, and the anchor texts of the live links.
Arguments
| Argument | Type | What it does |
|---|---|---|
site_id (required) | string | The site: its id from list_sites, or the id in the app’s address. |
month | string, YYYY-MM | Last month of the 12-month series, YYYY-MM. Defaults to this month. |
Example request
curl -X POST https://app.marketingtracer.com/rest/v1/linkbuilding.overview \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site_id":"YOUR_SITE_ID"}'
Example response · A real answer, anonymised and shortened to two items per list.
{
"data": {
"month": "2026-10",
"kpis": {
"live": 8,
"lost": 1,
"waiting": 4,
"follow": 0,
"checked": 0,
"nofollow": 0,
"new_this_month": 1,
"lost_this_month": 0,
"follow_pct": null
},
"months": [{"month": "2026-09", "new": 0, "lost": 0}, {"month": "2026-10", "new": 1, "lost": 0}],
"funnel_90_days": {"found": 45, "sent": 2, "agreed": 2, "live": 1},
"attention": {"lost": [], "agreed_old": [], "changed": [], "mails_next_24h": 0},
"anchors": [
{"anchor": "example text", "count": 2, "share_pct": 40},
{"anchor": "more text", "count": 1, "share_pct": 20}
],
"smtp_ready": false
},
"meta": {"site_id": "YOUR_SITE_ID"}
}
Response fields · in data:
| Field | Type | What it is |
|---|---|---|
month | string | The last month of the series, YYYY-MM. |
kpis | object | The state now. |
kpis.live | integer | Live links. |
kpis.lost | integer | Links that were live and are gone. |
kpis.waiting | integer | Contacted links waiting for an answer. |
kpis.follow | integer | Checked live links that are follow (as last found). |
kpis.checked | integer | Live links our check has found on their page at least once. |
kpis.nofollow | integer | Checked live links that are nofollow (as last found). |
kpis.new_this_month | integer | Links that went live in month. |
kpis.lost_this_month | integer | Links lost in month. |
kpis.follow_pct | number or null | follow as a share of checked, 0-100, a whole number; null when no live link has been found yet. |
months | array | 12 months up to month, oldest first. |
months[].month | string | YYYY-MM. |
months[].new | integer | Links that went live that month (for older links without a live date: the month they were added). |
months[].lost | integer | Links lost that month. |
funnel_90_days | object | Prospects added in the last 90 days, by how far they got. |
funnel_90_days.found | integer | All of them. |
funnel_90_days.sent | integer | Contacted, or rejected later. |
funnel_90_days.agreed | integer | Agreed (or further). |
funnel_90_days.live | integer | Live (or lost later). |
attention | object | What needs a look; the lists hold at most 5 each. |
attention.lost | array | Links lost in the last 30 days. |
attention.lost[].link_id | string | The link. |
attention.lost[].url | string | The page. |
attention.lost[].lost_at | string or null | When it was lost, ISO 8601 UTC. |
attention.agreed_old | array | Links agreed more than 14 days ago and not live yet. |
attention.agreed_old[].link_id | string | The link. |
attention.agreed_old[].url | string | The page. |
attention.changed | array | Live links that changed. |
attention.changed[].link_id | string | The link. |
attention.changed[].url | string | The page. |
attention.changed[].changes | array<string> | nofollow, anchor and/or target. |
attention.mails_next_24h | integer | Outreach mails due within the next 24 hours, including overdue ones. |
anchors | array | The 4 most used anchor texts of the live links, then one row with anchor null for all the others. |
anchors[].anchor | string or null | The anchor text, lowercase (the one our check found, else the one you want); null for the row with all other anchors. |
anchors[].count | integer | Live links with it. |
anchors[].share_pct | number | Share of the live links that have an anchor text, 0-100, a whole number. |
smtp_ready | boolean | Whether the site's own mail server is set up and approved for outreach. |
linkbuilding.links
POST /rest/v1/linkbuilding.links · MCP tool get_linkbuilding_links
Returns the links and prospects of one site, newest first: the page, its domain, the stage (found, sent = contacted, agreed, live, lost, rejected), the contact found, what our own check last saw on the page (is the link there, the anchor, follow or nofollow) and the state of the outreach mails.
Arguments
| Argument | Type | What it does |
|---|---|---|
site_id (required) | string | The site: its id from list_sites, or the id in the app’s address. |
stage | one of found, sent, agreed, live, lost, rejected | Only links in this stage. |
limit | integer, 1 to 5,000, default 100 | Links per call. |
cursor | string | meta.next_cursor of the previous call, for the next page. |
Example request
curl -X POST https://app.marketingtracer.com/rest/v1/linkbuilding.links \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site_id":"YOUR_SITE_ID","limit":2}'
Example response · A real answer, anonymised and shortened to two items per list.
{
"data": [
{
"id": "6ae43406b841f35e0f0d9c95",
"url": "https://news.example.org/articles/rail-grant",
"domain": "news.example.org",
"status": "agreed",
"stage": "agreed",
"my_url": null,
"anchor": null,
"tag": "critical css",
"note": null,
"email": null,
"contact_form": "https://news.example.org/contact",
"contact_queued": false,
"contact_checked_at": "2026-10-30T12:48:34Z",
"added_at": "2026-10-30T06:07:02Z",
"status_at": "2026-10-30T12:49:44Z",
"live_at": null,
"check": {
"state": null,
"last_at": null,
"next_at": "2026-10-31T12:49:44Z",
"found": null,
"history": [],
"changes": []
},
"mail": {
"sequence_id": null,
"step": 0,
"next_at": null,
"last_at": null,
"stopped": null,
"error": null
}
},
{
"id": "6ae2e285b195fcf9b00f6244",
"url": "https://m.example.net/news/report/css-officers",
"domain": "m.example.net",
"status": "open",
"stage": "found",
"my_url": null,
"anchor": null,
"tag": "critical css",
"note": null,
"email": null,
"contact_form": "https://example.net/contact",
"contact_queued": false,
"contact_checked_at": "2026-10-30T12:48:30Z",
"added_at": "2026-10-29T06:07:01Z",
"status_at": null,
"live_at": null,
"check": {
"state": null,
"last_at": null,
"next_at": null,
"found": null,
"history": [],
"changes": []
},
"mail": {
"sequence_id": null,
"step": 0,
"next_at": null,
"last_at": null,
"stopped": null,
"error": null
}
}
],
"meta": {"site_id": "YOUR_SITE_ID", "next_cursor": "6ae2e285b195fcf9b00f6244", "total": 958}
}
Response fields · data is a list; each item has:
| Field | Type | What it is |
|---|---|---|
id | string | The link id. |
url | string | The page that links, or should link, to the site. |
domain | string | Its domain. |
status | string | The detailed status: open, pending, firstreminder, secondreminder, agreed, done, lost, rejected or stalled. |
stage | string | found, sent, agreed, live, lost or rejected. |
my_url | string or null | The page of the site the link should point to, as entered; null when not set (then the homepage). |
anchor | string or null | The anchor text you want. |
tag | string or null | Your own label. |
note | string or null | Your own note. |
email | string or null | The contact address found on this domain. |
contact_form | string or null | The contact form found on this domain. |
contact_queued | boolean | Whether a contact search is waiting. |
contact_checked_at | string or null | When a contact was last looked for on this domain, ISO 8601 UTC. |
added_at | string | When it was added, ISO 8601 UTC. |
status_at | string or null | When the status last changed, ISO 8601 UTC. |
live_at | string or null | When it went live, ISO 8601 UTC. |
check | object | Our check of the page. |
check.state | string or null | found, changed or missing at the last check that got an answer; null before that. |
check.last_at | string or null | When it was last checked, ISO 8601 UTC. |
check.next_at | string or null | When it is checked next, ISO 8601 UTC; null when it is not checked (stage found or rejected). |
check.found | object or null | The link as our check last found it on the page; null if never found. |
check.found.href | string or null | Where it points. |
check.found.anchor | string or null | Its anchor text. |
check.found.rel | string or null | Its rel attribute. |
check.found.follow | boolean | Whether it is follow. |
check.history | array | The last checks, oldest first, at most 12. |
check.history[].at | string or null | When, ISO 8601 UTC. |
check.history[].result | string or null | found, changed, missing, or error (the page did not answer; never counts as missing). |
check.changes | array<string> | What changed at the last check that found the link: nofollow, anchor and/or target. |
mail | object | The outreach for this link. |
mail.sequence_id | string or null | The sequence it is in. |
mail.step | integer | Mails sent so far. |
mail.next_at | string or null | When the next mail goes out, ISO 8601 UTC. |
mail.last_at | string or null | When the last mail went out, ISO 8601 UTC. |
mail.stopped | string or null | Why the sequence stopped: manual, deleted (sequence removed), status (status changed), no_email, blocked (do-not-contact list), recent (domain contacted in the last 180 days) or no_step; null when it did not stop. |
mail.error | string or null | The last sending error. |
linkbuilding.sequences
POST /rest/v1/linkbuilding.sequences · MCP tool get_linkbuilding_sequences
Returns the outreach sequences of one site: a first mail and up to two follow-ups after a number of working days, with how many sites were contacted with it and how many agreed.
Arguments
| Argument | Type | What it does |
|---|---|---|
site_id (required) | string | The site: its id from list_sites, or the id in the app’s address. |
Example request
curl -X POST https://app.marketingtracer.com/rest/v1/linkbuilding.sequences \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site_id":"YOUR_SITE_ID"}'
Example response · Illustrative: the account we sampled had no sequences or scheduled mails; the fields are as the code returns them.
{
"data": [
{
"id": "seq1",
"name": "Resource pages",
"steps": [
{
"subject": "A resource for your readers",
"body": "Hi [voornaam], I read [partner_link] …",
"after_workdays": 0
},
{
"subject": "",
"body": "Hi [voornaam], a quick follow-up …",
"after_workdays": 4
}
],
"contacted": 12,
"agreed": 3
}
],
"meta": {"site_id": "YOUR_SITE_ID", "next_cursor": null, "total": 1}
}
Response fields · data is a list; each item has:
| Field | Type | What it is |
|---|---|---|
id | string | The sequence id. |
name | string | Its name. |
steps | array | The mails, in order. |
steps[].subject | string | The subject; empty for a follow-up means "Re:" plus the first subject. |
steps[].body | string | The text, with the fields [partner_domain], [partner_link], [voornaam], [mijn_pagina] and [ankertekst]. |
steps[].after_workdays | integer | Working days after the mail before; always 0 for the first. |
contacted | integer | Links that got at least one mail of it. |
agreed | integer | Links in it that are now agreed or live. |
linkbuilding.queue
POST /rest/v1/linkbuilding.queue · MCP tool get_linkbuilding_queue
Returns the outreach mails scheduled for one site, sent through the site's own mail server on working days, and how many went out today against the daily limit.
Arguments
| Argument | Type | What it does |
|---|---|---|
site_id (required) | string | The site: its id from list_sites, or the id in the app’s address. |
Example request
curl -X POST https://app.marketingtracer.com/rest/v1/linkbuilding.queue \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site_id":"YOUR_SITE_ID"}'
Example response · Illustrative: the account we sampled had no sequences or scheduled mails; the fields are as the code returns them.
{
"data": {
"sent_today": 3,
"day_limit": 25,
"scheduled": [
{
"link_id": "6ae43406b841f35e0f0d9c95",
"domain": "news.example.org",
"email": "editor@example.org",
"sequence_id": "seq1",
"sequence": "Resource pages",
"step": 1,
"send_at": "2026-11-02T09:10:00Z",
"error": null
}
]
},
"meta": {"site_id": "YOUR_SITE_ID"}
}
Response fields · in data:
| Field | Type | What it is |
|---|---|---|
sent_today | integer | Mails sent today (Amsterdam time). |
day_limit | integer | Mails the site sends at most per day. |
scheduled | array | The next mails, soonest first, at most 100, including overdue ones. |
scheduled[].link_id | string | The link. |
scheduled[].domain | string | The site it goes to. |
scheduled[].email | string or null | The address. |
scheduled[].sequence_id | string or null | The sequence. |
scheduled[].sequence | string or null | Its name. |
scheduled[].step | integer | Mails sent so far; this is the next one. |
scheduled[].send_at | string or null | When it goes out, ISO 8601 UTC; the time may already have passed. |
scheduled[].error | string or null | The last sending error. |
White-label linkbuilding API. Your domain serves every client's link pipeline.
On your custom domain, the REST endpoints, openapi.json and the MCP server answer under your brand. One personal key reads every client site you can open in the app. You decide whether your clients also get the API and the MCP. Full white label for the whole dashboard is in every plan.
Free 14-day trial
MarketingTracer smart A.I. tool shows you what you need to rank. Then we'll help you get it done.
- No credit card required
- No installation needed
- No strings attached
Linkbuilding API FAQ
Something else? Ask us.
Which links are included in the Linkbuilding API?
You get the prospects and placements in each site's own linkbuilding pipeline. That covers pages added from the Rank tracker, Google Alerts feeds or your own list. MarketingTracer has no backlink index, so the endpoints return only the pages tracked for that site.
Can I add prospects or send outreach emails through the API?
No. Every public endpoint and MCP tool is read-only. You add prospects and run outreach inside the MarketingTracer app.
How does MarketingTracer decide whether a live link is lost or changed?
Our checker fetches the partner page and looks for the link to your site. Temporary server errors never count as missing. A link moves to lost only after two checks in a row find it gone. When the link stays on the page with a new anchor or follow status, or points to another URL, it remains live and flags what changed.
Who sends the outreach emails shown in the queue endpoint?
Each site sends outreach through its own approved mail server on working days, up to its daily limit. MarketingTracer never sends outreach mails from its own servers. Calling linkbuilding.queue shows how many mails went out today against that daily limit, plus up to 100 scheduled messages.
How do I use these tools in Claude Code or Cursor?
Connect your assistant to /rest/mcp/server on app.marketingtracer.com with your personal API key as a bearer token. The four get_linkbuilding_* tools load next to the 43 other MarketingTracer SEO tools. Copy-paste setup snippets for Claude Code and Cursor are on the SEO MCP page.
What does API access cost, and what is the rate limit?
API and MCP access come with every MarketingTracer plan at no extra cost. Your personal key allows 60 calls per minute across the REST endpoints and the MCP server together. Plan details are on the pricing page.
How do I page through sites with thousands of prospects?
Pass limit (1 to 5,000, default 100) and an optional stage filter to linkbuilding.links. When more rows follow, the response includes meta.next_cursor. Send that value back as cursor to fetch the next page.