Crawic Domain Metrics API documentation
Integrate one single-domain request for Domain Rating (DR), Ahrefs Rank, Domain Authority (DA), Page Authority (PA), Trust Flow (TF), Citation Flow (CF), backlinks, referring domains, IPs and subnets, spam score, and education and government link counts.
Create and activate an API account
- Choose a one-time credit pack.
- Create your API account and verify your email.
- Complete payment to unlock the API dashboard.
- Create an API key and make a domain lookup.
Authentication
Authorization: Bearer YOUR_API_KEY
Domain lookup request
POST /api/metrics-api/v1/domain-metrics
Content-Type: application/json
Idempotency-Key: unique-lookup-0001
{"domain":"example.com"}cURL example
curl --request POST --url https://crawic.com/api/metrics-api/v1/domain-metrics --header "Authorization: Bearer $CRAWIC_API_KEY" --header "Idempotency-Key: unique-lookup-0001" --header "Content-Type: application/json" --data '{"domain":"example.com"}'Use a unique idempotency key for each intended lookup. Repeating the same key returns the original result without another credit charge.
A 202 response means the same request is still processing. Retry the same key and domain to receive its result after completion.
Response fields
domaindomain_ratingahrefs_rankdomain_authoritypage_authoritybacklinkstrust_flowcitation_flowspam_scorereferring_domainsreferring_ipsip_subnetseducation_linksgovernment_linksmetrics_updated_at
Common errors
- 400: invalid domain, JSON body, or idempotency key.
- 401: missing, invalid, or revoked API key.
- 402: insufficient API credits.
- 409: idempotency key conflicts with another request.
- 502: lookup could not be completed; reserved credit is returned.
- 503: service access is not currently enabled.
Unavailable metric fields are represented as null, not zero. Review the API overview for current one-time credit packs.
View Crawic Domain Metrics API