Connect an API for tarif number

I will connect the API for pricing

  1. How do I connect?
  2. Can someone teach me how to connect it

The short answer is no actually. There’s too much missing information. Can you send the API Doc with which endpoint you are trying to reach?
Which error do you get when you click on initialize call?

I will send you the link, sorry because I am too new about APIs

1 Like

Did you set authorization? In the Bubble auth part, you should choose private key in header with key name Authorization and value set to Bearer yourapikey

I’ve already done that, don’t I need another set?

Can you share a screenshot of all of that? Also, what do you get when you click initialize?


You are able to initialize. So no problem. But the problem I can see is the number after the countries_ that may create an issue in Bubble. Can you click on raw data at the bottom of initialization screen and share the raw data? The API Doc doesn’t show this output…

This raw data

{
“response”: “1”,
“countries”: {
“_7”: {
“name”: “Россия”,
“original”: “russia”,
“code”: 7,
“pos”: 0,
“other”: false,
“new”: false,
“enable”: true
},
“_380”: {
“name”: “Украина”,
“original”: “ukraine”,
“code”: 380,
“pos”: 1,
“other”: false,
“new”: false,
“enable”: true
},
“_49”: {
“name”: “Германия”,
“original”: “germany”,
“code”: 49,
“pos”: 2,
“other”: 1.24,
“new”: false,
“enable”: true
},
“_44”: {
“name”: “Британия”,
“original”: “united_kingdom”,
“code”: 44,
“pos”: 3,
“other”: 0.63,
“new”: false,
“enable”: true
},
“_33”: {
“name”: “Франция”,
“original”: “france”,
“code”: 33,
“pos”: 4,
“other”: 1.61,
“new”: false,
“enable”: true
},
“_34”: {
“name”: “Испания”,
“original”: “spain”,
“code”: 34,
“pos”: 5,
“other”: 0.34,
“new”: false,
“enable”: true
},
“_46”: {
“name”: “Швеция”,
“original”: “sweden”,
“code”: 46,
“pos”: 6,
“other”: 0.34,
“new”: false,
“enable”: true
},
“_1”: {
“name”: “США”,
“original”: “usa”,
“code”: 1,
“pos”: 7,
“other”: 1.28,
“new”: false,
“enable”: true
},
“_48”: {
“name”: “Польша”,
“original”: “poland”,
“code”: 48,
“pos”: 8,
“other”: 0.49,
“new”: false,
“enable”: true
},
“_31”: {
“name”: “Нидерланды”,
“original”: “netherlands”,
“code”: 31,
“pos”: 9,
“other”: 0.71,
“new”: false,
“enable”: true
},
“_359”: {
“name”: “Болгария”,
“original”: “bulgaria”,
“code”: 359,
“pos”: 10,
“other”: 1.25,
“new”: true,
“enable”: true
},
“_212”: {
“name”: “Марокко”,
“original”: “morocco”,
“code”: 212,
“pos”: 11,
“other”: 0.34,
“new”: true,
“enable”: true
},
“_91”: {
“name”: “Индия”,
“original”: “india”,
“code”: 91,
“pos”: 12,
“other”: false,
“new”: true,
“enable”: true
},
“_45”: {
“name”: “Дания”,
“original”: “denmark”,
“code”: 45,
“pos”: 13,
“other”: 1.61,
“new”: false,
“enable”: true
},
“_351”: {
“name”: “Португалия”,
“original”: “portugal”,
“code”: 351,
“pos”: 14,
“other”: 1.61,
“new”: false,
“enable”: true
},
“_62”: {
“name”: “Индонезия”,
“original”: “indonesia”,
“code”: 62,
“pos”: 15,
“other”: 0.11,
“new”: false,
“enable”: true
},
“_357”: {
“name”: “Кипр”,
“original”: “cyprus”,
“code”: 357,
“pos”: 16,
“other”: false,
“new”: false,
“enable”: true
},
“_1000”: {
“name”: “Канада Virtual”,
“original”: “canada”,
“code”: 1000,
“pos”: 17,
“other”: 0.26,
“new”: false,
“enable”: true
},
“_420”: {
“name”: “Чехия”,
“original”: “czech”,
“code”: 420,
“pos”: 18,
“other”: 0.89,
“new”: false,
“enable”: true
},
“_40”: {
“name”: “Румыния”,
“original”: “romania”,
“code”: 40,
“pos”: 19,
“other”: 0.72,
“new”: false,
“enable”: true
},
“_63”: {
“name”: “Филиппины”,
“original”: “philippines”,
“code”: 63,
“pos”: 20,
“other”: false,
“new”: false,
“enable”: true
},
“_84”: {
“name”: “Вьетнам”,
“original”: “vietnam”,
“code”: 84,
“pos”: 21,
“other”: 0.16,
“new”: false,
“enable”: true
},
“_61”: {
“name”: “Австралия”,
“original”: “australia”,
“code”: 61,
“pos”: 22,
“other”: 1.24,
“new”: false,
“enable”: true
},
“_371”: {
“name”: “Латвия”,
“original”: “latvia”,
“code”: 371,
“pos”: 23,
“other”: 0.18,
“new”: false,
“enable”: true
},
“_381”: {
“name”: “Сербия”,
“original”: “serbia”,
“code”: 381,
“pos”: 24,
“other”: false,
“new”: false,
“enable”: true
},
“_370”: {
“name”: “Литва”,
“original”: “lithuania”,
“code”: 370,
“pos”: 25,
“other”: false,
“new”: false,
“enable”: true
},
“_372”: {
“name”: “Эстония”,
“original”: “estonia”,
“code”: 372,
“pos”: 26,
“other”: 0.36,
“new”: false,
“enable”: true
},
“_373”: {
“name”: “Молдова”,
“original”: “moldova”,
“code”: 373,
“pos”: 27,
“other”: 0.8,
“new”: false,
“enable”: true
},
“_995”: {
“name”: “Грузия”,
“original”: “georgia”,
“code”: 995,
“pos”: 28,
“other”: 0.54,
“new”: false,
“enable”: true
},
“_77”: {
“name”: “Казахстан”,
“original”: “kazakhstan”,
“code”: 77,
“pos”: 29,
“other”: false,
“new”: false,
“enable”: true
},
“_996”: {
“name”: “Киргизия”,
“original”: “kyrgyzstan”,
“code”: 996,
“pos”: 30,
“other”: 0.21,
“new”: false,
“enable”: true
},
“_55”: {
“name”: “Бразилия”,
“original”: “brazil”,
“code”: 55,
“pos”: 31,
“other”: 0.54,
“new”: false,
“enable”: true
},
“_254”: {
“name”: “Кения”,
“original”: “kenya”,
“code”: 254,
“pos”: 32,
“other”: 0.54,
“new”: false,
“enable”: true
},
“_52”: {
“name”: “Мексика”,
“original”: “mexico”,
“code”: 52,
“pos”: 33,
“other”: false,
“new”: false,
“enable”: true
},
“_54”: {
“name”: “Аргентина”,
“original”: “argentina”,
“code”: 54,
“pos”: 34,
“other”: false,
“new”: false,
“enable”: true
},
“_90”: {
“name”: “Турция”,
“original”: “turkey”,
“code”: 90,
“pos”: 35,
“other”: false,
“new”: false,
“enable”: true
},
“_998”: {
“name”: “Узбекистан”,
“original”: “uzbekistan”,
“code”: 998,
“pos”: 36,
“other”: 0.51,
“new”: false,
“enable”: true
},
“_20”: {
“name”: “Египет”,
“original”: “egypt”,
“code”: 20,
“pos”: 37,
“other”: false,
“new”: false,
“enable”: true
},
“_972”: {
“name”: “Израиль”,
“original”: “israel”,
“code”: 972,
“pos”: 38,
“other”: 0.51,
“new”: false,
“enable”: true
},
“_967”: {
“name”: “Йемен”,
“original”: “yemen”,
“code”: 967,
“pos”: 39,
“other”: false,
“new”: false,
“enable”: true
},
“_852”: {
“name”: “Гонконг”,
“original”: “hongkong”,
“code”: 852,
“pos”: 40,
“other”: 0.44,
“new”: false,
“enable”: true
},
“_234”: {
“name”: “Нигерия”,
“original”: “nigeria”,
“code”: 234,
“pos”: 41,
“other”: false,
“new”: false,
“enable”: true
},
“_353”: {
“name”: “Ирландия”,
“original”: “ireland”,
“code”: 353,
“pos”: 42,
“other”: 0.34,
“new”: true,
“enable”: true
},
“_225”: {
“name”: “Кот-д’Ивуар”,
“original”: “ivory”,
“code”: 225,
“pos”: 43,
“other”: 0.26,
“new”: false,
“enable”: true
},
“_233”: {
“name”: “Гана”,
“original”: “ghana”,
“code”: 233,
“pos”: 44,
“other”: false,
“new”: false,
“enable”: true
},
“_232”: {
“name”: “Сиерре Лионе”,
“original”: “sierraleone”,
“code”: 232,
“pos”: 45,
“other”: false,
“new”: false,
“enable”: true
},
“_509”: {
“name”: “Гаити”,
“original”: “haiti”,
“code”: 509,
“pos”: 46,
“other”: false,
“new”: false,
“enable”: true
},
“_886”: {
“name”: “Тайвань”,
“original”: “taiwan”,
“code”: 886,
“pos”: 47,
“other”: false,
“new”: false,
“enable”: true
},
“_216”: {
“name”: “Тунис”,
“original”: “tunis”,
“code”: 216,
“pos”: 48,
“other”: false,
“new”: false,
“enable”: true
},
“_964”: {
“name”: “Ирак”,
“original”: “iraq”,
“code”: 964,
“pos”: 49,
“other”: false,
“new”: false,
“enable”: true
},
“_57”: {
“name”: “Колумбия”,
“original”: “colombia”,
“code”: 57,
“pos”: 50,
“other”: false,
“new”: false,
“enable”: true
},
“_60”: {
“name”: “Малайзия”,
“original”: “malaysia”,
“code”: 60,
“pos”: 51,
“other”: 1.43,
“new”: false,
“enable”: true
},
“_504”: {
“name”: “Гондурас”,
“original”: “honduras”,
“code”: 504,
“pos”: 52,
“other”: false,
“new”: false,
“enable”: true
},
“_235”: {
“name”: “Чад”,
“original”: “chad”,
“code”: 235,
“pos”: 53,
“other”: false,
“new”: false,
“enable”: true
},
“_226”: {
“name”: “Буркина-Фасо”,
“original”: “burkinafaso”,
“code”: 226,
“pos”: 54,
“other”: false,
“new”: false,
“enable”: true
},
“_92”: {
“name”: “Пакистан”,
“original”: “pakistan”,
“code”: 92,
“pos”: 55,
“other”: false,
“new”: false,
“enable”: true
},
“_220”: {
“name”: “Гамбия”,
“original”: “gambia”,
“code”: 220,
“pos”: 56,
“other”: false,
“new”: false,
“enable”: true
},
“_992”: {
“name”: “Таджикистан”,
“original”: “tajikistan”,
“code”: 992,
“pos”: 57,
“other”: false,
“new”: false,
“enable”: true
},
“_98”: {
“name”: “Иран”,
“original”: “iran”,
“code”: 98,
“pos”: 58,
“other”: false,
“new”: false,
“enable”: true
},
“_994”: {
“name”: “Азербайджан”,
“original”: “azerbaijan”,
“code”: 994,
“pos”: 59,
“other”: false,
“new”: false,
“enable”: true
},
“_93”: {
“name”: “Афганистан”,
“original”: “afghanistan”,
“code”: 93,
“pos”: 60,
“other”: false,
“new”: false,
“enable”: true
},
“_591”: {
“name”: “Боливия”,
“original”: “bolivia”,
“code”: 591,
“pos”: 61,
“other”: false,
“new”: false,
“enable”: true
},
“_231”: {
“name”: “Либерия”,
“original”: “liberia”,
“code”: 231,
“pos”: 62,
“other”: false,
“new”: false,
“enable”: true
},
“_976”: {
“name”: “Монголия”,
“original”: “mongolia”,
“code”: 976,
“pos”: 63,
“other”: false,
“new”: false,
“enable”: true
},
“_977”: {
“name”: “Непал”,
“original”: “nepal”,
“code”: 977,
“pos”: 64,
“other”: false,
“new”: false,
“enable”: true
},
“_223”: {
“name”: “Мали”,
“original”: “mali”,
“code”: 223,
“pos”: 65,
“other”: false,
“new”: false,
“enable”: true
},
“_358”: {
“name”: “Финляндия”,
“original”: “finland”,
“code”: 358,
“pos”: 66,
“other”: false,
“new”: false,
“enable”: true
},
“_224”: {
“name”: “Гвинея”,
“original”: “guinea”,
“code”: 224,
“pos”: 67,
“other”: false,
“new”: false,
“enable”: true
},
“_66”: {
“name”: “Тайланд”,
“original”: “thailand”,
“code”: 66,
“pos”: 68,
“other”: 0.54,
“new”: false,
“enable”: true
},
“_30”: {
“name”: “Греция”,
“original”: “greece”,
“code”: 30,
“pos”: 69,
“other”: false,
“new”: false,
“enable”: true
},
“_65”: {
“name”: “Сингапур”,
“original”: “singapore”,
“code”: 65,
“pos”: 70,
“other”: false,
“new”: false,
“enable”: true
},
“_375”: {
“name”: “Белоруссия”,
“original”: “belorussia”,
“code”: 375,
“pos”: 71,
“other”: false,
“new”: false,
“enable”: true
},
“_32”: {
“name”: “Бельгия”,
“original”: “belgium”,
“code”: 32,
“pos”: 72,
“other”: false,
“new”: false,
“enable”: true
},
“_237”: {
“name”: “Камерун”,
“original”: “cameroon”,
“code”: 237,
“pos”: 73,
“other”: false,
“new”: false,
“enable”: true
},
“_39”: {
“name”: “Италия”,
“original”: “italy”,
“code”: 39,
“pos”: 74,
“other”: 0.34,
“new”: false,
“enable”: true
},
“_593”: {
“name”: “Эквадор”,
“original”: “ecuador”,
“code”: 593,
“pos”: 75,
“other”: false,
“new”: false,
“enable”: true
},
“_966”: {
“name”: “Саудовская Аравия”,
“original”: “saudiarabia”,
“code”: 966,
“pos”: 76,
“other”: false,
“new”: false,
“enable”: true
},
“_41”: {
“name”: “Швейцария”,
“original”: “switzerland”,
“code”: 41,
“pos”: 77,
“other”: false,
“new”: false,
“enable”: true
},
“_421”: {
“name”: “Словакия”,
“original”: “slovakia”,
“code”: 421,
“pos”: 78,
“other”: false,
“new”: false,
“enable”: true
},
“_36”: {
“name”: “Венгрия”,
“original”: “hungary”,
“code”: 36,
“pos”: 79,
“other”: 0.89,
“new”: false,
“enable”: true
},
“_389”: {
“name”: “Северная Македония”,
“original”: “northmacedonia”,
“code”: 389,
“pos”: 80,
“other”: false,
“new”: false,
“enable”: true
},
“_386”: {
“name”: “Словения”,
“original”: “slovenia”,
“code”: 386,
“pos”: 81,
“other”: 0.54,
“new”: false,
“enable”: true
},
“_51”: {
“name”: “Перу”,
“original”: “peru”,
“code”: 51,
“pos”: 82,
“other”: false,
“new”: false,
“enable”: true
},
“_505”: {
“name”: “Никарагуа”,
“original”: “nicaragua”,
“code”: 505,
“pos”: 83,
“other”: false,
“new”: false,
“enable”: true
},
“_249”: {
“name”: “Судан”,
“original”: “sudan”,
“code”: 249,
“pos”: 84,
“other”: false,
“new”: false,
“enable”: true
},
“_503”: {
“name”: “Сальвадор”,
“original”: “salvador”,
“code”: 503,
“pos”: 85,
“other”: false,
“new”: false,
“enable”: true
},
“_256”: {
“name”: “Уганда”,
“original”: “uganda”,
“code”: 256,
“pos”: 86,
“other”: false,
“new”: false,
“enable”: true
},
“_260”: {
“name”: “Замбия”,
“original”: “zambia”,
“code”: 260,
“pos”: 87,
“other”: false,
“new”: false,
“enable”: true
},
“_265”: {
“name”: “Малави”,
“original”: “malawi”,
“code”: 265,
“pos”: 88,
“other”: false,
“new”: false,
“enable”: true
},
“_245”: {
“name”: “Гвинея Бисау”,
“original”: “guinea bissau”,
“code”: 245,
“pos”: 89,
“other”: false,
“new”: false,
“enable”: true
},
“_222”: {
“name”: “Мавритания”,
“original”: “mauritania”,
“code”: 222,
“pos”: 90,
“other”: false,
“new”: false,
“enable”: true
},
“_43”: {
“name”: “Австрия”,
“original”: “austria”,
“code”: 43,
“pos”: 91,
“other”: 1.28,
“new”: false,
“enable”: true
},
“_385”: {
“name”: “Хорватия”,
“original”: “croatia”,
“code”: 385,
“pos”: 92,
“other”: false,
“new”: false,
“enable”: true
},
“_856”: {
“name”: “Лаос”,
“original”: “laos”,
“code”: 856,
“pos”: 93,
“other”: false,
“new”: false,
“enable”: true
},
“_95”: {
“name”: “Мьянма”,
“original”: “myanmar”,
“code”: 95,
“pos”: 94,
“other”: false,
“new”: false,
“enable”: true
},
“_855”: {
“name”: “Камбоджа”,
“original”: “cambodia”,
“code”: 855,
“pos”: 95,
“other”: false,
“new”: false,
“enable”: true
},
“_595”: {
“name”: “Парагвай”,
“original”: “paraguay”,
“code”: 595,
“pos”: 96,
“other”: false,
“new”: false,
“enable”: true
},
“_56”: {
“name”: “Чили”,
“original”: “chile”,
“code”: 56,
“pos”: 97,
“other”: false,
“new”: false,
“enable”: true
},
“_64”: {
“name”: “Новая Зеландия”,
“original”: “new zealand”,
“code”: 64,
“pos”: 98,
“other”: false,
“new”: false,
“enable”: true
},
“_507”: {
“name”: “Панама”,
“original”: “panama”,
“code”: 507,
“pos”: 99,
“other”: false,
“new”: false,
“enable”: true
},
“_241”: {
“name”: “Габон”,
“original”: “gabon”,
“code”: 241,
“pos”: 100,
“other”: false,
“new”: false,
“enable”: true
},
“_251”: {
“name”: “Эфиопия”,
“original”: “ethiopia”,
“code”: 251,
“pos”: 101,
“other”: false,
“new”: false,
“enable”: true
},
“_243”: {
“name”: “Конго”,
“original”: “kongo”,
“code”: 243,
“pos”: 102,
“other”: false,
“new”: false,
“enable”: true
},
“_257”: {
“name”: “Бурунди”,
“original”: “burundi”,
“code”: 257,
“pos”: 103,
“other”: false,
“new”: false,
“enable”: true
},
“_229”: {
“name”: “Бенин”,
“original”: “benin”,
“code”: 229,
“pos”: 104,
“other”: false,
“new”: false,
“enable”: true
},
“_27”: {
“name”: “Южная Африка”,
“original”: “republic of south africa”,
“code”: 27,
“pos”: 105,
“other”: 0.04,
“new”: true,
“enable”: true
},
“_244”: {
“name”: “Ангола”,
“original”: “angola”,
“code”: 244,
“pos”: 106,
“other”: false,
“new”: true,
“enable”: true
},
“_961”: {
“name”: “Ливан”,
“original”: “lebanon”,
“code”: 961,
“pos”: 107,
“other”: 0.04,
“new”: true,
“enable”: true
},
“_258”: {
“name”: “Мозамбик”,
“original”: “mozambique”,
“code”: 258,
“pos”: 108,
“other”: false,
“new”: true,
“enable”: true
},
“_963”: {
“name”: “Сирия”,
“original”: “syria”,
“code”: 963,
“pos”: 109,
“other”: false,
“new”: true,
“enable”: false
}
},
“services”: {
“_vkcom”: {
“id”: 1,
“count”: 6367,
“price”: “0.55”,
“service”: “ВКонтакте”,
“slug”: “vkcom”
},
“_3223”: {
“id”: 2,
“count”: 9999,
“price”: “0.27”,
“service”: “Facebook”,
“slug”: “3223”
},
“_mailru”: {
“id”: 3,
“count”: 2372,
“price”: “0.55”,
“service”: “Mail.ru”,
“slug”: “mailru”
},
“_odklru”: {
“id”: 4,
“count”: 9999,
“price”: “0.55”,
“service”: “Одноклассники”,
“slug”: “odklru”
},
“_google”: {
“id”: 5,
“count”: 9673,
“price”: “0.22”,
“service”: “Google (Youtube, Gmail)”,
“slug”: “google”
},
“_yandex”: {
“id”: 6,
“count”: 6784,
“price”: “0.11”,
“service”: “Яндекс”,
“slug”: “yandex”
},
“_avito”: {
“id”: 7,
“count”: 8195,
“price”: “0.47”,
“service”: “Авито”,
“slug”: “avito”
},
“_viber”: {
“id”: 8,
“count”: 8332,
“price”: “0.17”,
“service”: “Viber”,
“slug”: “viber”
},
“_whatsapp”: {
“id”: 9,
“count”: 3465,
“price”: “2.00”,
“service”: “WhatsApp”,
“slug”: “whatsapp”
},
“_telegram”: {
“id”: 10,
“count”: 916,
“price”: “1.75”,
“service”: “Telegram”,
“slug”: “telegram”
},
“_fastfriend”: {
“id”: 11,
“count”: 9999,
“price”: “0.05”,
“service”: “ДругВокруг”,
“slug”: “fastfriend”
},
“_icq”: {
“id”: 12,
“count”: 9999,
“price”: “0.55”,
“service”: “ICQ”,
“slug”: “icq”
},
“_instagram”: {
“id”: 13,
“count”: 9999,
“price”: “0.20”,
“service”: “Instagram”,
“slug”: “instagram”
},
“_wechat”: {
“id”: 14,
“count”: 9999,
“price”: “0.28”,
“service”: “WeChat”,
“slug”: “wechat”
},
“_steam”: {
“id”: 15,
“count”: 9999,
“price”: “0.11”,
“service”: “Steam”,
“slug”: “steam”
},
“_uber”: {
“id”: 16,
“count”: 9999,
“price”: “0.15”,
“service”: “Uber”,
“slug”: “uber”
},
“_microsoft”: {
“id”: 17,
“count”: 9999,
“price”: “0.12”,
“service”: “Microsoft”,
“slug”: “microsoft”
},
“_seosprint”: {
“id”: 18,
“count”: 4585,
“price”: “0.06”,
“service”: “Seosprint”,
“slug”: “seosprint”
},
“_twitter”: {
“id”: 19,
“count”: 9999,
“price”: “0.06”,
“service”: “Twitter”,
“slug”: “twitter”
},
“_gett”: {
“id”: 20,
“count”: 5185,
“price”: “0.06”,
“service”: “Gett”,
“slug”: “gett”
},
“_olx”: {
“id”: 21,
“count”: 9999,
“price”: “0.05”,
“service”: “OLX”,
“slug”: “olx”
},
“_meetme”: {
“id”: 22,
“count”: 4199,
“price”: “0.06”,
“service”: “MeetMe”,
“slug”: “meetme”
},
“_linemessenger”: {
“id”: 23,
“count”: 9999,
“price”: “0.06”,
“service”: “LINE”,
“slug”: “linemessenger”
},
“_yahoo”: {
“id”: 24,
“count”: 9999,
“price”: “0.06”,
“service”: “Yahoo”,
“slug”: “yahoo”
},
“_rambler”: {
“id”: 25,
“count”: 1554,
“price”: “0.06”,
“service”: “Рамблер”,
“slug”: “rambler”
},
“_tencentqq”: {
“id”: 26,
“count”: 3347,
“price”: “0.06”,
“service”: “QQ”,
“slug”: “tencentqq”
},
“_taximaxim”: {
“id”: 27,
“count”: 5651,
“price”: “0.06”,
“service”: “taxiMaxim”,
“slug”: “taximaxim”
},
“_tantan”: {
“id”: 28,
“count”: 9999,
“price”: “0.06”,
“service”: “TanTan”,
“slug”: “tantan”
},
“_tinder”: {
“id”: 29,
“count”: 9999,
“price”: “0.11”,
“service”: “Tinder”,
“slug”: “tinder”
},
“_mamba”: {
“id”: 30,
“count”: 9999,
“price”: “0.55”,
“service”: “Мамба”,
“slug”: “mamba”
}
},
“favorite_countries”: {},
“favorite_services”: ,
“page”: 1,
“country”: 7,
“filter”: “”,
“end”: false,
“favorites”: {}
}

This is the kind of response not usable in Bubble. You may need a plugin or third party app.
The response according to doc should look like that:

  "response": 1,
  "countries": {
    "country_code": {
      "name": "string",
      "original": "string",
      "code": 0,
      "pos": 0,
      "other": true,
      "new": true,
      "enable": true
    }
  },
  "services": {
    "service_name": {
      "id": 0,
      "count": 0,
      "price": "string",
      "service": "string",
      "slug": "string"
    }
  },
  "favorite_countries": {},
  "favorite_services": [
    {}
  ],
  "page": 0,
  "country": 0,
  "filter": "string",
  "end": true,
  "favorites": {}
}

This is usable in Bubble. Try to reach OnlineSim API Support to know if there’s something you can do to get this response instead of the one you actually get. Also, there’s no reason on their side to format this like what you get because the country code is already in the payload as “code”

Thank you, I will contact Onlinesim

Thank you for helping me :grin:

1 Like