---
title: "Get bookmark folders"
method: GET
path: "/x/bookmarks/folders"
tags: ["Tweets"]
---

# Get bookmark folders

`GET /x/bookmarks/folders`

Returns your X account's bookmark folders, else 424 `account_required`. Folders need X Premium, else 424 `bookmark_folders_unavailable`.

## Response `200`

List of bookmark folders

- object
  - `folders` BookmarkFolder[], required
    - `id` string, required — Folder ID.
    - `name` string — Folder name.
    - `media` object — Public folder cover image metadata.
      - `id` string — Media object ID.
      - `mediaId` string — Media ID.
      - `mediaKey` string — Stable media key.
      - `originalImageHeight` integer — Original image height.
      - `originalImageUrl` string — Original image URL.
      - `originalImageWidth` integer — Original image width.
      - `palette` object[] — Dominant image colors and their proportions.
        - `percentage` number
        - `rgb` object
          - `blue` number
          - `green` number
          - `red` number
      - `type` string — Media object type.
  - `has_next_page` boolean, required — Whether another folder page is available
  - `next_cursor` string, required — Cursor for the next folder page

## Other responses

- `401` — Unauthenticated
- `402` — Payment required. MPP reads include `WWW-Authenticate`. Authenticated reads include balances and checkout; a failed request never creates checkout. Guest keys offer top-up.
- `424` — Dependency unavailable, unauthorized, or limited. Default v1 uses 502; best-practice responses use 424 for transparent dependency failures. Search answers 424 `search_unavailable` when X fails the query itself.
- `429` — Xquik tier rate limit exceeded. Wait `Retry-After` seconds before retrying.
- `502` — Dependency unavailable, unauthorized, or limited. Default v1 uses 502; best-practice responses use 424 for transparent dependency failures. Search answers 424 `search_unavailable` when X fails the query itself.

## Changes

- **2026-09-27** `d9f0c9034255` — 20 warning
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `424`
  - …16 more
- **2026-09-26** `db02366a5e8d` — 10 warning
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `424`
  - …6 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api-3/changes/x/bookmarks/folders/get.md)

---

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