Start free

Data Engineer’s ToolboxIntermediateIntermediate stage14 hoursFree

APIs & Web Scraping for Data

Collect data from REST APIs, webhooks and web pages — legally, politely and reliably.

Start this course freeLabs run in your browser. No installs.

What you will be able to do

  • Call and paginate APIs
  • Authenticate with keys and OAuth
  • Scrape pages responsibly
  • Schedule and store collected data

Tools

  • requests
  • httpx
  • BeautifulSoup
  • Playwright
  • Scrapy
  • Postman

Syllabus — 3 modules

  1. Working with APIs

    REST APIs return JSON over HTTP. Handle auth, pagination, rate limits and errors.

    HTTP methods and status codes · Auth: API keys, OAuth 2.0, JWT · Pagination patterns · Rate limits and backoff · Postman for exploration

  2. Scraping responsibly

    Check terms of service and robots.txt, identify yourself, throttle, and never collect personal data without a lawful basis.

    robots.txt and ToS · Legal and ethical limits (NDPA, GDPR) · Throttling and caching · Prefer official APIs

  3. Scraping tools

    BeautifulSoup parses static HTML; Playwright drives real browsers for JavaScript sites; Scrapy scales crawls.

    HTML, CSS selectors and XPath · BeautifulSoup · Playwright for dynamic pages · Scrapy spiders and pipelines · Storing results

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Data Engineer’s Toolbox track

  1. Linux, Bash & Git for Data Beginner
  2. Git & GitHub for Data People Beginner
  3. Low-Code Analytics: Alteryx, KNIME & Power Automate Beginner → Intermediate
  4. Docker & Containers for Data Intermediate
  5. APIs & Web Scraping for Data (this course) Intermediate
  6. DevOps & Infrastructure as Code for Data Advanced

Part of these career paths

Start learning

Questions and answers

How long does the APIs & Web Scraping for Data course take?
About 14 hours across 3 modules, at your own pace. At five hours a week most learners finish in 3 weeks.
Is APIs & Web Scraping for Data free?
Yes. Every lesson, lab and the final exam are free; you only need a free account.
Do I get a certificate for APIs & Web Scraping for Data?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting APIs & Web Scraping for Data?
It follows Docker & Containers for Data in the Data Engineer’s Toolbox track. If Data Engineer’s Toolbox is new to you, start with Linux, Bash & Git for Data.
What will I be able to do after APIs & Web Scraping for Data?
Call and paginate APIs; Authenticate with keys and OAuth; Scrape pages responsibly.