Pay-As-You-Go DA/PA Checker API

Get fast, programmatic access to our Domain Authority checker with a simple Pay-As-You-Go API plan.

Get Programmatic API Access

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.

Pay As You Go
$20
for 3,000 Domain Requests

Your request balance is valid for 6 months from the date of purchase.

Get Your API Key

API Documentation

Our API is designed for simplicity. When you purchase credits, you will receive two things:

  1. A unique Personal API Endpoint URL.
  2. A secret API Key.

You must use both to make a request.

1. Check Domain Metrics (Uses 1 Credit)

This is the main endpoint for getting domain data. It costs 1 credit per successful request.

Endpoint URL

Your personal endpoint will look like this (we will send you your unique URL):

https://whatsmyda.com/api/v1/check

Example Request

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"

Success Response (200 OK)

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"
    }
}

2. Check Credit Balance (Uses 0 Credits)

You can check your remaining credit balance at any time without using a credit.

Endpoint URL

This endpoint uses your same unique folder, but points to `balance`:

https://whatsmyda.com/api/v1/balance

Example Request

You only need to provide your `apikey`.

curl "https://whatsmyda.com/api/v1/balance?apikey=YOUR_API_KEY_HERE"

Success Response (200 OK)

A successful request will return your current credit balance:

{
    "credits_remaining": 499
}

Error Responses

If something goes wrong, you will receive a JSON error message.

Example: Invalid API Key (403 Forbidden)

{
    "error": "Invalid API key."
}

Example: No Credits (402 Payment Required)

{
    "error": "No credits remaining."
}