Repository navigation
Local API
The Local API lets scripts and apps on your computer read and edit your library over HTTP while Pond is open. Raycast, Alfred, and the pond command use it. It listens only on your computer, so nothing else on your network can reach it.
http://127.0.0.1:41610/api/v2
- Open Settings → Local API and click New Token.
- Name it after the tool that will use it, such as
Alfred workflow. - Choose its Access, then copy the token. Pond won't show it again, so treat it like a password.
| Access | What it lets the tool do |
|---|---|
| Search Saves | Search and read your Saves, files, and folders |
| Export Files | Export converted copies and compress images |
| Add and Edit Saves | Add Saves, edit tags, folders, notes, and ratings, and use Trash |
Give each tool its own token, so you can revoke one without breaking the others.
Send the token as a Bearer header. This reads your library's name and counts:
curl -H "Authorization: Bearer $POND_TOKEN" \
http://127.0.0.1:41610/api/v2/library/infoThis saves a link:
curl -X POST -H "Authorization: Bearer $POND_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}' \
http://127.0.0.1:41610/api/v2/enqueueFor JavaScript and TypeScript, install the pond-api client. The Local API Reference lists every route and error code.
Raycast uses a second token that reaches every route. Copy it from Settings → Preferences → Integrations → Raycast. Rotate Token replaces it, and tools using the old one stop working until you give them the new one.
Requests fail with "unauthorized"
The token is missing, wrong, or revoked. Make a new one in Settings → Local API.
Requests fail with "forbidden"
The token doesn't have that access. Make a new token with the access the tool needs.
Requests fail to connect
Pond must be open. The API stops when you quit Pond.
Can I save from Shortcuts without a token?
Yes. Use a pond://save link. See Save Links.
- Get Started
- Save
- Sources
- Library
- Browse and Find
- Fish
- Settings
- Help