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.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

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

Query
A course code or words from the title or description, as you would type them in ExploreCourses.
Example: CS106A

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
Endpoint
POSThttps://pullrow.dev/v1/apis/stanford-explorecourses/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

querytextrequired
A course code or words from the title or description, as you would type them in ExploreCourses.
example: CS106A

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
yeartextYear3 of 3
subjecttextSubject3 of 3
codetextCode3 of 3
titletextCourse title3 of 3
descriptiontextDescription3 of 3
units_minnumberMinimum units3 of 3
units_maxnumberMaximum units3 of 3
unitstextUnits3 of 3
gradingtextGrading3 of 3
schooltextSchool3 of 3
departmenttextDepartment3 of 3
careertextCareer3 of 3
sectionsnumberSections3 of 3
termslistTerms1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordCourse titleSubjectCodeDescriptionMinimum unitsMaximum unitsUnitsGradingSchoolDepartmentCareerSectionsTermsYearLink
1Principles of Robot Autonomy II (AA 274B, CS 237B, EE 260B, ME 274B)AA174BThis 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…343-4Letter or Credit/No CreditENGRAEROASTROUG0—2026-2027explorecourses.stanford.edu/search?view=catalog&filter-coursestatus-Active=on&q=AA174B
2Principles of Robot Autonomy II (AA 174B, CS 237B, EE 260B, ME 274B)AA274BThis 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…343-4Letter or Credit/No CreditENGRAEROASTROGR0—2026-2027explorecourses.stanford.edu/search?view=catalog&filter-coursestatus-Active=on&q=AA274B
3Modeling Biomedical Systems (CS 270)BMDS210Biomedical 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…333Medical Option (Med-Ltr-CR/NC)MEDBIODATSCIGR12026-2027 Spring2026-2027explorecourses.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.
Known limits
  • 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.