---
title: "List websites rising, falling or new in the Xranks rank"
method: GET
path: "/api/trends/"
tags: ["Trends"]
---

# List websites rising, falling or new in the Xranks rank

`GET /api/trends/`

## Request

- Base URL: `https://xranks.com`
- URL: `https://xranks.com/api/trends/`
- Auth: API key in header `Authorization`

Weekly-updated lists of websites whose rank moved the most. Needs a Trends API subscription ($79/month, 1,000 calls a day), separate from the domain API plans; the same API key works.

## Query parameters

- `d` 'rising' | 'falling' | 'new' | 'milestones'
- `w` '13w' | '26w' | '52w'
- `c` string
- `co` string
- `r` string
- `s` 'move' | 'visits' | 'rank'
- `o` integer
- `limit` integer

## Response `200`

One page of the list.

- object
  - `asof` string, nullable: Date of the data.
  - `total` integer: Rows in the whole list (for paging with o/limit).
  - `offset` integer
  - `limit` integer
  - `rows` object[]
    - `n` integer: Position in the list.
    - `domain` string
    - `rank` integer, nullable: Xranks rank now.
    - `rank_then` integer, nullable: Rank at the start of the window.
    - `x` number, nullable: Strength of the move (rank_then / rank for rising).
    - `visits_now` integer, nullable: Estimated daily visits now.
    - `visits_gain` integer, nullable: Estimated daily visits gained (lost when falling).
    - `change` string, nullable: Human-readable change, e.g. "×3.2".
    - `category` string, nullable
    - `country` string, nullable: ISO 3166-1 alpha-2, for country-specific sites.
    - `status` string, nullable
  - `quota` object
    - `used` integer
    - `daily` integer

## Other responses

- `400`: Invalid domain or malformed request.
- `401`: Missing, invalid or inactive API key.
- `429`: Quota used up for the rolling 30 days (or the batch needs more lookups than are left).

---

[API](https://skmtc.dev/xranks/apis/xranks-domain-data-api.md) · [All operations](https://skmtc.dev/xranks/apis/xranks-domain-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xranks/apis/xranks-domain-data-api/revisions/c1c3388c4b34?raw)
