# How do I use TheCocktailDB in my project?

**URL:** <https://community.thunkable.com/t/how-do-i-use-thecocktaildb-in-my-project/1201427>\
**Category:** Questions about Thunkable X\
**Tags:** webapi\
**Created:** [April 1, 2021, 11:46pm UTC](https://community.thunkable.com/t/how-do-i-use-thecocktaildb-in-my-project/1201427 "2021-04-01T23:46:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 2, 2021, 12:16am UTC](https://community.thunkable.com/t/how-do-i-use-thecocktaildb-in-my-project/1201427/2 "2021-04-02T00:16:27Z")

</div>

So I’ll just say that APIs are **complicated**. What you’re wanting to do sounds easy and straightforward. And it’s not terribly hard relative to some APIs but it does take a few extra steps beyond what you’ve tried.

To start with, the JSON object is returning a property called “drinks” that contains an array. In Thunkable, you have to access this using list blocks. So just getting the value of “drinks” from the object, as you’ve done, isn’t going to work.

I know nobody wants to be told to go watch a video but I think you’ll find my tutorial pretty helpful:

> [@API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575):
>
> Using APIs in Thunkable and understanding how to parse JSON to get certain data from the API response is both a popular and a difficult aspect of using Thunkable. It’s not so much difficult because of Thunkable but because every API url format is different, every API documentation is different, every JSON response is different, etc. In this video, I spend a lot of time talking you through some best practices. It’s not a quick tutorial because if you rush through setting up an API in Thunkable, …

If that gets you a little further and you still have questions, post an update here…

---

_[View the full topic](https://community.thunkable.com/t/how-do-i-use-thecocktaildb-in-my-project/1201427)._
