Skip to content

Deprecation of SelfService Links #88

Closed

Description

@TheMoonThatRises

From a cursory search, it appears that the all the pages pertaining to selfservice.mypurdue.purdue.edu have been deprecated, which breaks MyPurdueConnection.

Instead, it appears that they have an API that can be directly accessed. For example, the terms retriever can now query:

https://apps.mypurdue.purdue.edu/StudentRegistrationSsb/ssb/classSearch/getTerms?searchTerm=&offset=1&max=10

with it returning the following JSON:

[
  {
    "code": "202720",
    "description": "Spring 2027"
  },
  {
    "code": "202713",
    "description": "Winter 2026"
  },
...
]

Similarly, retrieving a list of subjects can be done with the following query:

https://apps.mypurdue.purdue.edu/StudentRegistrationSsb/ssb/classSearch/get_subject?searchTerm=&term=202720&offset=1&max=10

with the resultant JSON:

[
  {
    "code": "AAE",
    "description": "AAE-Aero & Astro Engineering"
  },
  {
    "code": "AAS",
    "description": "AAS-African American Studies"
  },
...
]

Finally, retrieving a list of available classes for a specific major for a specific term can be done with

https://apps.mypurdue.purdue.edu/StudentRegistrationSsb/ssb/searchResults/searchResults?txt_subject=CS&txt_term=202720& pageMaxSize=10

resulting in a JSON with the available classes.

The endpoints at https://apps.mypurdue.purdue.edu/StudentRegistrationSsb/ssb/ do not appear to have authorization requirements. They are also all paginated, with additional query parameters that are not provided that can be used for more control of what is returned (such as pagination or date range selection). Observing further API behaviors and requests can be done with inspecting network calls while visiting

https://apps.mypurdue.purdue.edu/StudentRegistrationSsb/ssb/term/termSelection?mode=search

or

https://apps.mypurdue.purdue.edu/StudentRegistrationSsb/ssb/classSearch/classSearch.

Converting the Scraper to utilize these API endpoints would require extensive rewrites, but the end result should be a more elegant solution than what currently exists.

Activity

  1. haydenmc commented on Oct 14, 2026

    @haydenmc
    Member

    Thank you for the heads up! Was not expecting this change, looks like Scraper will indeed have to be re-targeted to this new service. I'll see if I can get to this in the next few weeks - sadly, the purdue.io database will lack up-to-date information until then.

  2. Half-Note commented on Oct 26, 2026

    @Half-Note

    Hey guys.. I was trying to get the spring semester classes directly from Purdue page. I think its not a very direct api call. I guess the endpoints requires uniqueSessionId parameter or atleast what LLM tells me that

    1. uniqueSessionId is required for all course search requests
    2. is NOT in the URL or the page HTML
    3. is stored in the browser's sessionStorage at: sessionStorage['xe.unique.session.storage.id']
    4. is automatically generated when you visit the class search page

    I used browser automation (Selenium) to automate the process not sure if it is helpful with your setup.
    I am attaching the code here incase if you guys want to have a look. also the spring semester data.. incase you want to manually push it on the website.

    purdue_complete_extractor.py
    Purdue_Courses_Spring2027_COMPLETE_20261025_231147.xlsx

  3. haydenmc commented on Oct 26, 2026

    @haydenmc
    Member

    Thanks @Half-Note, I found the same thing. It looks like uniqueSessionId will take any arbitrary string you hand it when you first select your term.

    Here's what I've come up with so far to leverage the new session API. In my brief testing I am able to successfully pull down all sections for any term/subject. I just need to map them to the existing Purdue.io data model and it should be ready to sync again.

    I've been outside the country for the last few days so I haven't had a chance to finish the work yet, but it should land within the next ~week or so.

    Appreciate your help!

  4. added a commit that references this issue on Nov 6, 2026
  5. haydenmc commented on Nov 6, 2026

    @haydenmc
    Member

    The latest data should now be synced correctly. Please let me know if you see any inconsistencies. I spot checked class data and it appears to match with what the MyPurdue service shows. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions