Title: Exposing TablePress table data as Rest JSON
Last modified: August 30, 2016

---

# Exposing TablePress table data as Rest JSON

 *  Resolved [billu18murali](https://wordpress.org/support/users/billu18murali/)
 * (@billu18murali)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/)
 * I am using TablePress table to display data. Is it possible to expose the table
   data as Rest – JSON directly.
    I am able to see the table data WITH <row> and
   <column> tags in a single json value. I even tried using table advanced custom
   field, using which I get the data as,
 *  “placetable”: [
    “{\”p\”:{\”o\”:{\”uh\”:0}},\”c\”:{\”0\”:{\”p\”:\”\”},\”1\”:{\”
   p\”:\”\”}},\”h\”:{\”0\”:{\”c\”:\”\”},\”1\”:{\”c\”:\”\”}},\”b\”:{\”0\”:{\”0\”:{\”
   c\”:\”test\”},\”1\”:{\”c\”:\”america\”}},\”1\”:{\”0\”:{\”c\”:\”india\”},\”1\”:{\”
   c\”:\”europe\”}}}}” ] Any help on this would be appreciated.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/#post-6468548)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * No, sorry, something like this is not yet possible with TablePress. I’ll be looking
   into making table data available via a REST endpoint once the JSON REST API has
   been added to WordPress core in one of the next releases.
 * Meanwhile, I can only suggest to use the regular TablePress Export feature to
   obtain the table in JSON format.
 * Regards,
    Tobias
 *  Thread Starter [billu18murali](https://wordpress.org/support/users/billu18murali/)
 * (@billu18murali)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/#post-6468557)
 * Thanks for your reply TobiasBg.
 * Is it possible for me to write a new plugin and access the data and expose it
   as rest api?
 * Or
 * Is it possible to fetch the data using any php code?
 * Or
 * Is there any other plugin that will help me in adding multiple table structured
   data and expose as JSON?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/#post-6468559)
 * Hi,
 * yes, you could of course write a custom plugin that does this. TablePress offers
   PHP functions that can be used to read the table content from the database. The
   TablePress Single Cell Shortcode Extension from [https://tablepress.org/extensions/table-cell-shortcode/](https://tablepress.org/extensions/table-cell-shortcode/)
   might be a good starting point.
 * Regards,
    Tobias
 *  Thread Starter [billu18murali](https://wordpress.org/support/users/billu18murali/)
 * (@billu18murali)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/#post-6468562)
 * Thank you.
    Will get in touch with you incase if I need any help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/#post-6468563)
 * Hi,
 * sure, feel free post here again!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Exposing TablePress table data as Rest JSON’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/exposing-tablepress-table-data-as-rest-json/#post-6468563)
 * Status: resolved