# Using RapidAPI with Adalo?

**URL:** https://forum.adalo.com/t/using-rapidapi-with-adalo/22485
**Category:** External Collections, Custom Actions & Collections
**Created:** [January 24, 2022, 7:29pm UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485 "2022-01-24T19:29:17Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![JL\_LJ](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@JL\_LJ](https://forum.adalo.com/u/JL_LJ)
#### Post date: [April 3, 2022, 10:38pm UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/21 "2022-04-03T22:38:46Z")

</div>

You need the upc scan, it is part of the Query parameters. Issue is in the API response, not the parameters.

I tested by adding the UPC code in the Query parameters, and as you can see it gave results (This UPC code existed in the DB), but the response is still not properly formatted for Adalo.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/d/4/d4a8d5836d71daad940fec99b584d06efecb7bc3.png)

If you take a look at the Cocktails API and add “drinks” to the “Results Key” it returns a proper array:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/a/b/aba47de037cb670f619dfed501fa4fb4b4374e0f.png)

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/3/e/3eb5b7cfadd6decbb7aee4677cf75c469348f34c.png)

As I mentioned, ADALO cannot handle the 1 Result “JSON Object”.

---

<div class="post-metadata">

### Author: ![Gaby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/gaby/32/15310_2.png) [@Gaby](https://forum.adalo.com/u/Gaby)
#### Post date: [April 4, 2022, 2:58am UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/22 "2022-04-04T02:58:01Z")

</div>

Hi [JL\_LJ](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/21) thanks very much for your insights. I understand what you have explained, but I do have 1 question based on your cocktails API example:

I looked at the rapidAPI for this and wondered how did you determine that the results key was “drinks”?

---

<div class="post-metadata">

### Author: ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)
#### Post date: [April 4, 2022, 6:02am UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/23 "2022-04-04T06:02:54Z")

</div>

Thanks @JL_LJ! Awesome!

---

<div class="post-metadata">

### Author: ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)
#### Post date: [April 4, 2022, 7:17am UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/24 "2022-04-04T07:17:36Z")

</div>

Hi Gaby,

After thinking this I don’t think you need External collection for this because it only returns the quote and ID only. And you can do this with Custom action.

Here’s a video :

> **[New Quote.mp4](https://drive.google.com/file/d/1wEdkooUBKUeoRFvza0pYNFFOlGtgP59W/view?usp=sharing)**
>
> Google Drive file.

In here I have added a Input to store the return quote and display it. Or you can create a variable in the Users collection and store it there if you have User Profiles. Or you can create another collection and store there and show.

Just for information : Abracadalo also has a Nice Random Quote API : [Random API | Abracadalo API Handbook](https://docs.abracadalo.com/random-api#quote)

And a video about that too :

> **[Abracadalo New Quote.mp4](https://drive.google.com/file/d/1P8mbG4JEp-TVVJZ26_4SGe-qWrOBbAlC/view?usp=sharing)**
>
> Google Drive file.

Thank you

---

<div class="post-metadata">

### Author: ![JL\_LJ](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@JL\_LJ](https://forum.adalo.com/u/JL_LJ)
#### Post date: [April 4, 2022, 8:18am UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/25 "2022-04-04T08:18:21Z")

</div>

Hi @Gaby ,  
if you take a look into the Results in Rapid API, you can see the results are grouped under the Results key “drinks”

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/6/d/6d91e7be2367a6d1c427a6c389714af012071214.png)

If you observe Airtable, same principle, but under “records”

---

<div class="post-metadata">

### Author: ![Gaby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/gaby/32/15310_2.png) [@Gaby](https://forum.adalo.com/u/Gaby)
#### Post date: [April 4, 2022, 11:14am UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/26 "2022-04-04T11:14:59Z")

</div>

Ok @JL_LJ Now I get it - I had to subscribe and run the “test endpoint” to get the “results key”. Thanks for shedding some light on this!

---

<div class="post-metadata">

### Author: ![Gaby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/gaby/32/15310_2.png) [@Gaby](https://forum.adalo.com/u/Gaby)
#### Post date: [April 4, 2022, 11:22am UTC](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485/27 "2022-04-04T11:22:03Z")

</div>

Wow @Dilon thanks for taking the time to put this info together. I will review and give feedback.

I had worked around my problem for my current project by using an API that was outside the RapidAPI hub, but I really wanted to understand the possibilities and limitations using RapidAPI for future projects. So I really appreciate your and @JL_LJ feedback. Hopefully @Zwood finds a solution to his immediate challenge based on all these valuable discussions!

[Previous page](https://forum.adalo.com/t/using-rapidapi-with-adalo/22485.md?page=1)
