# How can I get a list of standalone pages from API

**URL:** <https://forum.getkirby.com/t/how-can-i-get-a-list-of-standalone-pages-from-api/22696>\
**Category:** Questions\
**Tags:** v3\
**Created:** [June 26, 2021, 1:49pm UTC](https://forum.getkirby.com/t/how-can-i-get-a-list-of-standalone-pages-from-api/22696 "2021-06-26T13:49:29Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![krisa](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/krisa/32/3415_2.png) [@krisa](https://forum.getkirby.com/u/krisa)\
**Post date:** [July 2, 2021, 6:06pm UTC](https://forum.getkirby.com/t/how-can-i-get-a-list-of-standalone-pages-from-api/22696/13 "2021-07-02T18:06:15Z")

</div>

@shawninder while most people are probably not using kirby fully headless if you search around you will find all kinds of plugins that help with this.

> **[GitHub - getkirby/kql: Kirby's Query Language API combines the flexibility of...](https://github.com/getkirby/kql)**
>
> Kirby's Query Language API combines the flexibility of Kirby's data structures, the power of GraphQL and the simplicity of REST. - GitHub - getkirby/kql: Kirby's Query Language API comb...

> [@Kirby 3 as Headless CMS for Vue/Nuxt](https://forum.getkirby.com/t/kirby-3-as-headless-cms-for-vue-nuxt/12142/89):
>
> I mostly do it as follows: Create a page method, e.g. $page-\>json() that returns an array of information about some page: /\* your Kirby plugin \*/ 'pageMethods' =\> ['json' =\> function (): array { return ['title' =\> $this-\>title()-\>value(), 'path' =\> $this-\>id(), 'template' =\> $this-\>intendedTemplate()-\>name(), /\* or any other fields that you need \*/]; } ] 2a. You can already call that $page-\>json() to get that array. For example if you want to use that i…

> **[GitHub - johannschopplich/kirby-vue3-starterkit: ✨ Kirby + Vue SPA starter:...](https://github.com/johannschopplich/kirby-vue3-starterkit)**
>
> ✨ Kirby + Vue SPA starter: automatic routing, i18n, SEO and more! - GitHub - johannschopplich/kirby-vue3-starterkit: ✨ Kirby + Vue SPA starter: automatic routing, i18n, SEO and more!

> **[GitHub - robinscholz/better-rest: Kirby plugin for better REST requests](https://github.com/robinscholz/better-rest)**
>
> Kirby plugin for better REST requests. Contribute to robinscholz/better-rest development by creating an account on GitHub.

Kirby doesn’t give you everything out of the box but i think the power lies in the flexibility and ease of use to make your own. It’s more like toolkit for CMS than predefined CMS. That philosophy is everywhere. For example when you just install and look into Kirby Panel admin interface it will be empty - you have to do some work to use it. But it tends to be quick and pleasant work not some complicated mess.

Creating custom endpoint for pages will take very little time compared to the UI part for your site. But now you got superpower - you can make and use any endpoint with any data you want, wrap and cache other apis etc.

---

_[View the full topic](https://forum.getkirby.com/t/how-can-i-get-a-list-of-standalone-pages-from-api/22696)._
