---
title: "Get your saved libraries"
method: GET
path: "/api/reader/libraries"
tags: ["libraries"]
---

# Get your saved libraries

`GET /api/reader/libraries`

## Request

- Base URL: `https://leafle.org` (the document declares no server; this is the origin it was published from)
- URL: `https://leafle.org/api/reader/libraries`
- Auth: HTTP bearer

**Access: read token.**

Returns ordered library selections, whether the choice was explicit, and any pending chat offer ID. A legacy profile selection can appear when no explicit choice has been saved.

## Query parameters

- `reader_id` integer, nullable

## Response `200`

Successful Response

- SavedLibraries
  - `libraries` LibraryPlace[], required
    - `id` string, required
    - `service_code` string, nullable, required
    - `service` string, required
    - `name` string, required
    - `branch` string, nullable, required
    - `country` string, required
    - `url` string, nullable, required
    - `lat` number, nullable, required
    - `lng` number, nullable, required
    - `covered` boolean, required
    - `kind` string, required
    - `distance_km` number, nullable
  - `explicit` boolean, required
  - `pending_offer_id` string, nullable

## Other responses

- `401`: Missing or unusable credential.
- `403`: Insufficient token scope or the reader is outside your account.
- `422`: Validation Error

---

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