Anchor texts in backlinks by domain or URL
semrush.web.anchors.listAnchor texts across a target's backlink profile, with domain and link counts
- Price
- Price pendingAt provider cost
- Success rate
- —No success-rate data yetLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/semrush.web.anchors.listPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
CSV response, one line per anchor phrase.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
type | string | Required | backlinks_anchors | |
target | string | Required | searchenginejournal.com | |
target_type | string | Required | root_domain | domain | url | root_domain |
display_sort | string | Optional | default backlinks_num_desc | backlinks_num_desc |
display_limit | integer | Optional | COST DIAL — one line per anchor phrase | 10 |
export_escape | integer | Optional | set it — anchor text frequently contains semicolons | |
display_filter | string | Optional | ||
display_offset | integer | Optional | ||
export_columns | string | Required | EFFECTIVELY REQUIRED — the backlinks family serves no default column set. Columns: anchor, domains_num, backlinks_num, first_seen, last_seen | anchor,domains_num,backlinks_num,first_seen,last_seen |
- Query parameters
typestringRequiredExample:
backlinks_anchorstargetstringRequiredExample:
searchenginejournal.comtarget_typestringRequiredroot_domain | domain | url
Example:
root_domaindisplay_sortstringOptionaldefault backlinks_num_desc
Example:
backlinks_num_descdisplay_limitintegerOptionalCOST DIAL — one line per anchor phrase
Example:
10export_escapeintegerOptionalset it — anchor text frequently contains semicolons
display_filterstringOptionaldisplay_offsetintegerOptionalexport_columnsstringRequiredEFFECTIVELY REQUIRED — the backlinks family serves no default column set. Columns: anchor, domains_num, backlinks_num, first_seen, last_seen
Example:
anchor,domains_num,backlinks_num,first_seen,last_seen
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/semrush.web.anchors.list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/semrush.web.anchors.list",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/semrush.web.anchors.list", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data.