Skip to content
Skip to Content
DevelopersAPI referenceItems

List the feed, newest first

GET
/v1/items

Ordered by created_at (the saved date, which updateItem can backdate), newest first, then by id.

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.

Query Parameters

cursor?string

Send the next_cursor from the previous page to get the next one

limit?integer
Range1 <= value <= 200
Default50
kind?string
Value in"link""note""quote""highlight""todo""image""pdf""video""audio"
tag?string
list?string

Only items in this list. It must be one of the caller's lists; any other id matches nothing.

favourite?boolean
archived?boolean
Defaultfalse

Response Body

A page of items. Links come without their readable content; get a single item for that.

application/json
  1. response
items*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://example.com/v1/items'
Example Response
{  "items": [    {      "id": "string",      "kind": "link",      "source": "api",      "url": "string",      "domain": "string",      "title": "string",      "description": "string",      "content": "string",      "content_html": "string",      "note": "string",      "tags": [        "string"      ],      "image_url": "string",      "favicon_url": "string",      "author": "string",      "publisher": "string",      "published_at": "2019-08-24T14:15:22Z",      "lang": "en",      "ai_tags": [        "string"      ],      "ai_caption": "string",      "ocr_text": "string",      "objects": [        "string"      ],      "ai_summary": "string",      "summary_edited": true,      "card": "article",      "details": {        "property1": "string",        "property2": "string"      },      "recipe": {        "description": "string",        "image": {          "url": "http://example.com",          "width": 1,          "height": 1,          "color": "string",          "asset_id": "string",          "source_url": "http://example.com",          "alt": "string"        },        "yield": "string",        "prep_minutes": 1,        "cook_minutes": 1,        "total_minutes": 1,        "ingredients": [          {            "group": "string",            "text": "string"          }        ],        "steps": [          {            "group": "string",            "text": "string"          }        ]      },      "product": {        "name": "string",        "brand": "string",        "description": "string",        "price": {          "amount": 0,          "currency": "string",          "list_amount": 0        },        "availability": "in_stock",        "rating": {          "value": 0,          "count": 1        },        "images": [          "http://example.com"        ],        "image_refs": [          {            "url": "http://example.com",            "width": 1,            "height": 1,            "color": "string",            "asset_id": "string",            "source_url": "http://example.com",            "alt": "string"          }        ],        "sku": "string"      },      "enrich_status": "none",      "enriched_at": "2019-08-24T14:15:22Z",      "palette": [        {          "hex": "#1e50d2",          "lab": [            0,            0,            0          ],          "weight": 0        }      ],      "color_words": [        "string"      ],      "thumbnail_url": "string",      "thumbnail_color": "string",      "animated_url": "string",      "thumbnail_width": 0,      "thumbnail_height": 0,      "thumbnail_status": "none",      "blurhash": "string",      "crawl_status": "none",      "content_quality": "full",      "reading_progress": {        "progress": 0,        "percent": 0,        "offset": 0,        "anchor": "string",        "updated_at": "2019-08-24T14:15:22Z"      },      "word_count": 1,      "reading_minutes": 1,      "dir": "ltr",      "excerpt": "string",      "lead_image": {        "url": "http://example.com",        "width": 1,        "height": 1,        "color": "string",        "asset_id": "string",        "source_url": "http://example.com",        "alt": "string"      },      "crawl_error": "string",      "crawled_at": "2019-08-24T14:15:22Z",      "capture_status": "none",      "capture_error": "string",      "captured_at": "2019-08-24T14:15:22Z",      "is_favourite": true,      "archived_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "change_seq": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "deleted_at": "2019-08-24T14:15:22Z",      "shared": true,      "share_expires_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}

Send feedback or report a problem POST

Tells the team. Nothing is stored, so there is no id to read back, and the user gets no copy. Works with any sign-in, an API key too. - `diagnostics` is collected by the app when the user presses Send. It is personal data: it is never logged and never rendered as HTML. Unknown keys are accepted and ignored when read. - At most 10 reports per user per hour; over that is 429 `rate_limited`. - A body over 256 KB is 400 `request.malformed_body`; diagnostics over 32 KB are 422.

Save an item (safe to retry) POST

Saves a link, note, quote, highlight, to-do, image or PDF. Send a client-generated ULID as `id`, so that a retry or an offline-queued save never creates a duplicate. The answer is 201 the first time and 200 when an item with that `id` already exists for the caller. A link to a page the caller already saved (the same normalised URL; Amazon products by ASIN) is not saved again either: the answer is 200 with that item, brought back. Its saved date becomes now (so it is at the top of the feed) and it leaves the archive. A `note` sent replaces the old one, `tags` sent are added to its own, `is_favourite` is applied when sent, and a `title` or `description` is applied only when sent without `html` (with it, they are the tab's, not the user's). Fields not sent are kept, and the `html` is not stored. A retry with the `id` of that existing item changes nothing. Links are fetched in the background. Pass `html` (the page as rendered) to skip the fetch. Image and PDF files are uploaded first (`POST /v1/uploads`) and then saved here with `upload_id`. A Markdown file (`text/markdown`, at most 1 MB) uploaded the same way makes a `note`: the file's text is the note's text, and with no `title` the first `# ` heading is the title. Images may be JPEG, PNG, WebP, GIF, AVIF, HEIC, HEIF, JPEG XL, BMP, TIFF, Photoshop (PSD) or SVG; every one gets a JPEG thumbnail (SVG and PSD are drawn from their own data, transparent areas on white). SVG is stored as uploaded and always served as a download, never shown inline. A video (`video/mp4`, `video/quicktime`, `video/webm`, `video/x-matroska`, `video/x-msvideo`, for `.mp4 .mov .webm .mkv .avi`) or audio file (`audio/mpeg`, `audio/mp4`, `audio/wav`, `audio/aac`, `audio/aiff`, `audio/flac`, `audio/ogg`, for `.mp3 .m4a .wav .aac .aiff .flac .ogg`) uploaded the same way makes a `video` or `audio` item; `upload_id` is required, and `title` should be the file name. Video and audio may be up to the server's `MAX_MEDIA_UPLOAD_BYTES` (500 MB by default); other files `MAX_UPLOAD_BYTES`. The worker then reads the file with ffprobe and ffmpeg: a video's `card` is `video` and an audio file's `music`, with `details.duration` (and artist, album and year for audio) from the file's tags, a missing title is filled from its title tag, and the thumbnail is a frame of the video or the audio file's cover art, if it has one. Neither is sent to the AI. A note whose whole text sits inside one matching pair of quotation marks (`"…"`, `“…”`, `«…»`, `„…“`, `‘…’`, `「…」`) is saved as a `quote`. Check `kind` in the response. The text is kept exactly as sent. A `highlight` is text saved from somewhere (a selection on a page, with the page as `url`) without quoting it. A highlight or a note is saved as a `quote` instead when it is quoted: wrapped in quotation marks as above; one Markdown blockquote, every line that is not blank starting with `>` (the markers are dropped); or sent with `html` (the selection's HTML, used only for this and never stored) that is one `<blockquote>` or `<q>`. Imports keep the kind they came with, and an explicit `quote` is always a quote.