Fold
Download for Mac

API

A REST API for your saves, highlights, collections and summaries, for building your own tools on your library.

Getting started

All requests go to one base URL over HTTPS:

https://api.fold.example.com/v1

API keys

Create a key in Fold under Settings → Developers → New API key. Choose read-only, or read and write. Keys start with fold_sk_ and are shown once, so store yours somewhere safe.

Include your key with every request, like this:

Request
$ curl https://api.fold.example.com/v1/saves \  -H "Authorization: Bearer fold_sk_xxxxxxxxxxxx"

Rate limits

The free plan allows 500 requests a day, shared with MCP and the CLI. Pro has no daily limit, with a ceiling of 120 requests a minute. Every response carries X-RateLimit-Remaining; over the limit you’ll get a 429 with a Retry-After header.

Responses

Responses are JSON. Lists return a data array and a next_cursor to pass as cursor for the next page. Errors use standard HTTP status codes with a body like this:

Error
{  "error": { "code": "not_found", "message": "No save with ID sv_0000." }}
Timestamps are ISO 8601 in UTC. IDs are prefixed by type: sv_ saves, hl_ highlights, co_ collections.

Saves

Everything in a library is a save: an article, video, podcast, PDF or newsletter.

GET/saves

List saves, newest first.

ParameterTypeDescription
collectionstringOnly saves in this collection (ID or name).
kindstringarticle, video, podcast, pdf or newsletter. Comma-separate several.
limitintegerUp to 100. Defaults to 25.
cursorstringThe next_cursor from the previous page.
Request
$ curl https://api.fold.example.com/v1/saves?collection=work&limit=2 \  -H "Authorization: Bearer $FOLD_API_KEY"
Response
{  "data": [    {      "id": "sv_3m9a",      "kind": "podcast",      "title": "Slow Software, Ep. 41 — Tools that wait for you",      "url": "https://slowsoftware.fm/41",      "collection": "Work",      "saved_at": "2026-12-03T08:47:12Z"    }  ],  "next_cursor": "c_9f2k1"}

POST/saves

Save a link. Processing runs in the background; the save’s status moves from processing to ready.

ParameterTypeDescription
urlstringRequired. The link to save.
collectionstringCollection to file it in.
tagsstring[]Tags to add.
Request
$ curl -X POST https://api.fold.example.com/v1/saves \  -H "Authorization: Bearer $FOLD_API_KEY" \  -H "Content-Type: application/json" \  -d '{"url": "https://structures.quarterly/singing-bridges", "tags": ["science"]}'
Response
{  "id": "sv_7q2c",  "status": "processing",  "url": "https://structures.quarterly/singing-bridges"}

GET/saves/{id}

Get one save. Ask for the reader copy, summary or transcript with include.

ParameterTypeDescription
includestringreader, summary, transcript. Comma-separate several.
Request
$ curl "https://api.fold.example.com/v1/saves/sv_8fk2?include=summary,transcript" \  -H "Authorization: Bearer $FOLD_API_KEY"
Response
{  "id": "sv_8fk2",  "kind": "video",  "title": "How tide tables are actually made",  "summary": "A walkthrough of harmonic analysis: tide predictions are built by adding together dozens of regular waves…",  "transcript": [    { "time": "00:14", "text": "So this is a tide gauge." }  ]}

DELETE/saves/{id}

Delete a save, with its highlights and notes. This can’t be undone.

Request
$ curl -X DELETE https://api.fold.example.com/v1/saves/sv_7q2c \  -H "Authorization: Bearer $FOLD_API_KEY"
Response
{ "id": "sv_7q2c", "deleted": true }

Highlights

Highlights belong to a save and can carry a note.

GET/saves/{id}/highlights

List a save’s highlights in reading order.

Request
$ curl https://api.fold.example.com/v1/saves/sv_2b8d/highlights \  -H "Authorization: Bearer $FOLD_API_KEY"
Response
{  "data": [    {      "id": "hl_51x",      "text": "When the rhythm of the swirls matches the cable's own rhythm, the cable sings.",      "color": "yellow",      "note": "Same idea as resonance in the tide video."    }  ]}

POST/saves/{id}/highlights

Highlight a passage. The text must appear in the save’s reader copy.

ParameterTypeDescription
textstringRequired. The exact passage.
colorstringyellow, green or pink. Defaults to yellow.
notestringAn optional note.
Request
$ curl -X POST https://api.fold.example.com/v1/saves/sv_2b8d/highlights \  -H "Authorization: Bearer $FOLD_API_KEY" \  -H "Content-Type: application/json" \  -d '{"text": "Engineers spent decades trying to silence that sound.", "color": "green"}'
Response
{ "id": "hl_52a", "color": "green" }

Collections

Collections group saves. Smart collections fill themselves from rules and can’t be added to directly.

GET/collections

List collections with their save counts.

Request
$ curl https://api.fold.example.com/v1/collections \  -H "Authorization: Bearer $FOLD_API_KEY"
Response
{  "data": [    { "id": "co_long", "name": "Long reads", "count": 31, "smart": true },    { "id": "co_work", "name": "Work", "count": 12, "smart": false }  ]}

POST/collections/{id}/saves

Add saves to a collection.

ParameterTypeDescription
idsstring[]Required. Up to 100 save IDs.
Request
$ curl -X POST https://api.fold.example.com/v1/collections/co_work/saves \  -H "Authorization: Bearer $FOLD_API_KEY" \  -H "Content-Type: application/json" \  -d '{"ids": ["sv_3m9a", "sv_8fk2"]}'
Response
{ "added": 2 }