BUILDER

Features

Developers

Documentation

Pricing

Github

Docs

App

This page was made in Builder!

USER GUIDES

Creating Content

Learning the visual editor

Responsive design tricks

Saving layers as templates

Importing your site pages

Connecting custom data

Interactive pages with state and actions

Creating reusable components with Symbols

Targeting and scheduling content

Building custom forms

How To

Sidebar Menu

Dropdown Menu

Platforms

Shopify

Wordpress

Custom

DEVELOPER GUIDES

Guides

Quick start

SEO optimizing Builder.io content

Creating custom models

Using custom fields

Enable on-site previewing and editing

Dynamic URLs and advanced data fetching

Adding Custom Code

Using 3rd party libraries

Import HTML

Extending Builder.io with plugins

REST API

HTML API

Content API

GraphQL API

Webhooks

Write API

React

Getting started

Using Next.js

Using Gatsby

Using your React components in Builder

New!

Components-only mode

Triggering custom actions

Angular

Ruby on rails

Webcomponents

Github

Connecting your API data to builder

Connecting your own API data is one of Builder's most powerful features! Learn how with the video tutorial below:

In this example, we will demonstrate how to connect your API data to Builder. Navigate to the content page and create a new entry. Drag and drop a box into the content area. Next, drag and drop a new box into the existing box, then drag and drop an image into the inner box.

Next, select the box that only wraps the image, and give it a width of 200px. Drag and drop a text box below the image. We want the smaller box (the one including the image) to repeat for every item coming in from an API. Go to the "Data" tab and click “+ data source” in the remote data section. We are going to call it "users" and paste the URL into the input box. Once you have hit enter, you will notice under “element data bindings” it says “repeat for each”. Click on the drop down menu, and select “Results”. Now, we have one grid item per result in our array.

Lastly, click on an image. Select “New binding” under the “element data bindings” section. Click on the “get” drop down menu and select image. Then, select the “from” dropdown menu and select the large picture option. Once you have your API data displayed in the editor, you can change the layout.

Up Next

Learn how to make your pages interactive with state and actions

State and actions guide

Or learn advanced data fetching techniques

Advanced data fetching

Questions or comments?

Give us a chat, we are quick to respond and here to help!

Chat us now!