Stanford ExploreCourses
Active Stanford University courses from the ExploreCourses catalogue, searched by code or words: title, description, units, grading basis, school, department, and the terms and number of class sections on offer.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from explorecourses.stanford.edu
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/stanford-explorecourses/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"CS106A"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
16 fields: 15 here, 1 technical one under Technical details.
Basics
- Subject
Subject code, such as CS.
Example AA
- Code
Course number within the subject, such as 106A.
Example 174B
- Course title
Example Principles of Robot Autonomy II (AA 274B, CS 237B, EE 260B, ME 274B)
- Description
Course description in plain text.
Example This course teaches advanced principles for endowing mobile autonomous robots with capabilities to autonomously learn…
- Minimum units
Fewest units the course can be taken for.
Example 3
- Maximum units
Most units the course can be taken for.
Example 4
- Units
Units as text, such as 3 or 3-4.
Example 3-4
- Grading
Grading basis, such as Letter or Credit/No Credit.
Example Letter or Credit/No Credit
- School
Academic group (school) code, such as ENGR or H&S.
Example ENGR
- Department
Academic organization (department) code.
Example AEROASTRO
- Career
Level code: UG undergraduate, GR graduate, LAW or MED.
Example UG
- Sections
Number of class sections scheduled.
Example 0
- Terms
Terms with scheduled sections, such as 2026-2027 Spring.
Example 2026-2027 Spring
Dates
- Year
Academic year, such as 2026-2027.
Example 2026-2027
Links
- Link
Link to the course search in ExploreCourses.
Example explorecourses.stanford.edu/search?view=catalog&filter-coursestatus-Active=on&q=AA174B
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idStanford's course id and offering number, such as 221536-3.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
year | text | Year | 3 of 3 |
subject | text | Subject | 3 of 3 |
code | text | Code | 3 of 3 |
title | text | Course title | 3 of 3 |
description | text | Description | 3 of 3 |
units_min | number | Minimum units | 3 of 3 |
units_max | number | Maximum units | 3 of 3 |
units | text | Units | 3 of 3 |
grading | text | Grading | 3 of 3 |
school | text | School | 3 of 3 |
department | text | Department | 3 of 3 |
career | text | Career | 3 of 3 |
sections | number | Sections | 3 of 3 |
terms | list | Terms | 1 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Course title | Subject | Code | Description | Minimum units | Maximum units | Units | Grading | School | Department | Career | Sections | Terms | Year | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Principles of Robot Autonomy II (AA 274B, CS 237B, EE 260B, ME 274B) | AA | 174B | This course teaches advanced principles for endowing mobile autonomous robots with capabilities to autonomously learn new skills and to physically interact with the environment and with humans. It also provides an overview of different robot system architectures. Concepts that… | 3 | 4 | 3-4 | Letter or Credit/No Credit | ENGR | AEROASTRO | UG | 0 | — | 2026-2027 | explorecourses.stanford.edu/search?view=catalog&filter-coursestatus-Active=on&q=AA174B |
| 2 | Principles of Robot Autonomy II (AA 174B, CS 237B, EE 260B, ME 274B) | AA | 274B | This course teaches advanced principles for endowing mobile autonomous robots with capabilities to autonomously learn new skills and to physically interact with the environment and with humans. It also provides an overview of different robot system architectures. Concepts that… | 3 | 4 | 3-4 | Letter or Credit/No Credit | ENGR | AEROASTRO | GR | 0 | — | 2026-2027 | explorecourses.stanford.edu/search?view=catalog&filter-coursestatus-Active=on&q=AA274B |
| 3 | Modeling Biomedical Systems (CS 270) | BMDS | 210 | Biomedical systems translate complex biological and medical data into computable formats that can be used for tasks such as diagnosis, decision support, or drug discovery. At the core of these systems is the challenge of creating fully computable, machine-actionable models of… | 3 | 3 | 3 | Medical Option (Med-Ltr-CR/NC) | MED | BIODATSCI | GR | 1 | 2026-2027 Spring | 2026-2027 | explorecourses.stanford.edu/search?view=catalog&filter-coursestatus-Active=on&q=BMDS210 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- One search returns the courses the catalogue matches to your words, usually a few dozen to a few hundred; a very broad word may return more than a run keeps.
- Only currently active courses for the newest academic year the catalogue shows. A course taught to undergraduates and graduates can appear twice, once for each offering.
- Terms and sections are filled only for courses with scheduled classes; instructor names and class times are left out.
- Public catalogue view of Stanford University, not an official Stanford service; use it lightly and credit Stanford ExploreCourses.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.