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-12-09T15:48:25-05:00",
        "after": "2016-12-09T15:48:25-05:00"
    "number": 1,
    "posts": [
            "ID": 42147,
            "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-12-09T15:48:25-05:00",
            "modified": "2016-12-09T15:48:25-05:00",
            "title": "The Top 5 Longreads of the Week",
            "URL": "http:\/\/\/2016\/12\/09\/the-top-5-longreads-of-the-week-147\/",
            "short_URL": "http:\/\/\/p4KhvY-aXN",
            "content": "<p><em>Below, our favorite stories of the week.<\/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:\/\/\/interactive\/2016\/12\/07\/world\/asia\/rodrigo-duterte-philippines-drugs-killings.html?hp&amp;action=click&amp;pgtype=Homepage&amp;clickSource=story-heading&amp;module=second-column-region&amp;region=top-news&amp;WT.nav=top-news\" target=\"_blank\">1. ‘They Are Slaughtering Us Like Animals’ <\/a><\/h2>\n<p class=\"top5-credit\"><em>Daniel Berehulak | The New York Times | Dec. 8, 2016 |\u00a010 minutes (2,500 words)<\/em><\/p>\n<p>Photojournalist Daniel Berehulak documents the killings of dozens of people as part of President Rodrigo Duterte\u2019s brutal antidrug campaign in the Philippines. (Warning: graphic images of violence.)<\/p>\n<h2 class=\"top5-title\"><a href=\"https:\/\/\/article\/138068\/last-unknown-man\" target=\"_blank\">2. The Last Unknown Man <\/a><\/h2>\n<p class=\"top5-credit\"><em>Matt Wolfe | The New Republic | Dec. 7, 2016 | 50\u00a0minutes (12,603\u00a0words)<\/em><\/p>\n<p>In 2004, a Burger King employee in Richmond Hill, Georgia, found a naked man lying unconscious in front of a restaurant dumpster. The search for his identity would take years.<\/p>\n<h2 class=\"top5-title\"><a href=\"https:\/\/\/rosalindadams\/intake?utm_term=.nyXeM3OjND#.hmKpwJrxBA\" target=\"_blank\">3. Intake<\/a><\/h2>\n<p class=\"top5-credit\"><em>Rosalind Adams | BuzzFeed | Dec. 7, 2016 |\u00a035 minutes (8,789 words)<\/em><\/p>\n<p>An investigation into America\u2019s largest psychiatric hospital chain, Universal Health Services, which faces allegations that it profits by routinely locking in patients who don’t need hospitalization.<\/p>\n<h2 class=\"top5-title\"><a href=\"http:\/\/\/story\/prince-stories\" target=\"_blank\">4. Prince’s Closet Friends Share Their Best Prince Stories<\/a><\/h2>\n<p class=\"top5-credit\"><em>Chris Heath | GQ | Dec. 8, 2016 |\u00a060 minutes (15,000 words)<\/em><\/p>\n<p>An oral history of Prince’s life and career, as told by his friends.<\/p>\n<h2 class=\"top5-title\"><a href=\"http:\/\/\/magazine\/2016\/12\/12\/fighting-for-the-poor-under-trump\" target=\"_blank\">5. Fighting for the Poor Under Trump<\/a><\/h2>\n<p class=\"top5-credit\"><em>Jennifer Gonnerman | The New Yorker | Dec. 9, 2016 |\u00a018 minutes (4,699 words)<\/em><\/p>\n<p>A profile of 28-year-old New York City Council Member Ritchie Torres, the first openly gay elected official in the Bronx and the youngest elected official in the city. Torres\u2014who grew up in a Bronx housing project across the street from a former garbage dump that is now a Trump-owned golf course\u2014has been fighting for the poor as chair of the Committee on Public Housing.<\/p>\n",
            "excerpt": "<p>Our top stories of the week, as chosen by the editors at Longreads.<\/p>\n",
            "slug": "the-top-5-longreads-of-the-week-147",
            "guid": "http:\/\/\/?p=42147",
            "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": 69,
            "i_like": false,
            "is_reblogged": false,
            "is_following": true,
            "global_ID": "be4aeda84401168fa84c0b4fde9250ab",
            "featured_image": "https:\/\/\/2016\/12\/manila.jpg",
            "post_thumbnail": {
                "ID": 42149,
                "URL": "https:\/\/\/2016\/12\/manila.jpg",
                "guid": "http:\/\/\/2016\/12\/manila.jpg",
                "mime_type": "image\/jpeg",
                "width": 1024,
                "height": 768
            "format": "standard",
            "geo": false,
            "menu_order": 0,
            "publicize_URLs": [],
            "tags": {
                "longreads": {
                    "ID": 35328892,
                    "name": "longreads",
                    "slug": "longreads",
                    "description": "",
                    "post_count": 2386,
                    "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": 135,
                    "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": {
                "Nonfiction": {
                    "ID": 35009777,
                    "name": "Nonfiction",
                    "slug": "nonfiction-2",
                    "description": "",
                    "post_count": 1829,
                    "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"
                "Top 5": {
                    "ID": 35211383,
                    "name": "Top 5",
                    "slug": "top-5-2",
                    "description": "",
                    "post_count": 151,
                    "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": {
                "42149": {
                    "ID": 42149,
                    "URL": "https:\/\/\/2016\/12\/manila.jpg",
                    "guid": "http:\/\/\/2016\/12\/manila.jpg",
                    "mime_type": "image\/jpeg",
                    "width": 1024,
                    "height": 768
            "metadata": [
                    "id": "144600",
                    "key": "geo_public",
                    "value": "0"
                    "id": "144606",
                    "key": "_thumbnail_id",
                    "value": "42149"
            "meta": {
                "links": {
                    "self": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/42147",
                    "help": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/42147\/help",
                    "site": "https:\/\/\/rest\/v1\/sites\/70135762",
                    "replies": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/42147\/replies\/",
                    "likes": "https:\/\/\/rest\/v1\/sites\/70135762\/posts\/42147\/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": "be4aeda84401168fa84c0b4fde9250ab",
            "is_external": false,
            "site_name": "Longreads",
            "site_URL": "http:\/\/",
            "site_is_private": false,
            "featured_media": {
                "uri": "https:\/\/\/2016\/12\/manila.jpg",
                "width": 1024,
                "height": 768,
                "type": "image"
            "feed_ID": 22973954