---
title: "Get Destinations"
method: GET
path: "/admin/photos/destinations"
tags: ["admin-photos"]
---

# Get Destinations

`GET /admin/photos/destinations`

Get destinations ranked by popularity or recency.

Returns destinations from Conversation.extracted_destination,
ranked by how often each destination appears. Rankings are cached for 24 hours.
sort_by: "count" (default, most requested) or "recent" (most recently discussed).

## Query parameters

- `skip_saved` boolean
- `search` string, nullable
- `sort_by` string

## Response `200`

Successful Response

- DestinationsResponse — Response for destinations endpoint.
  - `destinations` ApiRoutesAdminPhotosDestinationItem[], required
    - `destination` string, required
    - `count` integer, required
    - `has_photo` boolean, required
    - `has_portrait` boolean
    - `latest_at` string, nullable
  - `total` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
