one-api.ai

Tranco rank checker API

The Tranco rank checker API looks a domain up in the latest Tranco top-1M list, a research ranking built to be harder to manipulate than single-source lists.

Early access: billing is not open yet. Prices below are what a call will debit when it opens. Request access →

Price: $0.001 per call (one credit), with 25 free lookups per account each UTC month. Data source: Tranco.

Request

Send POST /v1/rank with a JSON body and your key in the Authorization: Bearer header. Send a domain. The JSON names the Tranco rank, list id, and list date. A domain that is absent returns rank null and HTTP 200.

curl https://one-api.ai/v1/rank \
  -H "Authorization: Bearer $ONE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'
import os, requests

resp = requests.post(
    "https://one-api.ai/v1/rank",
    headers={"Authorization": f"Bearer {os.environ['ONE_API_TOKEN']}"},
    json={"domain":"example.com"},
    timeout=30,
)
print(resp.status_code, resp.json())

Response fields

FieldMeaning
domainThe normalised domain you sent.
rankPosition in the list, from 1, or null when the domain is not on it.
list_idTranco's identifier for the list used, so results can be reproduced.
list_dateThe date of that list.

Limits and behaviour

Errors come back as JSON with an HTTP status and a short code. HTTP 400 means the input was refused, 401 a missing or bad key, 402 an empty balance, 429 a rate limit and 502 an upstream failure. Calls that end in 400 or a 5xx status are not charged.

What people use it for

The same lookup is available to AI agents through the remote MCP server at https://one-api.ai/mcp, using the same key and the same price per call.

FAQ

How often is the rank updated?

Tranco publishes a new list daily. We cache the latest one for about a day.

Why is my domain null?

It is not in the current top million, or you sent a subdomain instead of the registrable domain.

Is Tranco the same as Alexa rank?

No. Alexa's ranking was retired in 2022. Tranco combines several public rankings into one list, as described on tranco-list.eu.

Is a domain that is not ranked still charged?

Yes. A lookup that returns HTTP 200 is charged as one call, including a null rank. Requests rejected with a 400 or failing with a 5xx are released and not charged.

Related

Last updated 2026-10-31.