# Adding article search functionality

**URL:** <https://community.prismic.io/t/adding-article-search-functionality/11871>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [November 29, 2022, 4:57am UTC](https://community.prismic.io/t/adding-article-search-functionality/11871 "2022-11-29T04:57:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean2](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/sean2/32/5288_2.png) [@sean2](https://community.prismic.io/u/sean2)\
**Post date:** [November 29, 2022, 4:57am UTC](https://community.prismic.io/t/adding-article-search-functionality/11871/1 "2022-11-29T04:57:05Z")

</div>

Hello,  
I am trying to add a search functionality to my application which can search content through out the website. Is there a way to fetch data from Prismic on Next js API endpoint as API routes do not have access to **getStaticProps**?

Thank you.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [November 29, 2022, 4:14pm UTC](https://community.prismic.io/t/adding-article-search-functionality/11871/3 "2022-11-29T16:14:59Z")

</div>

Hello @sean2, you can use the [fulltext search option from the REST API](https://prismic.io/docs/rest-api-technical-reference#fulltext), or configure [Algolia](https://www.algolia.com/doc/) for more advanced search functionality.

---

<div class="post-metadata">

**Author:** ![sean2](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/sean2/32/5288_2.png) [@sean2](https://community.prismic.io/u/sean2)\
**Post date:** [November 30, 2022, 3:55am UTC](https://community.prismic.io/t/adding-article-search-functionality/11871/4 "2022-11-30T03:55:55Z")

</div>

Hello @Pau, good to see you again!

I came across these links earlier, but was looking for some specific articles that explains **search** functionality. It is a basic functionality for a website. I wonder why even the Prismic starter templates do not have this feature, or am I missing out something here?

Anyway, thanks for the response.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [November 30, 2022, 4:38pm UTC](https://community.prismic.io/t/adding-article-search-functionality/11871/5 "2022-11-30T16:38:14Z")

</div>

It's true, we don't add this functionality in the starters. I'll add a note on our backlog for future improvements.
