GET /read/following/

Get a list of posts from the blogs a user follows.

Resource Information

Method GET
Requires authentication? Yes

Query Parameters

Parameter Type Description
http_envelope (bool)
Some environments (like in-browser JavaScript or Flash) block or divert responses with a non-200 HTTP status code. Setting this parameter will force the HTTP status code to always be 200. The JSON response is wrapped in an "envelope" containing the "real" HTTP status code and headers.
pretty (bool)
Output pretty JSON
meta (string) Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
fields (string) Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title
callback (string) An optional JSONP callback function.
number (int) The number of posts to return. Limit: 40. Default: 10.
page (int) Return the Nth 1-indexed page of posts.
order (string)
(default) Return posts in descending order. For dates, that means newest to oldest.
Return posts in ascending order. For dates, that means oldest to newest.
after (iso 8601 datetime) Return posts dated after the specified datetime.
before (iso 8601 datetime) Return posts dated before the specified datetime.

Response Parameters

Parameter Type Description
ID (int) The post ID.
site_ID (int) The site ID.
author (object) The author of the post.
date (iso 8601 datetime) The post's creation time.
modified (iso 8601 datetime) The post's most recent update time.
title (html) context dependent.
URL (url) The full permalink URL to the post.
short_URL (url) The short URL.
content (html) context dependent.
excerpt (html) context dependent.
slug (string) The name (slug) for the post, used in URLs.
guid (string) The GUID for the post.
status (string)
The post is published.
The post is saved as a draft.
The post is pending editorial approval.
The post is published privately
The post is scheduled for future publishing.
The post is in the trash.
The post is a placeholder for a new post.
sticky (bool) Is the post sticky?
password (string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.
parent (object|false) A reference to the post's parent, if it has one.
type (string) The post's post_type. Post types besides post, page and revision need to be whitelisted using the rest_api_allowed_post_types filter.
comments_open (bool) Is the post open for comments?
pings_open (bool) Is the post open for pingbacks, trackbacks?
likes_enabled (bool) Is the post open to likes?
sharing_enabled (bool) Should sharing buttons show on this post?
comment_count (int) The number of comments for this post.
like_count (int) The number of likes for this post.
i_like (bool) Does the current user like this post?
is_reblogged (bool) Did the current user reblog this post?
is_following (bool) Is the current user following this blog?
global_ID (string) A unique representation of a post.
featured_image (url) The URL to the featured image for this post if it has one.
post_thumbnail (object) The attachment object for the featured image if it has one.
format (string)
geo (object|false)
menu_order (int) (Pages Only) The order pages should appear in.
publicize_URLs (array) Array of Twitter and Facebook URLs published by this post.
tags (object) Hash of tags (keyed by tag name) applied to the post.
categories (object) Hash of categories (keyed by category name) applied to the post.
attachments (object) Hash of post attachments (keyed by attachment ID).
metadata (array) Array of post metadata keys and values. All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with access. Protected meta keys can be made available with the rest_api_allowed_public_metadata filter.
meta (object) API result meta data
current_user_can (object) List of permissions. Note, deprecated in favor of `capabilities`
capabilities (object) List of post-specific permissions for the user; publish_post, edit_post, delete_post
date_range (object) date range covered by current results.
number (int) The number of posts brought back by current query.
posts (array) An array of post objects.

Resource Errors

These are the possible errors returned by this endpoint.

HTTP Code Error Identifier Error Message
403 unauthorized User cannot view taxonomy
403 unauthorized User cannot view post
403 authorization_required An active access token must be used to query information about the current user.
403 unauthorized User cannot edit taxonomy
400 invalid_post Invalid post
400 invalid_context Invalid API CONTEXT
403 unauthorized User cannot edit post
404 unknown_post Unknown post


curl \
 -H 'authorization: Bearer YOUR_API_TOKEN' \
$options  = array (
  'http' => 
  array (
    'ignore_errors' => true,
    'header' => 
    array (
      0 => 'authorization: Bearer YOUR_API_TOKEN',

$context  = stream_context_create( $options );
$response = file_get_contents(
$response = json_decode( $response );


    "date_range": {
        "before": "2016-04-29T15:49:30-04:00",
        "after": "2016-04-29T15:49:30-04:00"
    "number": 1,
    "posts": [
            "ID": 33390,
            "site_ID": 70135762,
            "author": {
                "ID": 68029756,
                "login": "longreadseditors",
                "email": false,
                "name": "Longreads",
                "first_name": "Longreads",
                "last_name": "",
                "nice_name": "longreadseditors",
                "URL": "",
                "avatar_URL": "https:\/\/\/avatar\/77c994c441138efdb7338403caac1014?s=96&d=identicon&r=G",
                "profile_URL": "http:\/\/\/longreadseditors",
                "site_ID": 70135762
            "date": "2016-04-29T15:49:30-04:00",
            "modified": "2016-04-29T18:47:24-04:00",
            "title": "The Top 5 Longreads of the Week",
            "URL": "http:\/\/\/2016\/04\/29\/the-top-5-longreads-of-the-week-115\/",
            "short_URL": "http:\/\/\/p4KhvY-8Gy",
            "content": "<p><em>Below, our favorite stories of the week. Kindle users, you can also get them <a href=\"http:\/\/\/ad12d445\">as a Readlist.<\/a><\/em><\/p>\n<p><em><a href=\"http:\/\/\/subscribe?u=1854296747731744c923a33ef&amp;id=bd2ad42066\">Sign up to receive this list free every Friday in your inbox.<\/a><\/em><\/p>\n<p style=\"text-align:center;\">* * *<\/p>\n<h2 class=\"top5-title\"><a href=\"http:\/\/\/magazine\/2016\/05\/02\/the-torturing-of-mentally-ill-prisoners?src=longreads\" target=\"_blank\">1. Madness<\/a><\/h2>\n<p class=\"top5-credit\"><em>Eyal Press&nbsp;| The New Yorker&nbsp;| April 25, 2016 | 31&nbsp;minutes (7,792 words)<\/em><\/p>\n<p>In Florida prisons, mentally ill inmates are routinely tortured and killed by guards. Staff are often witnesses to the abuse but remain silent out of fear of retaliation, cooperating with security officials who they depend on for protection.<\/p>\n<h2 class=\"top5-title\"><a href=\"http:\/\/\/story\/son-survives-hiv-injected-by-father-brian-stewart?Src=longreads\" target=\"_blank\">2. How a Son Survived Being Injected with HIV by His Father<\/a><\/h2>\n<p class=\"top5-credit\"><em>Justin Heckert | GQ | April 28, 2016 | 21&nbsp;minutes (5,424&nbsp;words)<\/em><\/p>\n<p>Twenty-four years ago, in an act of ghastly malice, a Missouri father plunged a needle filled with HIV-positive blood into his baby son&rsquo;s vein. No one expected the son to live&mdash;but he thrived.<\/p>\n<h2 class=\"top5-title\"><a href=\"https:\/\/\/issue-25\/on-the-fringe\/uncanny-valley\/?src=longreads\" target=\"_blank\">3. Uncanny Valley<\/a><\/h2>\n<p class=\"top5-credit\"><em>Anna Weiner | n+1 | April 27, 2016 | 25&nbsp;minutes (6,416 words)<\/em><\/p>\n<p>Anna Wiener on the hollow promise of San Francisco's startup life. &ldquo;'I just hope this is all worth it,' she spits in my direction. I know what she means\u200a&mdash;\u200ashe&rsquo;s talking about money\u200a&mdash;\u200abut I also know how much equity she has, and I&rsquo;m confident that even in the best possible scenario, whatever she&rsquo;s experiencing is definitely not.&quot;<\/p>\n<h2 class=\"top5-title\"><a href=\"http:\/\/\/mzs\/427-ten-years-without-jen-sixteen-with?src=longreads\" target=\"_blank\">4. 427: Ten Years Without Jen, Twenty-Six With<\/a><\/h2>\n<p class=\"top5-credit\"><em>Matt Zoller Seitz |;| April 25, 2016 | 14&nbsp;minutes (3,619&nbsp;words)<\/em><\/p>\n<p>Seitz, on the 10th anniversary of the death of his wife, describes where's he's been and what he's learned.<\/p>\n<h2 class=\"top5-title\"><a href=\"https:\/\/\/colombian-church-orthodox-judaism?src=longreads\" target=\"_blank\">5. The Faithful<\/a><\/h2>\n<p class=\"top5-credit\"><em>Graciela Mochkofsky | California Sunday&nbsp;| April 28, 2016 | 29&nbsp;minutes (7,275&nbsp;words)<\/em><\/p>\n<p>In Colombia, where a majority of people practice Catholicism, a small community goes on a difficult journey to convert to Orthodox Judaism.<\/p>\n",
            "excerpt": "<p>The best stories of the week, as chosen by the editors of Longreads.<\/p>\n",
            "slug": "the-top-5-longreads-of-the-week-115",
            "guid": "http:\/\/\/?p=33390",
            "status": "publish",
            "sticky": false,
            "password": "",
            "parent": false,
            "type": "post",
            "comments_open": false,
            "pings_open": true,
            "likes_enabled": true,
            "sharing_enabled": true,
            "comment_count": 0,
            "like_count": 161,
            "i_like": false,
            "is_reblogged": false,
            "is_following": true,
            "global_ID": "657d74018e5d8a3211eeab586c155f93",
            "featured_image": "https:\/\/\/2016\/04\/screen-shot-2016-04-29-at-2-55-43-pm.png",
            "post_thumbnail": {
                "ID": 33391,
                "URL": "https:\/\/\/2016\/04\/screen-shot-2016-04-29-at-2-55-43-pm.png",
                "guid": "http:\/\/\/2016\/04\/screen-shot-2016-04-29-at-2-55-43-pm.png",
                "mime_type": "image\/png",
                "width": 1052,
                "height": 628
            "format": "standard",
            "geo": false,
            "menu_order": 0,
            "publicize_URLs": [],
            "tags": {
                "longreads": {
                    "ID": 35328892,
                    "name": "longreads",
                    "slug": "longreads",
                    "description": "",
                    "post_count": 2301,
                    "meta": {
                        "links": {
                            "self": "https:\/\/\/rest\/v1\/sites\/70135762\/tags\/slug:longreads",
                            "help": "https:\/\/\/rest\/v1\/sites\/70135762\/tags\/slug:longreads\/help",
                            "site": "https:\/\/\/rest\/v1\/sites\/70135762"
                "top 5": {
                    "ID": 46772,
                    "name": "top 5",
                    "slug": "top-5",
                    "description": "",
                    "post_count": 105,
                    "meta": {
                        "links": {
                            "self": "https:\/\/\/rest\/v1\/sites\/70135762\/tags\/slug:top-5",
                            "help": "https:\/\/\/rest\/v1\/sites\/70135762\/tags\/slug:top-5\/help",
                            "site": "https:\/\/\/rest\/v1\/sites\/70135762"
            "categories": {
                "Featured": {
                    "ID": 35890,
                    "name": "Featured",
                    "slug": "featured",
                    "description": "",
                    "post_count": 148,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:featured",
                            "help": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:featured\/help",
                            "site": "https:\/\/\/rest\/v1\/sites\/70135762"
                "Nonfiction": {
                    "ID": 35009777,
                    "name": "Nonfiction",
                    "slug": "nonfiction-2",
                    "description": "",
                    "post_count": 1643,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:nonfiction-2",
                            "help": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:nonfiction-2\/help",
                            "site": "https:\/\/\/rest\/v1\/sites\/70135762"
                "Reading List": {
                    "ID": 7814148,
                    "name": "Reading List",
                    "slug": "reading-list-2",
                    "description": "",
                    "post_count": 338,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:reading-list-2",
                            "help": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:reading-list-2\/help",
                            "site": "https:\/\/\/rest\/v1\/sites\/70135762"
                "Top 5": {
                    "ID": 35211383,
                    "name": "Top 5",
                    "slug": "top-5-2",
                    "description": "",
                    "post_count": 121,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:top-5-2",
                            "help": "https:\/\/\/rest\/v1\/sites\/70135762\/categories\/slug:top-5-2\/help",
                            "site": "https:\/\/\/rest\/v1\/sites\/70135762"
            "attachments": {
                "33391": {
                    "ID": 33391,
                    "URL": "https:\/\/\/2016\/04\/screen-shot-2016-04-29-at-2-55-43-pm.png",
                    "guid": "http:\/\/\/2016\/04\/screen-shot-2016-04-29-at-2-55-43-pm.png",
                    "mime_type": "image\/png",
                    "width": 1052,
                    "height": 628
            "metadata": [
                    "id": "139468",
                    "key": "geo_public",
                    "value": "0"
                    "id": "139467",
                    "key": "_thumbnail_id",
                    "value": "33391"
                    "id": "139478",
                    "key": "_wpas_done_8071423",
                    "value": "1"
                    "id": "139481",
                    "key": "_wpas_skip_8071423",
                    "value": "1"
            "meta": {
                "links": {
                    "self": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/33390",
                    "help": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/33390\/help",
                    "site": "https:\/\/\/rest\/v1\/sites\/70135762",
                    "replies": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/33390\/replies\/",
                    "likes": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/33390\/likes\/"
            "current_user_can": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            "capabilities": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            "pseudo_ID": "657d74018e5d8a3211eeab586c155f93",
            "is_external": false,
            "site_name": "Longreads Blog",
            "site_URL": "http:\/\/",
            "site_is_private": false,
            "featured_media": {
                "uri": "https:\/\/\/2016\/04\/screen-shot-2016-04-29-at-2-55-43-pm.png",
                "width": 1052,
                "height": 628,
                "type": "image"
            "feed_ID": 22973954