Skip to content
OSINTtools.io

Tranco API

Research ranking of the top one million websites, averaged from several sources to resist manipulation, with daily lists.

Base URL
https://tranco-list.eu/api
Sign-in
Basic auth
Format
REST
Endpoints
4

Compiled by OSINTtools.io editors from tranco-list.eu · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Tranco API returns the rank of a domain in the daily Tranco top-sites lists and metadata about those lists. An investigator can use it to see how popular a domain has been over roughly the last 30 days. It can also queue a custom list built from chosen providers and dates.

The docs label the API as alpha. Calls go to https://tranco-list.eu/api/ and use HTTP Basic authentication: your email address as the username and your API token (from the account page) as the password.

Quick start

  1. Get a key

    Create an account with Tranco and copy your basic auth. Where to get it

  2. Make your first request

    Ranks of a domain in the daily lists for at least the past 30 days.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://tranco-list.eu/api/ranks/domain/example.com' \
      -u 'USERNAME:PASSWORD'
  3. Read the response

    A 200 response looks like this.

    {
      "ranks": [
        {
          "date": "2026-01-02",
          "rank": 1500
        },
        {
          "date": "2026-01-01",
          "rank": 1498
        }
      ]
    }

Authentication

HTTP basic authentication: your username and password (or key and secret) on every request.

Username is your email address; password is the API token from your account page.

Get a key from Tranco

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

1 query per second on /ranks/domain/{domain}; one list generated concurrently on /lists/create.

Errors

StatusMeaning
401Not authenticated or authorized
403Service temporarily unavailable
404No list found
429Rate limit exceeded
503Service temporarily unavailable

Ranks

Returns one rank per day the domain appears in the daily lists.

Path parameters

domainstringrequiredtakes your domain

The domain to query

Example: example.com
Response fields · 2Show

datestring

Date of the list, YYYY-mm-dd

rankinteger

Rank of the domain on that date

curl 'https://tranco-list.eu/api/ranks/domain/example.com' \
  -u 'USERNAME:PASSWORD'
Replace YOUR_API_KEY with your key
Response
{
  "ranks": [
    {
      "date": "2026-01-02",
      "rank": 1500
    },
    {
      "date": "2026-01-01",
      "rank": 1498
    }
  ]
}

Lists

  • Passive: the target is not contacted

Returns the same fields as the list-by-ID endpoint. Use subdomains=true to select the daily list that includes subdomains.

Path parameters

datestringrequired

YYYYmmdd, or latest

Example: latest

Query parameters

subdomainsboolean

Select the list that includes subdomains

Example: falseDefault: false
Response fields · 7Show

list_idstring

List ID

availableboolean

Whether the list can be downloaded

downloadstring

Download location

created_onstring

Creation time, YYYY-mm-ddTHH:MM:SS.ffffff

configurationobject

Configuration the list was built with

failedboolean

Whether generation failed

jobs_aheadinteger

Jobs queued ahead of this list

curl 'https://tranco-list.eu/api/lists/date/latest' \
  -u 'USERNAME:PASSWORD'
Replace YOUR_API_KEY with your key
Response
{
  "list_id": "EXAMPLE",
  "available": true,
  "download": "https://tranco-list.eu/download/EXAMPLE/full",
  "created_on": "2026-01-01T00:00:00.000000",
  "configuration": {},
  "failed": false,
  "jobs_ahead": 0
}

Metadata of a list by its ID.

GET/lists/id/{list_id}

  • Passive: the target is not contacted

Returns 404 when no list exists for the ID.

Path parameters

list_idstringrequired

The list ID

Example: EXAMPLE
Response fields · 6Show

list_idstring

List ID

availableboolean

Whether the list can be downloaded

downloadstring

Download location

created_onstring

Creation time

failedboolean

Whether generation failed

jobs_aheadinteger

Jobs queued ahead of this list

curl 'https://tranco-list.eu/api/lists/id/EXAMPLE' \
  -u 'USERNAME:PASSWORD'
Replace YOUR_API_KEY with your key
Response
{
  "list_id": "EXAMPLE",
  "available": true,
  "download": "https://tranco-list.eu/download/EXAMPLE/full",
  "created_on": "2026-01-01T00:00:00.000000",
  "failed": false,
  "jobs_ahead": 0
}
  • Passive: the target is not contacted

Requires authentication. Only one list is generated concurrently per account. The body is a configuration with providers, dates and filters; optional filters (TLD, organization, Safe Browsing, CrUX) are in the docs.

Request body (JSON) · 6Show

providersarrayalways present

crux, majestic, radar, umbrella, alexa, quantcast

startDatestringalways present

YYYY-mm-dd

endDatestringalways present

YYYY-mm-dd

combinationMethodstringalways present

dowdall or borda

listPrefixstringalways present

An integer, or full

filterPLDstringalways present

on or off: keep only pay-level domains

Response fields · 2Show

list_idstring

ID of the queued list

availableboolean

Whether it is ready

curl -X PUT 'https://tranco-list.eu/api/lists/create' \
  -u 'USERNAME:PASSWORD' \
  -H 'Content-Type: application/json' \
  -d '{"providers":["crux","majestic"],"startDate":"2026-01-01","endDate":"2026-01-30","combinationMethod":"dowdall","listPrefix":"full","filterPLD":"on"}'
Replace YOUR_API_KEY with your key
Response
{
  "list_id": "EXAMPLE",
  "available": false
}