---
title: "Map view (#1520): entries of a diary that carry coordinates"
method: GET
path: "/entries/locations"
tags: ["Entries"]
---

# Map view (#1520): entries of a diary that carry coordinates

`GET /entries/locations`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/locations`
- Auth: HTTP bearer

Same keyset pagination as `GET /entries`, filtered to entries with a pin. A page can come back with fewer than `limit` items, or none, while `hasNext` is still true -- keep paging until `hasNext` is false to collect every pin. With `withUnplaced=true` the page also keeps entries that name a place but have no coordinates, with `locationLat`/`locationLng` null; without it both are always numbers.

## Query parameters

- `diaryId` string, uuid, required
- `limit` string
- `cursor` string
- `withUnplaced` 'true' | 'false'

## Response `200`

OK

- object
  - `data` EntryLocationItem[], required
    - `id` string, uuid, required
    - `diaryId` string, uuid, required
    - `occurredAt` string, date-time, required
    - `title` string, nullable, required
    - `location` string, nullable, required
    - `locationLat` number, nullable, required
    - `locationLng` number, nullable, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

---

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