# Get JSON WITH API key

**URL:** https://community.glideapps.com/t/get-json-with-api-key/63295
**Category:** Ask for Help
**Created:** [June 29, 2023, 7:35am UTC](https://community.glideapps.com/t/get-json-with-api-key/63295 "2023-06-29T07:35:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![solaire\_ICARE](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/solaire_icare/32/52607_2.png) [@solaire\_ICARE](https://community.glideapps.com/u/solaire_ICARE)
#### Post date: [June 29, 2023, 7:35am UTC](https://community.glideapps.com/t/get-json-with-api-key/63295/1 "2023-06-29T07:35:58Z")

</div>

Good day to you,

I would like to get datas from an API key. I know how to do it when there is no API key ( I just get the datas with fetch JSON)  
But when there is an API key, how can I add it inside my Glide datas?

Thanks

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 30, 2023, 12:21am UTC](https://community.glideapps.com/t/get-json-with-api-key/63295/2 "2023-06-30T00:21:02Z")

</div>

Do you have to periodically fetch it or it’s just a one-time job?

---

<div class="post-metadata">

### Author: ![Trustin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/trustin/32/88217_2.png) [@Trustin](https://community.glideapps.com/u/Trustin)
#### Post date: [June 30, 2023, 12:27am UTC](https://community.glideapps.com/t/get-json-with-api-key/63295/3 "2023-06-30T00:27:16Z")

</div>

Typically the API key is enter along with the URL to fetch the JSON.  
Example: [https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API}](https://api.openweathermap.org/data/3.0/onecall?lat=%7Blat%7D&lon=%7Blon%7D&exclude=%7Bpart%7D&appid=%7BAPI%7D)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 30, 2023, 12:43am UTC](https://community.glideapps.com/t/get-json-with-api-key/63295/4 "2023-06-30T00:43:51Z")

</div>


