# How to call rest API in builder.io to display the data from it?

**URL:** <https://forum.builder.io/t/how-to-call-rest-api-in-builder-io-to-display-the-data-from-it/5224>\
**Category:** Visual Editor Help\
**Tags:** visual-editor, angular, api\
**Created:** [March 27, 2024, 8:07am UTC](https://forum.builder.io/t/how-to-call-rest-api-in-builder-io-to-display-the-data-from-it/5224 "2024-03-27T08:07:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gireesh](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@Gireesh](https://forum.builder.io/u/Gireesh)\
**Post date:** [March 27, 2024, 8:07am UTC](https://forum.builder.io/t/how-to-call-rest-api-in-builder-io-to-display-the-data-from-it/5224/1 "2024-03-27T08:07:54Z")

</div>

_Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank._

**Builder content link**

> **[Builder.io: Visual Development Platform](https://builder.io/content/43803c3de8ae49f1aef141e2b715dae3/edit?activeDesignerTab=0&selectedBlock=builder-d1636293e17a489da17aee51e6a1f5ac)**
>
> Drag and drop with your components, right within your existing site or app. Build and optimize digital experiences for any tech stack, visually..

**Builder public api key**  
b13c2e8b70264cbe860d989524ed15f5

**What are you trying to accomplish**  
Hello,  
I have an API end point, I want to fetch the data in [builder.io](http://builder.io) to display that in my content in marquee style. I also tried using API data in found in data tab then i encountered an error in ‘CORS proxy URL’, how can i achieve this?

**Screenshots or video link**

 ![Screenshot 2024-03-27 132632](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/7/7a9cf0ef707f803eeb0102f4667ec7f313d14d31.png)  
 ![Screenshot 2024-03-27 132650](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/2/2a19b0e4e500266f07a4267ec067561acb3bbce6.png)  
 ![Screenshot 2024-03-27 132714](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/7/7d43e199257516bab173b9f959d038be688d898d.png)

**Code stack you are integrating Builder with**  
Angular

**Reproducible code example**  
_If you are having integration errors, please link to codesandbox or copy and paste your problematic code here. The more detail the better!_

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [April 4, 2024, 10:50am UTC](https://forum.builder.io/t/how-to-call-rest-api-in-builder-io-to-display-the-data-from-it/5224/2 "2024-04-04T10:50:31Z")

</div>

Hello @Gireesh,

For assistance, please refer to the following documentation: [Connecting API Data](https://www.builder.io/c/docs/guides/connecting-api-data).

Additionally, ensure that the API endpoint includes the appropriate CORS header for [Builder.io](http://Builder.io).

Thank you!

---

<div class="post-metadata">

**Author:** ![Gireesh](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@Gireesh](https://forum.builder.io/u/Gireesh)\
**Post date:** [April 4, 2024, 1:51pm UTC](https://forum.builder.io/t/how-to-call-rest-api-in-builder-io-to-display-the-data-from-it/5224/3 "2024-04-04T13:51:03Z")

</div>

Hello @manish-sharma,  
It’s working well now. I’m very glad for your valuable time and assistance
