# Getting started with the API without Python

**URL:** <https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305>\
**Category:** API\
**Tags:** api\
**Created:** [29 October 2024 21:09 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305 "2024-10-29T21:09:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mike](https://forum.ecmwf.int/u/Mike)\
**Post date:** [29 October 2024 21:09 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305/1 "2024-10-29T21:09:36Z")

</div>

Hi all,

I’m currently building a system using GoLang and I would like to fetch data and are having some difficulties trying to navigate the documentation in how I can use an API endpoint to fetch the data. I’ve mostly found examples using the Python package.

For example, as a simple start, I would like to just fetch the current Co2 levels. How would the URL look like/be structure to do this?

I’ve already signed up for ADS and CDS.

---

<div class="post-metadata">

**Author:** ![Koen\_Hufkens](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/koen_hufkens/32/526_2.png) [@Koen\_Hufkens](https://forum.ecmwf.int/u/Koen_Hufkens)\
**Post date:** [30 October 2024 08:25 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305/2 "2024-10-30T08:25:30Z")

</div>

See my instructions here:

> [@ECMWF APIs (FAQ, API + data documentation)](https://prod.ecmwf-forum-prod.compute.cci2.ecmwf.int/t/ecmwf-apis-faq-api-data-documentation/6880#p-9766-basic-api-documentation-custom-api-implementations-9):
>
> Below you find a centralized compilation of key documentation on the new ECMWF APIs as cross-posted from [ECMWF API use | BlueGreen Labs](https://bluegreenlabs.org/post/ecmwf-api-cds-ads-ewds-documentation-faq/). I will only use the CDS as a reference, but the same applies to ADS and EWDS. The first section will cover general API use and will be familiar to most, with some gotchas highlighted (e.g. switching services, accepting licenses). Further sections cover breaking changes and advanced API implementations. For now I do not touch data conversion issues formally. Th…

---

<div class="post-metadata">

**Author:** ![Mike](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mike](https://forum.ecmwf.int/u/Mike)\
**Post date:** [31 October 2024 20:57 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305/3 "2024-10-31T20:57:41Z")

</div>

Thanks! I’ve read through your instructions. But it seems to only be a trigger for a datafile to download? What about making a request and just directly getting the data in the response as json?

---

<div class="post-metadata">

**Author:** ![Mike](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mike](https://forum.ecmwf.int/u/Mike)\
**Post date:** [7 November 2024 09:21 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305/4 "2024-11-07T09:21:49Z")

</div>

Is it possible to get it confirmed if getting a json response with data directly (instead of download url) is possible or not through the API?

---

<div class="post-metadata">

**Author:** ![Koen\_Hufkens](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/koen_hufkens/32/526_2.png) [@Koen\_Hufkens](https://forum.ecmwf.int/u/Koen_Hufkens)\
**Post date:** [8 November 2024 20:09 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305/5 "2024-11-08T20:09:36Z")

</div>

Unlike the previous API where you would get a download location in one pass things are a two step process now, AFAIK. I’m afraid this is how things are now.

Data is always returned as either NetCDF or GRIB files, or at times zipped versions of these. In this respect the API is different from for example [https://openweathermap.org/](https://openweathermap.org/), in part because it is spatial data not point data.

---

<div class="post-metadata">

**Author:** ![Mike](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mike](https://forum.ecmwf.int/u/Mike)\
**Post date:** [10 November 2024 09:08 UTC](https://forum.ecmwf.int/t/getting-started-with-the-api-without-python/7305/6 "2024-11-10T09:08:53Z")

</div>

I see, Thanks Koen! 🙏
