Demo to preview the settings

Introduction

The Countries plugin lets you retrieve global country data directly inside your Bubble app, with flexible search options. You can pull a full list of all countries or look them up individually by name, capital city, ISO alpha code, or spoken language — making it a great fit for travel apps, location-based services, internationalization, and any workflow that needs reliable country-level data (names, flags, currencies, languages, regions, borders, population, and more).
The plugin connects to version 5 of the Countries API. This version requires an API key.
An optional Countries cache element is also included. It caches the result of "List All Countries" in the visitor's browser, so your app doesn't need to re-fetch all ~250 countries on every page load.
Image without caption

Prerequisites

You must have an API key to use this plugin with the v5 Countries API. Create your account and generate a key on the https://restcountries.com/, then add it in the plugin's settings (Bearer token / Authorization header) before making any API calls.
Image without caption
Once your key is added, install the plugin, drag the relevant API call into a workflow (or a Repeating Group's data source), and start using it.

How to setup

Plugin Element Properties

The plugin contains one optional visual element, Countries cache, used to cache the full country list in the visitor’s browser so it doesn’t need to be re-fetched from the API on every page load.

Countries cache

Image without caption

Fields:

Element Actions

Exposed States

Element Events

Plugin Data/Action Calls (API Calls only)

Workflow example

Image without caption

Changelogs


Powered by Notaku