# Tranco API reference

> 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…

Source: https://osinttools.io/apis/tranco-list/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/tranco-list/

- Base URL: https://tranco-list.eu/api
- Authentication: HTTP basic authentication. Get a key: https://tranco-list.eu/ Username is your email address; password is the API token from your account page.
- Rate limits: 1 query per second on /ranks/domain/{domain}; one list generated concurrently on /lists/create.
- Vendor docs: https://tranco-list.eu/api_documentation

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 401 | Not authenticated or authorized |
| 403 | Service temporarily unavailable |
| 404 | No list found |
| 429 | Rate limit exceeded |
| 503 | Service temporarily unavailable |

## Ranks

### Ranks of a domain in the daily lists for at least the past 30 days.

`GET /ranks/domain/{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | The domain to query Example: example.com |

Response fields:

- `ranks[].date` (string): Date of the list, YYYY-mm-dd
- `ranks[].rank` (integer): Rank of the domain on that date

```bash
curl 'https://tranco-list.eu/api/ranks/domain/example.com' \
  -u 'USERNAME:PASSWORD'
```

Example response (200):

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

## Lists

### Metadata of the daily list for a date, or the latest.

`GET /lists/date/{date}`

- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `date` | path | string | yes | YYYYmmdd, or latest Example: latest |
| `subdomains` | query | boolean | no | Select the list that includes subdomains Example: false |

Response fields:

- `list_id` (string): List ID
- `available` (boolean): Whether the list can be downloaded
- `download` (string): Download location
- `created_on` (string): Creation time, YYYY-mm-ddTHH:MM:SS.ffffff
- `configuration` (object): Configuration the list was built with
- `failed` (boolean): Whether generation failed
- `jobs_ahead` (integer): Jobs queued ahead of this list

```bash
curl 'https://tranco-list.eu/api/lists/date/latest' \
  -u 'USERNAME:PASSWORD'
```

Example response (200):

```json
{
  "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}`

- Footprint: passive (the target is not contacted)

Returns 404 when no list exists for the ID.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `list_id` | path | string | yes | The list ID Example: EXAMPLE |

Response fields:

- `list_id` (string): List ID
- `available` (boolean): Whether the list can be downloaded
- `download` (string): Download location
- `created_on` (string): Creation time
- `failed` (boolean): Whether generation failed
- `jobs_ahead` (integer): Jobs queued ahead of this list

```bash
curl 'https://tranco-list.eu/api/lists/id/EXAMPLE' \
  -u 'USERNAME:PASSWORD'
```

Example response (200):

```json
{
  "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
}
```

### Queue a custom list from a configuration object.

`PUT /lists/create`

- Footprint: 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.

Response fields:

- `list_id` (string): ID of the queued list
- `available` (boolean): Whether it is ready

```bash
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"}'
```

Example response (200):

```json
{
  "list_id": "EXAMPLE",
  "available": false
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
