# Is it possible to bulk query with web abi?

**URL:** <https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752>\
**Category:** Web API's\
**Created:** [July 20, 2023, 7:39pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752 "2023-07-20T19:39:52Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 20, 2023, 7:39pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/1 "2023-07-20T19:39:52Z")

</div>

Is there an example to use web api to get multiple data?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [July 23, 2023, 1:23pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/2 "2023-07-23T13:23:19Z")

</div>

What do you mean? Like, can you retrieve a list? Yes

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 27, 2023, 9:06pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/3 "2023-07-27T21:06:00Z")

</div>

![111](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/a/bae87fa3a28283b3b8eb811860ad4dee6935c248.jpeg)  
I want to use POST API (OR GET API) to get this query. But I dont know how to merge blocks. Can you give me an example?

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 27, 2023, 9:54pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/4 "2023-07-27T21:54:37Z")

</div>

![111](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/a/9aa9454b48417f6eb89205c20a808722fbf93ad2.jpeg)  
When I use these blocks, I get the response below.  
 ![222](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/6/465e871b1863adffb5bb7c6de311e4552b5b0f35.jpeg)

---

<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:** [July 27, 2023, 9:54pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/5 "2023-07-27T21:54:54Z")

</div>

That entire query would be returned as the JSON object from a single API call.

You can learn more about how to parse API calls from my tutorial: [API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575)

**Edit:** I see you posted a screenshot right when I was replying. So perhaps my advice is not all that helpful.

Post a link to the API documentation. We would need to know how to properly authenticate to it since that’s what the error message is about.

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 27, 2023, 10:13pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/6 "2023-07-27T22:13:38Z")

</div>

It’s a little bit complicated. I need to know If I used the blocks correctly or not.

---

<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:** [July 27, 2023, 11:41pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/7 "2023-07-27T23:41:29Z")

</div>

You did not because you’re getting an authentication error. The API is not allowing you access to the API data.

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 28, 2023, 1:05am UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/8 "2023-07-28T01:05:11Z")

</div>

Can you or someone arrange the blocks according to codes I shared above?

---

<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:** [July 28, 2023, 1:21am UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/9 "2023-07-28T01:21:44Z")

</div>

No because you haven’t shared the information about how to authenticate with that specific API. What is the link to the API documentation?

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 28, 2023, 8:09am UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/10 "2023-07-28T08:09:32Z")

</div>

[https://api.taapi.io/bulk](https://api.taapi.io/bulk)

Edit: need secret code also?

---

<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:** [July 28, 2023, 4:12pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/11 "2023-07-28T16:12:48Z")

</div>

That is not a link to the documentation. The instructions.

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [July 28, 2023, 8:18pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/12 "2023-07-28T20:18:04Z")

</div>

> **[\[POST\] REST - Manual – TAAPI.IO](https://taapi.io/documentation/integration/manually/)**
>
> Complete list of all the markets and symbols accepted by the API.

---

<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:** [July 28, 2023, 9:22pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/13 "2023-07-28T21:22:33Z")

</div>

No, do not share your secret. Someone else might use it.

Your blocks look correct to me. I’m not sure why it’s not working.

One suggestion is to see if you can get the API Post call working in Postman or another 3rd party client. That’s usually a good thing to do _before_ trying to set it up in Thunkable.

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [August 1, 2023, 8:52pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/14 "2023-08-01T20:52:12Z")

</div>

Good news. Post api worked with POSTMAN. It turned with response. At the stage we have reached, it seems that our block sequences are wrong.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [August 1, 2023, 11:34pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/15 "2023-08-01T23:34:52Z")

</div>

Yeah. You are setting query parameters for a post. You need to set the body of the call as the Json object.

Their use of the word query is likely confusing you BUT you need to construct that Json in the body, not they query parameters.

---

<div class="post-metadata">

**Author:** ![bymaho](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bymaho/32/56102_2.png) [@bymaho](https://community.thunkable.com/u/bymaho)\
**Post date:** [August 2, 2023, 12:34pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/16 "2023-08-02T12:34:55Z")

</div>

![1111](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/9/39c2a65d0eca0840d545ff14a45d51c18804f808.jpeg)

that’s all. Thank you, my lord, for illuminating my dark paths. 🙂

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [August 3, 2023, 1:41am UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/17 "2023-08-03T01:41:38Z")

</div>

You can use a block combo like this nicely

Set body =\> get Json from object =\> create object block ( add your key/value pairs here )

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/is-it-possible-to-bulk-query-with-web-abi/2513752/18 "2024-11-08T13:33:38Z")

</div>


