Get fast, programmatic access to our Domain Authority checker with a simple Pay-As-You-Go API plan.
Integrate our fast and reliable Domain Authority checker directly into your own applications, scripts, or dashboards. We offer a simple, no-nonsense "Pay As You Go" plan perfect for projects of any size.
Your request balance is valid for 6 months from the date of purchase.
Get Your API KeyOur API is designed for simplicity. When you purchase credits, you will receive two things:
You must use both to make a request.
This is the main endpoint for getting domain data. It costs 1 credit per successful request.
Your personal endpoint will look like this (we will send you your unique URL):
https://whatsmyda.com/api/v1/check
You must provide two parameters in the URL: `domain` and `apikey`.
Here is an example using cURL in your terminal. Be sure to replace the URL with your personal endpoint and use your own secret API key.
curl "https://whatsmyda.com/api/v1/check?domain=example.com&apikey=YOUR_API_KEY_HERE"
A successful request will return the metrics and your remaining credit balance:
{
"credits_remaining": 499,
"metrics": {
"Domain Authority": "98",
"Linking Root Domains": "10.2M",
"Ranking Keywords": "22.1M",
"Spam Score": "1%",
"PA": "95"
}
}
You can check your remaining credit balance at any time without using a credit.
This endpoint uses your same unique folder, but points to `balance`:
https://whatsmyda.com/api/v1/balance
You only need to provide your `apikey`.
curl "https://whatsmyda.com/api/v1/balance?apikey=YOUR_API_KEY_HERE"
A successful request will return your current credit balance:
{
"credits_remaining": 499
}
If something goes wrong, you will receive a JSON error message.
{
"error": "Invalid API key."
}
{
"error": "No credits remaining."
}