Steps:
Go to
https://countrylayer.comSign up for a free or paid plan.
Copy your API key
In the plugin editor:
For all CountryLayer API calls, use this as the access_key parameter.
2. Country Info Endpoints in Bubble
You can now use the following API calls as data sources:
All Countries – List all countries with data
Country by Name, Code, or Currency
Borders – Get bordering countries
Calling Code, Capital, Region, Language lookups
Geo – Get country by latitude/longitude
These are available in Data > Get data from external API and return structured fields like:
Name
Code (alpha-2, alpha-3)
Currency (name, code, symbol)
Timezones
Flags
3. CountryFlags.io – Flags Display
Country flags are accessible via image URLs:
https://countryflagsapi.com/png/[COUNTRY_CODE]
Replace [COUNTRY_CODE] with the 2-letter country code (e.g., FR or US)
Use a dynamic image element in Bubble.
4. AlphaVantage Currency Exchange Rates
Steps:
Visit
https://www.alphavantage.co/Sign up and copy your API key
Paste it in the apikey parameter in the Exchange Rate calls
Supported endpoints:
Currency to Currency (e.g. USD to EUR)
5. TimezoneDB API
Steps:
Go to
https://timezonedb.comGet your free API key
Add it in the key parameter under Timezone API calls
Retrieve time info based on:
Country name
Geo coordinates
IP address
6. Geolocation by IP (via IPStack or IP-API)
Two options are included:
ipapi.com (basic IP location lookup)
ipstack.com (if you prefer IPStack, insert your access key there)
Returns:
Country
Region
City
Zip
Latitude & Longitude
ISP details (optional)
7. Workflow Usage
These APIs can be used:
As Data sources for displaying country-related data
Inside Workflows for:
Setting a user’s country based on IP
Matching currency to location
Converting currencies in real time
Showing timezones dynamically
Use Get data from external API in your workflow or elements.