# Access list item from API call using filtering

**URL:** <https://forum.bubble.io/t/access-list-item-from-api-call-using-filtering/103678>\
**Category:** APIs\
**Created:** [July 27, 2020, 10:48pm UTC](https://forum.bubble.io/t/access-list-item-from-api-call-using-filtering/103678 "2020-07-27T22:48:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom9](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tom9/32/54492_2.png) [@tom9](https://forum.bubble.io/u/tom9)\
**Post date:** [July 27, 2020, 10:48pm UTC](https://forum.bubble.io/t/access-list-item-from-api-call-using-filtering/103678/1 "2020-07-27T22:48:04Z")

</div>

I’m making a call to the FB graph API and it’s returning some of the data in a list.

Under ‘actions’ it has offsite\_conversion.fb\_pixel\_purchase, comment, post, and post reactions, along with paired values.

![Screen Shot 2020-07-27 at 3.30.39 PM](https://us1.discourse-cdn.com/bubble/original/3X/1/6/1667291234f2e64367f6d2bf695d044b5562ff75.png)

I’m wondering how to display single items inside a repeating group from that list.

Currently I’m trying to display the value of “offsite\_conversion.fb\_pixel\_purchase” (19), but it is just listing all 4 values of each item of the actions list:

![Screen Shot 2020-07-27 at 3.31.13 PM](https://us1.discourse-cdn.com/bubble/original/3X/6/d/6d0d305a66e583b8663a270d5745652ea8751ff2.png)

The setup I’m using in the RG cell is:  
 ![Screen Shot 2020-07-27 at 3.31.30 PM](https://us1.discourse-cdn.com/bubble/original/3X/c/6/c63c38df8e38e674c477d2832760243f7a7881b7.png)

Any help is greatly appreciated. I’ve read about issues with nested APIs, but am not sure if this is the type of thing bubble has challenges with.

---

<div class="post-metadata">

**Author:** ![tom9](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tom9/32/54492_2.png) [@tom9](https://forum.bubble.io/u/tom9)\
**Post date:** [July 28, 2020, 3:57am UTC](https://forum.bubble.io/t/access-list-item-from-api-call-using-filtering/103678/2 "2020-07-28T03:57:13Z")

</div>

So I managed to solve this thanks to some inspiration from @romanmg.

In the repeating group that contains the individual ad data, i placed _another_ repeating group, and filtered that RG by the specific action I was looking for.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/d/fdac193a424965710fce310262c88b2bf0160179.png)

That way, I can display both the action type and the value (in this case the conversion name (purchases) and and the number of purchases) using two text boxes in a 1x1 RG

![image](https://us1.discourse-cdn.com/bubble/original/3X/5/3/536ca86ee2f11ae5690708480579e9f509dc4f47.png)

Which looks like this when represented as text:

![image](https://us1.discourse-cdn.com/bubble/original/3X/a/c/accde21a6c1d71514dc7c43ada1a58b8422c9d03.png)

---

<div class="post-metadata">

**Author:** ![AlexKon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexkon/32/100327_2.png) [@AlexKon](https://forum.bubble.io/u/AlexKon)\
**Post date:** [July 30, 2020, 12:55am UTC](https://forum.bubble.io/t/access-list-item-from-api-call-using-filtering/103678/3 "2020-07-30T00:55:35Z")

</div>

@tom9, Is there more details and broad explainaiton how it should be desinged and how it works? You mentioned @romanmg , do have any reference to her publication/video manual?

I feel like I need more understanding to be able to desing myself what I need.
