/guardian/articles/comments

POST /api/guardian/articles/comments

Price: 20 credits

List reader comments on a Guardian article. Returns comment text, author with avatar and staff badges, post time, recommend count and, for threaded mode, every reply nested under the comment it answers.

How to use it

Read the comment thread of a Guardian article. article accepts the article url/path or the short_url_id from guardian/articles (the short id is the faster of the two). Threaded mode returns top-level comments with their replies nested in replies[]; set threaded=false to get every comment, replies included, as separate top-level entries. reply_count follows the mode: in threaded mode it is the size of the whole conversation hanging off a top-level comment (the length of its replies[]), in flat mode it is the number of direct answers to that one comment. order_by controls ordering (oldest, newest or mostRecommended). Guardian stops accepting new comments a few days after publication but keeps the thread readable, so old articles still return their full discussion.

Parameters

Request body

Response

Errors

Response headers