Title: Public REST API example
Last modified: July 16, 2018

---

# Public REST API example

 *  [valhallaskies79](https://wordpress.org/support/users/valhallaskies79/)
 * (@valhallaskies79)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/public-rest-api-example/)
 * So I’m curious as to how WordPress.com got their REST results this simple:
 * [https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=10](https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=10)
 * My current results look like this:
 * [http://www.blueicestudios.com/preg/wp-json/wp/v2/posts/?number=10](http://www.blueicestudios.com/preg/wp-json/wp/v2/posts/?number=10)
 * The “rendered” parts are causing me some issues in Android and I wanted to know
   what they did to simplify their results.
 * Thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpublic-rest-api-example%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/public-rest-api-example/#post-10496426)
 * I don’t see much of a meaningful difference. Yours appears to have a bit more
   HTML markup in it, but that’s just because your content does. The posts in your
   WordPress.com example are just simpler, the API hasn’t ‘simplified’ them.
 *  Thread Starter [valhallaskies79](https://wordpress.org/support/users/valhallaskies79/)
 * (@valhallaskies79)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/public-rest-api-example/#post-10498265)
 * The public one doesn’t have the “rendered” parts in it and contains the featured
   image. Not sure how they achieved that.
 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/public-rest-api-example/#post-10499840)
 * Well it’s not the same API. As you can see from the URLs the WordPress.com is
   version 1.1 of their own API while yours is version 2 of the WordPress REST API.

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

The topic ‘Public REST API example’ is closed to new replies.

## Tags

 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 2 participants
 * Last reply from: [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/public-rest-api-example/#post-10499840)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
