Developers

Your library,
from anywhere.

Search, read and save to Dogear from your own scripts, or let an AI assistant do it for you. Every page comes with its screenshots, colours, fonts and type scale.

Quick start

  1. Make a key in Settings → API keys. It's shown once, so copy it somewhere safe.
  2. Send it as a bearer token. The base address is https://bookmark-app.peterhironaka.workers.dev.
curl https://bookmark-app.peterhironaka.workers.dev/v1/bookmarks?q=pricing&color=dark \
  -H "Authorization: Bearer $DOGEAR_API_KEY"

Save a page. Its screenshots are taken in the background, so status is pending at first and ready within a minute or so.

curl https://bookmark-app.peterhironaka.workers.dev/v1/bookmarks \
  -H "Authorization: Bearer $DOGEAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://linear.app/pricing", "tags": ["pricing"], "skip_duplicate": true}'

Or from JavaScript, anywhere fetch works (CORS is open):

const res = await fetch("https://bookmark-app.peterhironaka.workers.dev/v1/bookmarks?tag=inspiration&limit=10", {
  headers: { Authorization: `Bearer ${process.env.DOGEAR_API_KEY}` },
});
const { data, total, has_more } = await res.json();

Keys

Every request needs Authorization: Bearer dg_…. Keys are made in Settings, up to ten per account, and can be read only (search and look) or read and write (also save, change and delete). Deleting a key stops it working straight away. Only a hash of each key is stored.

The API works on every plan, and your plan's limits apply as they do in the app: on Free, 100 saved pages and 2 watched. Compare plans.

Endpoints

RequestKeyWhat it does
GET /v1/accountreadYour plan, its limits, and how much you've used.
GET /v1/bookmarksreadSearch and list bookmarks, newest first. Filters below.
POST /v1/bookmarkswriteSave a page. It's captured in the background.
GET /v1/bookmarks/:idreadOne bookmark, with screenshots and design details.
PATCH /v1/bookmarks/:idwriteChange its title, note, tags, set, or watching.
DELETE /v1/bookmarks/:idwriteDelete it, with its screenshots.
GET /v1/setsreadYour sets, newest first.
GET /v1/sets/:idreadOne set and the bookmarks in it.

Searching: GET /v1/bookmarks

q
Words in the title, address, note, tags, pinned notes, fonts, or the description of how the page looks.
tag
Tags, comma-separated; any one matches.
color
Colour families, comma-separated: red, orange, yellow, green, teal, blue, purple, pink, brown, dark, light.
font
Font families, comma-separated, e.g. Inter.
changed
true for only watched pages with a change you haven't looked at.
unreachable
true for only pages that couldn't be reached at their last capture.
sort
newest (default), oldest, title or domain.
limit, offset
Page size (1–100, default 25) and how many to skip. The response says the total and whether there's more.

Lists come back as { data, total, limit, offset, has_more }; GET /v1/sets as { data }.

Saving: POST /v1/bookmarks

Send url, and optionally tags (a list), note and set_id. With "skip_duplicate": true, a page you've already saved isn't saved again: you get the existing bookmark, with "duplicate": true and status 200 rather than 201.

Changing: PATCH /v1/bookmarks/:id

Any of title, note, tags (replaces them all), set_id (or null to take it out of its set) and watch (capture it again weekly and flag changes).

The bookmark object

Dates are ISO 8601 in UTC. Screenshot addresses are long and unguessable, and work without a key, so you can put them straight into an <img>. Sizes in design.scale are in pixels, most used first. description is filled in on Pro.

{
  "id": "2f1c8e0a-…",
  "url": "https://linear.app/pricing",
  "title": "Pricing – Linear",
  "status": "ready",
  "created_at": "2026-11-26T09:14:03.000Z",
  "captured_at": "2026-11-26T09:14:41.000Z",
  "note": "",
  "tags": ["pricing"],
  "set_id": null,
  "watch": false,
  "unreachable_at": null,
  "changed_at": null,
  "screenshots": {
    "desktop": "https://bookmark-app.peterhironaka.workers.dev/api/screenshots/…-desktop.jpg",
    "mobile": "https://bookmark-app.peterhironaka.workers.dev/api/screenshots/…-mobile.jpg"
  },
  "design": {
    "colors": ["#08090a", "#f7f8f8", "#5e6ad2"],
    "dark_colors": [],
    "fonts": ["Inter Variable"],
    "scale": { "font_sizes": [16, 14, 48], "spacing": [8, 16, 24], "radii": [6, 999], "shadows": ["0 1px 2px …"] }
  },
  "description": { "summary": "Dark, minimal pricing page…", "tags": ["dark mode", "pricing table"] },
  "app_url": "https://dogear.party/bookmarks/2f1c8e0a-…"
}

Errors and limits

Errors come back as { "error": { "code", "message" } }. The message is written for people, so it's fine to show it.

StatusCodeWhen
400invalid_requestSomething in the request is missing or wrong; the message says what.
401unauthorizedNo key, or a key that's been deleted.
402plan_limitOver your plan's limit, such as 100 pages on Free.
403forbiddenA read-only key tried to change something.
404not_foundNo such bookmark or set in your account, or no such endpoint.
429rate_limitedOver 120 requests, or 20 saves, a minute for this key.

Each key can make 120 requests a minute, of which 20 can be saves. After a 429, wait for the time in Retry-After.

MCP server

Dogear speaks the Model Context Protocol, so AI assistants can use your library directly: "find the dark pricing pages I saved", "save this page to Dogear tagged onboarding", "what fonts does that landing page use?". Use a read-only key if you only want it to look.

Server address: https://bookmark-app.peterhironaka.workers.dev/mcp (Streamable HTTP, with your key as a bearer token).

Claude Code

claude mcp add --transport http dogear https://bookmark-app.peterhironaka.workers.dev/mcp \
  --header "Authorization: Bearer dg_your_key"

Cursor, Windsurf, VS Code and others

In the editor's MCP settings (for Cursor, ~/.cursor/mcp.json):

{
  "mcpServers": {
    "dogear": {
      "url": "https://bookmark-app.peterhironaka.workers.dev/mcp",
      "headers": { "Authorization": "Bearer dg_your_key" }
    }
  }
}

Claude Desktop, and apps without custom headers

Go through mcp-remote, which needs Node.js. In Claude Desktop: Settings → Developer → Edit Config.

{
  "mcpServers": {
    "dogear": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://bookmark-app.peterhironaka.workers.dev/mcp",
               "--header", "Authorization: Bearer dg_your_key"]
    }
  }
}

Connectors you add in the Claude or ChatGPT websites sign in with OAuth, which Dogear doesn't offer yet; use one of the set-ups above meanwhile.

Tools

search_bookmarks
Find saved pages by words, tags, colour or font.
get_bookmark
One page in full: screenshots, colours, fonts, type scale, notes.
list_sets / get_set
Your sets, and the pages in one.
get_account
Your plan and usage.
save_bookmark
Save a page (write keys only). Already saved? It returns the existing one.
update_bookmark
Change a page's title, note, tags, set or watching (write keys only).

There's no delete tool, on purpose: an assistant can't remove anything from your library.

Questions, or something you'd like the API to do? Email [email protected]. A summary of Dogear for language models is at /llms.txt.