Get unread counts

Unread articles per feed, folder and tag, and in total.

GET https://cotlet.dev/api/v1/inoreader/unread-counts

read

Returns the unread count for your whole account and for each feed, folder and tag. Inoreader caps a counter at a maximum that depends on your plan; when a count equals that maximum, at_cap is true and the real number is higher. Use it to pick where to start before reading articles.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/inoreader/unread-counts \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("inoreader", "get_unread_counts")
Node.js
const result = await cotlet.call('inoreader', 'get_unread_counts');
CLI
cotlet call inoreader get_unread_counts

Example response

JSON

{
  "total": 1180,
  "at_cap": false,
  "streams": [
    {
      "name": "AI News",
      "type": "folder",
      "unread": 412
    },
    {
      "name": "Lab Notes",
      "type": "feed",
      "unread": 3
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.