Title: Get Posts
Last modified: August 31, 2016

---

# Get Posts

 *  Resolved [harisbosanac](https://wordpress.org/support/users/harisbosanac/)
 * (@harisbosanac)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-posts-2/)
 * Hello,
    I dont know how do get Posts by the ID I tried it with /v2/posts?id=20215
   but it responds with all posts How I can get for example the last three posts?
   I can’t find anything about it in the documentation
 * [https://wordpress.org/plugins/rest-api/](https://wordpress.org/plugins/rest-api/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Albert221](https://wordpress.org/support/users/albert221/)
 * (@albert221)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-posts-2/#post-7061074)
 * As you can see here [http://v2.wp-api.org/reference/posts/](http://v2.wp-api.org/reference/posts/)
   the URL to GET from is `/wp/v2/posts/<id>`
 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/get-posts-2/#post-7061175)
 * Thanks for helping out, [@albert221](https://wordpress.org/support/users/albert221/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Get Posts’ is closed to new replies.

 * ![](https://ps.w.org/rest-api/assets/icon-256x256.png?rev=1346297)
 * [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/get-posts-2/#post-7061175)
 * Status: resolved