---
title: "A trip's photos, paginated"
method: GET
path: "/api/trips/{id}/photos"
tags: ["Photos"]
---

# A trip's photos, paginated

`GET /api/trips/{id}/photos`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/trips/{id}/photos`
- Auth: HTTP bearer

Oldest first, by the time each was taken. limit is capped at 200 (default 60).

## Path parameters

- `id` string, required: The trip id.

## Query parameters

- `limit` integer, nullable: Page size.
- `offset` integer, nullable: Rows to skip.

## Response `200`

A page of photos.

- PhotoThumb[]
  - `id` string, required
  - `thumb_r2_key` string, nullable, required: Pass to GET /api/blob?key= for the fastest thumbnail.
  - `taken_at` string, nullable, required
  - `lat` number, nullable, required
  - `lon` number, nullable, required
  - `content_type` string, nullable, required

## Other responses

- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `404`: No such thing, or not one the caller can see.

---

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