API for beginners JavaScript Getting Started with APIs AJAX (Udemy.com)
Explore using JavaScript XHR and fetch to connect to multiple web API endpoints retrieve JSON data and update HTML
Created by: Laurence Svekis
Last updated November 2024
What you will learn
- Use AJAX to get JSON data into their web pages
- Use XHR requests to connect to servers and APIs
- Explore how to connect to APIs
How it compares
Against the other 239 rated Udemy courses in JavaScript on CourseDuck:
- Rating4.1 out of 5higher than 11% of them
- Reviews110#204 of 240 by number of reviews
- Length1.6 hoursshorter than 91% of them
- Last updatedNovember 2024more recently than 63% of them
Course Description
Access several popular web APIs and retrieve response content for web applications. Step by step instruction on how to access web APIs using JavaScript XHR and fetch to get JSON data and update your web content.
JavaScript is a prerequisite to this course - do not take this course if you do not have JavaScript core knowledge
HTML and using an editor is also a prerequisite to the course - the scope of the course is to focus on JavaScript APIs
This course covers how to make AJAX requests using the XMLHttpRequest within JavaScript as well as fetch. JavaScript code knowledge is a prerequisite for the course. Scope of this course is focused on using JavaScript to connect to web APIs.
Examples and source code accessing over 7 different APIs
Course Covers
Explore what XHR is and how it works
How to use JSON response data
Connect to Joke API to get new content and update it in your HTML page
JavaScript Objects and how it relates to JSON data
How to iterate JSON data and output it on your HTML
Use JavaScript fetch
Error handling and responses
Setting up your own JSON endpoints to practice connecting to JSON content
ES6 JavaScript fetch and short functions
Learn how to build an api that output country data
Online resources and more
Connecting to web APIs
Practice AJAX
You'll get friendly support in the Q&A area and all the source code available for download.
You will be amazed at how easy it can be to do some much.
Go ahead and hit that "take this course" button to start learning the how to use JavaScript to connect to web APIs Today.
Taught by an instructor with over 20 years of web development experience, ready to help you learn and answer any questions you may have.
What are you waiting join now to start learning JavaScript API connections, you have nothing to lose.
Instructor Details
- 4.1 Rating
110 Reviews
Laurence Svekis
Hi, I’m Laurence Svekis, and I’m here to help you learn smarter, build real skills, and confidently use AI and modern tools to create amazing things.
I’m a Google Developer Expert (GDE), international speaker, author, and educator specializing in AI-powered learning, Google Workspace automation, and practical development with Google Apps Script and JavaScript. I’ve been teaching online since 2002 and have helped over two million students worldwide develop real-world skills through hands-on courses, books, and workshops.
My passion is learning with AI—using AI not as a shortcut, but as a powerful learning partner. I focus on helping learners understand how things work, how to apply AI responsibly, and how to build tools that solve real problems. Many of my courses explore how AI can act as a tutor, assistant, or productivity booster inside everyday tools like Google Docs, Sheets, and Workspace.
I’m especially known for:
Google Apps Script & Google Workspace automation
Building AI-powered assistants and learning tools
JavaScript for real-world applications
Using AI to improve learning, productivity, and workflows
More courses by Laurence Svekis
Complete Google Workspace (G Suite), Beginner - Advanced (2025)
4.6 (10,757 Reviews)
Provider: Udemy
Time: 23.2h
$84.99
Frontend web developer Modern HTML CSS JavaScript (2025)
4.5 (6,723 Reviews)
Provider: Udemy
Time: 12.2h
$64.99
Web Developer Course HTML CSS JavaScript Learn Web Design (2024)
4.5 (5,865 Reviews)
Provider: Udemy
Time: 5.9h
Free
Google Apps Script Complete Course Beginner to Advanced (2025)
4.7 (3,971 Reviews)
Provider: Udemy
Time: 27.7h
$14.99
Modern Web Design HTML5 CSS3 beginners guide to Websites (2023)
4.4 (1,915 Reviews)
Provider: Udemy
Time: 3h
$11.99
More JavaScript courses
The Modern Javascript Bootcamp Course (2026)
4.9 (13,238 Reviews)
Provider: Udemy
Time: 51.9h
$24.99
JavaScript: Understanding Advanced ES Next (ES6 and Beyond) (2025)
4.9 (1,076 Reviews)
Provider: Udemy
Time: 3.5h
$79.99
Reviews
By Robert Westenkirchner on 9/4/2024
learnt a lot. Pleasant voice. Some APIs are not available anymore or having a subscription model now.
By Anonymized User on 8/1/2022
This course is a good place to start learning Ajax. Now i have some good set of resources to play around with. Thanks
By Parveen Gupta on 6/10/2022
We could also have content related to network tab in developer tools
By Dana Frost on 7/13/2021
I did learn how to consume an API in this course, which was my main objective, however, many of the API websites have moved and some of the code presented is deprecated. Also, the pace of the instructor was too fast. Explanations of how things work were also pretty vague. Overall, it felt rushed... but I did learn from the course. Thank you!
By Richard Santarina Reyes on 4/4/2021
Absolutely loved this course!
By C Hyman on 7/22/2020
I enjoyed this class, and I do think it has helped solidify my knowledge of fetch.
By Yashar on 3/19/2020
Too complicated and vague to understand, its not good for beginners
By Kong Leuk Sum Rayson on 9/5/2019
concise and to the point, but look up async and await on your own. totally worth it.
By Anon User on 12/21/2018
This course is good for absolute beginners, some html knowledge is needed, can of course be googled. I love the explanation of apis, how to use them, apply them, and use them in real time. Provided use of XMLHttpRequest and Fetch, love everything about this course.
By Alif Edgardo Delgado Hernandez on 12/11/2018
excellent course as expected of Laurence, thanks.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 82 / 100











