---
title: "Get Trending Routes"
method: GET
path: "/api/trending"
tags: ["trending"]
---

# Get Trending Routes

`GET /api/trending`

## Request

- Base URL: `https://api.pointifytravels.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pointifytravels.com/api/trending`
- Auth: none declared

Return the most-searched routes, optionally filtered to a recent time window.

## Query parameters

- `limit` integer
- `hours` integer, nullable
- `origin` string, nullable: 3-letter IATA code. When set, returns only routes departing from this airport — used by the mobile Popular Routes shelf to personalise to the user's typed FROM airport.

## Response `200`

Successful Response

- TrendingResponse
  - `routes` TrendingRoute[], required
    - `origin` string, required
    - `destination` string, required
    - `search_count` integer, required
    - `tier` string, required
    - `updated_at` string, nullable, required
  - `generated_at` string, required
  - `window_hours` integer, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine.md) · [All operations](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/revisions/4350142a4216?raw)
