# Enrich API and multiple results?

**URL:** <https://community.parabola.io/t/enrich-api-and-multiple-results/2324>\
**Category:** Ask a question\
**Tags:** Building-Flows, Using-APIs\
**Created:** [March 25, 2022, 6:41pm UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324 "2022-03-25T18:41:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Campos1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/fernando_campos1/32/1870_2.png) [@Fernando\_Campos1](https://community.parabola.io/u/Fernando_Campos1)\
**Post date:** [March 25, 2022, 6:41pm UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324/1 "2022-03-25T18:41:02Z")

</div>

Hi there!

I’m attempting to use the Enrich API step to cycle through a list of 165 items and fetch all transactions for each of them.

My question is since the Enrich API seems to append the fetched data to the columns, how would it display multiple transactions (in the hundreds) for each of the cycled item? WOuld it just repeat the items and append each transaction in a new row?

Thank you!

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/daniel/32/732_2.png) [@daniel](https://community.parabola.io/u/daniel)\
**Post date:** [March 25, 2022, 7:15pm UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324/2 "2022-03-25T19:15:31Z")

</div>

Hi @Fernando_Campos1,

Good question! It’s likely that the API will return an array of transactions nested in a single cell for each cycle item. In those cases, it’s best to use the [Expand JSON](https://parabola.io/transform/expand-json) step to parse out the transactions.

However, once you use the Expand JSON step, each cycle item will be duplicated into a new row for each associated transaction.

Feel free to send us a flow link to [help@parabola.io](mailto:help@parabola.io) and we’d be happy to help format your API response.

---

<div class="post-metadata">

**Author:** ![Fernando\_Campos1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/fernando_campos1/32/1870_2.png) [@Fernando\_Campos1](https://community.parabola.io/u/Fernando_Campos1)\
**Post date:** [March 25, 2022, 9:10pm UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324/3 "2022-03-25T21:10:56Z")

</div>

Thanks! That does make sense… now I’m having a different issue.

As I’m requesting this data from Bubble, I am setting a few contraints (like specified in their Data API docs)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/8/89182e9dd342255b8091b990bbbf45188c654118.png)

Problem is that it seems to require me to use the curly brackets around the parameters and that seems to conflict with Parabola thinking its a column reference.

![image](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/0/07b4966a4c0df7cbe1a6baaddf3c129aafbbb6a9.png)

Any ideas on how to handle this please?

---

<div class="post-metadata">

**Author:** ![Ayana\_Usui](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/ayana_usui/32/1985_2.png) [@Ayana\_Usui](https://community.parabola.io/u/Ayana_Usui)\
**Post date:** [March 25, 2022, 10:07pm UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324/4 "2022-03-25T22:07:09Z")

</div>

Hey Fernando

I was hoping to take a look at your Enrich with API step to help come up with a solution to have those { } exist in your query. Would you mind sharing with us the link to the flow you are working to this email: [help@parabola.io](mailto:help@parabola.io).

Thanks!  
Ayana

---

<div class="post-metadata">

**Author:** ![Fernando\_Campos1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/fernando_campos1/32/1870_2.png) [@Fernando\_Campos1](https://community.parabola.io/u/Fernando_Campos1)\
**Post date:** [March 26, 2022, 2:56am UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324/5 "2022-03-26T02:56:26Z")

</div>

Sure, just sent it. Thank you again!

---

<div class="post-metadata">

**Author:** ![Fernando\_Campos1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/fernando_campos1/32/1870_2.png) [@Fernando\_Campos1](https://community.parabola.io/u/Fernando_Campos1)\
**Post date:** [March 29, 2022, 2:32am UTC](https://community.parabola.io/t/enrich-api-and-multiple-results/2324/6 "2022-03-29T02:32:03Z")

</div>

Finally got this to work! (thanks to the Parbola team’s assistance)

Just to leave the solution here for others:

- Replace any curly brackets with their encoded version. So every **{** becomes **%7B** and every **}** becomes **%7D**.
- Ideally replace them directly on the **API Endpoint URL** field rather than the Parameters fields below it. Parabola sometimes has this nasty tendency of removing the encoded characters whenever you edit other parameter fields with encoded characters or run Refresh Data
- Only leave the original **{}** for the columns you really want Parabola to refer to
- Final tip: check every letter/character for each of your parameters and key values very carefully. I missed a simple “S” in the word “constraints” which resulted in the wrong API response…
