Fetch API helps to make HTTP requests using fetch(). You can request data from an API by passing in the API url to fetch method. `fetch` method is available in the window as a global function. In this JavaScript tutorial you'll learn how to get data from an API using fetch.