List domains
List the domains your AccuRanker user can open, with their group.
GET https://cotlet.dev/api/v1/accuranker/domains
read
Returns each domain with its ID, display name, group and the number of tracked keywords. Use the domain_id in every other tool. Domains come in the order of the Domains tab.
Parameters
| Name | Type | Description |
|---|---|---|
| search string | string | Part of a domain name or display name. |
| group string | string | Group name; leave out for all groups. |
Request
curl https://cotlet.dev/api/v1/accuranker/domains \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accuranker", "list_domains") const result = await cotlet.call('accuranker', 'list_domains'); cotlet call accuranker list_domains Example response
{
"domains": [
{
"domain_id": "48213",
"domain": "acme-outdoors.com",
"display_name": "Acme Outdoors",
"group": "Clients",
"tracked_keywords": 212
},
{
"domain_id": "48377",
"domain": "northpeak.io",
"display_name": "Northpeak",
"group": "Clients",
"tracked_keywords": 96
}
]
}