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

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 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 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 132650
Screenshot 2024-03-27 132714

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!

Hello @Gireesh,

For assistance, please refer to the following documentation: Connecting API Data.

Additionally, ensure that the API endpoint includes the appropriate CORS header for Builder.io.

Thank you!

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