# Anyone can convert this api?

**URL:** <https://community.thunkable.com/t/anyone-can-convert-this-api/1465758>\
**Category:** Questions about Thunkable X\
**Created:** [August 24, 2021, 2:34am UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758 "2021-08-24T02:34:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![itvelprj](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@itvelprj](https://community.thunkable.com/u/itvelprj)\
**Post date:** [August 24, 2021, 2:34am UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/1 "2021-08-24T02:34:21Z")

</div>

[https://1ml.com/statistics?json=true](https://1ml.com/statistics?json=true)

im trying arround but i got response null or " " or its blank

---

<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:** [August 24, 2021, 3:05am UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/2 "2021-08-24T03:05:00Z")

</div>

What have you tried? Show a screenshot of your blocks?

---

<div class="post-metadata">

**Author:** ![itvelprj](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@itvelprj](https://community.thunkable.com/u/itvelprj)\
**Post date:** [August 24, 2021, 11:53am UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/3 "2021-08-24T11:53:49Z")

</div>

I played around with this block and the greyed out blocks

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/4/d48ae15095bc166f50987e899722fe162bad5f0c.png)

normally you don’t need set web but I put it in, makes no different …

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 24, 2021, 12:20pm UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/4 "2021-08-24T12:20:58Z")

</div>

This block is correct but you cannot refer to `response` green block directly.

You need to add a block in the `objects drawer` which `get object from JSON` and connect the `response` block to it.

This suggestion is based on this output

```auto
{
  "numberofnodes": 25433,
  "numberofnodes30dchange": 8.2071136827774041,
  "numberofnodeswithactivechannels": 14780,
  "numberofnodeswithactivechannels30dchange": 11.138688327316487,
  "numberofchannels": 67081,
  "numberofchannels30dchange": 12.936680303719044,
  "networkcapacity": 232982859147,
  "networkcapacity30dchange": 16.920694407888973,
  "networkcapacityusd": 114792238.9851691,
  "publicipnodes": 12276,
  "ipv6nodes": 114,
  "tornodes": 9227,
  "newnodes24h": 54,
  "newchannels24h": 508,
  "updatednodes24h": 8175,
  "updatedchannels24h": 59583,
  "layer1capacityratio": 0.00011094421864142857,
  "averagenodecapacity": 0.15763573014005414,
  "averagenodecapacityusd": 7766.8196162969625,
  "averagechannelcapacity": 0.03469589843419231,
  "averagechannelcapacityusd": 1709.4905090635905,
  "averagenodeagedays": 401.6403125,
  "averagechannelagedays": 275.18299768518517,
  "averagechannelpernode": 9.0775372124492559,
  "medianbasefee": 1.0,
  "medianbasefeeusd": 0.0004927068,
  "medianfeerate": 1.2286780894799874E-05,
  "medianfeerateusd": 6.0537804969779828E-09
}

```

---

<div class="post-metadata">

**Author:** ![itvelprj](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@itvelprj](https://community.thunkable.com/u/itvelprj)\
**Post date:** [August 24, 2021, 12:49pm UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/5 "2021-08-24T12:49:04Z")

</div>

im lost… this ocurre an block error  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/4/24c30c0b409d5d16b17d5eb78742e0c1786cdede.png)

this reponse null

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/a/3a831d7fae3d688e86ef36d6d96f99ba3bef02f1.png)

---

<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:** [August 24, 2021, 2:02pm UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/6 "2021-08-24T14:02:03Z")

</div>

You’ve changed more than one thing in each screenshot. It’s important when programming to just change one thing at a time and see if that makes a difference. @muneer’s suggestion is correct and would work but… in the top screenshot, you replaced `get property of object` with `set property of object to`. In the bottom screenshot, you removed the `set Web_API12's URL to` block. If you fix those two things, it should work. Post a new screenshot and we can go from there.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 24, 2021, 2:07pm UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/7 "2021-08-24T14:07:36Z")

</div>

I made a quick app  
[https://x.thunkable.com/projectPage/6124fa1074fced00102c3758](https://x.thunkable.com/projectPage/6124fa1074fced00102c3758)  
This works fine on my phone.

The top label will show the content of “numberofnodes”

Also the `List Viewer` is filled with all the fields from the JSON. When you click on any of then you will see the content of the selected one in the label below the list viewer.

 ![Screenshot_20210824_170854_com.thunkable.live](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/6/66ab95c6c38753ef659e344fb2bb882c79ad9a38.jpeg)

---

<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:17pm UTC](https://community.thunkable.com/t/anyone-can-convert-this-api/1465758/8 "2024-11-08T13:17:15Z")

</div>


