Course overview

Although there are many datasets available in convenient formats like CSVs, there is also a large amount of data that is accessible only via an API. If you want to analyze streaming data from Twitter, for example, or dig into posting trends on Reddit, you need to get that data from the relevant APIs.

In this course, you’ll learn the fundamentals of APIs, such as connecting to an open API and interpreting different status codes. You’ll also learn how to work with the JSON data format in R (since most data from APIs will be in JSON format). Then, you’ll tackle more complex tasks like authenticating with private APIs and submitting more complex requests.

Best of all, you’ll learn by doing — you’ll practice and get feedback directly in the browser. The course concludes with a guided project that asks you to assemble a full data analysis project using an API to get data on New York’s solar energy resources.

Key skills

    • Querying external data sources using an API
    • Querying using an API with authentication
    • Interpreting various API status codes

Course outline

    Loading lessons...

Projects in this course

The Dataquest guarantee

  • Dataquest has helped thousands of people start new careers in data. If you put in the work and follow our course, you'll master data skills and grow your career.

  • We believe so strongly in our courses that we offer a full satisfaction guarantee. If you complete a career course on Dataquest and aren't satisfied with your outcome, we'll give you a refund.

Master skills faster
with Dataquest

Go from zero to job-ready

Learn exactly what you need to achieve your goal. Don’t waste time on unrelated lessons.

Build your project portfolio

Build confidence with our in-depth projects, and show off your data skills.

Challenge yourself with exercises

Work with real data from day one with interactive lessons and hands-on exercises.

Showcase your course certification

Impress employers by completing a capstone project and certifying it with an expert review.

Learning resources

How to Learn
Data Science

Learn a proven method to acquire and use data skills.

Read Article

Dataquest Reviews

Read more about what learners think of Dataquest.

Read Article

How To Learn Python

A step by step guide to learn and master Python.

Read Article

Python Practice

65 different Python practice exercises you can start today.

Read Article

Learner testimonials

97%

Learners who recommend
Dataquest for career advancement

4.9

Dataquest rating on
G2Crowd and SwitchUp

$30k

Average salary boost
for learners who complete a path

Join 1M+ data learners on
Dataquest.

  • 1

    Sign up for a free account

  • 2

    Choose a course or path

  • 3

    Learn with hands-on exercises

  • 4

    Apply your skills

Start learning with a free account today.

Sign Up For Dataquest