Add domain

Add a domain to a group with its default search settings.

POST https://cotlet.dev/api/v1/accuranker/domains

write

Returns the new domain with its ID. A group that does not exist fails with GROUP_NOT_FOUND; create the group in AccuRanker first. It adds no keywords, reaches no one and is undone by deleting the domain in the app, so it does not wait for your OK.

Parameters

Parameters: add_domain
NameTypeDescription
domain_name string required string Domain without https:// and www.
group string required string Name of an existing group.
display_name string string Label shown in your data.
search_engine string string Default search engine: Google, Bing, Baidu or YouTube.
country_locale string string Default country and language, for example United States (English).
location string string Default location; leave out for country level.
google_business_name string string Helps find local ranking data.
include_subdomains boolean boolean Count results from subdomains.
exact_match boolean boolean Count only results whose URL exactly matches the domain name.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/accuranker/domains \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain_name":"acme-outdoors.com","display_name":"Acme Outdoors","group":"Clients","search_engine":"Google","country_locale":"United States (English)"}'
Python
result = client.call("accuranker", "add_domain", {"domain_name":"acme-outdoors.com","display_name":"Acme Outdoors","group":"Clients","search_engine":"Google","country_locale":"United States (English)"})
Node.js
const result = await cotlet.call('accuranker', 'add_domain', {"domain_name":"acme-outdoors.com","display_name":"Acme Outdoors","group":"Clients","search_engine":"Google","country_locale":"United States (English)"});
CLI
cotlet call accuranker add_domain --data '{"domain_name":"acme-outdoors.com","display_name":"Acme Outdoors","group":"Clients","search_engine":"Google","country_locale":"United States (English)"}'

Example response

JSON

{
  "domain_id": "48501",
  "domain": "acme-outdoors.com",
  "display_name": "Acme Outdoors",
  "group": "Clients",
  "default_search_engine": "Google",
  "default_country_locale": "United States (English)"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.