List destinations
curl --request GET \
--url https://api.onroamly.com/v1/destinations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.onroamly.com/v1/destinations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.onroamly.com/v1/destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.onroamly.com/v1/destinations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.onroamly.com/v1/destinations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.onroamly.com/v1/destinations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.onroamly.com/v1/destinations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"slug": "jp",
"name": "Japan",
"type": "country",
"flagEmoji": "🇯🇵",
"planCount": 6,
"minPrice": {
"amount": 6.5,
"currency": "AUD"
},
"countries": [
"JP"
],
"url": "https://www.onroamly.com/explore/jp"
},
{
"slug": "asia",
"name": "Asia",
"type": "region",
"flagEmoji": "🌏",
"planCount": 5,
"minPrice": {
"amount": 9,
"currency": "AUD"
},
"countries": [
"JP",
"KR",
"SG",
"TH",
"VN"
],
"url": "https://www.onroamly.com/explore/asia"
}
],
"meta": {
"count": 2,
"currency": "AUD"
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide your API key as 'Authorization: Bearer rk_live_…'."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded (120 requests/minute per key)."
}
}List destinations
Every country and regional bundle with at least one plan on sale,
including a plan count and the cheapest plan’s price. Use each
destination’s slug to filter /v1/plans.
GET
/
v1
/
destinations
List destinations
curl --request GET \
--url https://api.onroamly.com/v1/destinations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.onroamly.com/v1/destinations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.onroamly.com/v1/destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.onroamly.com/v1/destinations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.onroamly.com/v1/destinations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.onroamly.com/v1/destinations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.onroamly.com/v1/destinations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"slug": "jp",
"name": "Japan",
"type": "country",
"flagEmoji": "🇯🇵",
"planCount": 6,
"minPrice": {
"amount": 6.5,
"currency": "AUD"
},
"countries": [
"JP"
],
"url": "https://www.onroamly.com/explore/jp"
},
{
"slug": "asia",
"name": "Asia",
"type": "region",
"flagEmoji": "🌏",
"planCount": 5,
"minPrice": {
"amount": 9,
"currency": "AUD"
},
"countries": [
"JP",
"KR",
"SG",
"TH",
"VN"
],
"url": "https://www.onroamly.com/explore/asia"
}
],
"meta": {
"count": 2,
"currency": "AUD"
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide your API key as 'Authorization: Bearer rk_live_…'."
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded (120 requests/minute per key)."
}
}Authorizations
Your Roamly API key, e.g. Authorization: Bearer rk_live_…
Query Parameters
Currency for prices. AUD (default) is what checkout charges;
USD is converted at a fixed reference rate for display and may
differ slightly from card-statement amounts.
Available options:
AUD, USD Was this page helpful?
⌘I
