# Welke scope is nodig om toegang te krijgen tot {{localhost}}/posts.json?

**URL:** <https://meta.discourse.org/t/what-scope-is-needed-for-acessing-localhost-posts-json/180358>\
**Category:** Development\
**Created:** [19 februari 2021 om 16:50 UTC](https://meta.discourse.org/t/what-scope-is-needed-for-acessing-localhost-posts-json/180358 "2021-02-19T16:50:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [19 februari 2021 om 21:49 UTC](https://meta.discourse.org/t/what-scope-is-needed-for-acessing-localhost-posts-json/180358/4 "2021-02-19T21:49:26Z")

</div>

> [@Hugo\_Tadashi](#):
>
> Is there any workaround?

If you are only querying for public posts, you might be able to make an unauthenticated API request to `/posts.json`. If your site is private, or the posts are in protected categories, I think the only way you can currently retrieve the posts is with a global API key.

---

_[View the full topic](https://meta.discourse.org/t/what-scope-is-needed-for-acessing-localhost-posts-json/180358)._
