No-Code ClassPass API Scraper

Download Data to Excel & CSV Files

Legally scrape ClassPass data from the Official Website without violating its Terms of Service using HAR Files.

🚫 This means no wasting time with broken screen scrapers, installing software, getting blocked or overpriced proxies.

uRAP_av05F0 ▶️
Steve Spagnola
Written by Steve Spagnola
Last updated April 13, 2024

Scraping the ClassPass API

ClassPass has an excellent directory of fitness studios & gyms in its database. And because it’s a modern website, it’s easy to legally scrape using a little-known technique involving HAR files. This will record your web traffic as you browse data on ClassPass and then scrape the data from the recording instead of the actual website as to not violate the ClassPass Terms of Service.

1. Browse ClassPass Studios

Visit the ClassPass Search Feature and navigate or search for any local market you want to scrape the studios for. You can also apply any relevant filters you need.

Once the data is loaded in your browser, right click inside the browser and hit “Inspect” to open up developer tools. This will begin recording your web traffic so you can capture the raw data that ClassPass sends to your browser. Now refresh the page to reload the ClassPass search results into your browser now that you’re recording.

Browse around the map or paginate through pages of results. Whatever gets ClassPass to load more data while you’re recording will allow you to scrape more results.

2. Export a HAR File

Once you’ve browsed through all the ClassPass data you want to scrape, go to the “Network” tab in developer tools and click the down arrow labeled “Export HAR…” to download a HAR file containing all of the ClassPass studios in them.

To parse the HAR file, head to the HAR File Web Scraper and upload the file there. The tool will parse out relevant data and group together similar requests (so you can capture everything in one file).

3. Download ClassPass Studios

Click “Parse Group” on the relevant group from the previous step and you’ll be able to download the studio data as a CSV file you can then analyze in Excel or upload to your CRM or software of choice.

⚖️ Disclaimer: These endpoints are not part of an official API endorsed by classpass.com and were found while using classpass.com's official website and/or mobile app. They may stop working at any time! They are documented here for informational purposes, such as to cross reference with HAR Files after using classpass.com's official website and/or mobile app in accordance with classpass.com's Terms of Service. Stevesie has no affiliation with classpass.com.

If you access any of these endpoints with Stevesie or any other tool outside of an official classpass.com client, you must check classpass.com's Terms of Service to ensure said access is not prohibited. If you are not sure whether or not your use of Stevesie or any other tool in a specific instance violates classpass.com's Terms of Service or applicable law, you should consult with competent legal counsel before proceeding. Learn more here: Is Data Scraping Legal?

⚡️ Unofficial ClassPass Data API Endpoints

Studios Search
/_api/unisearch/v1/layout/web_search_page
Studios Search (Pagination)
/_api/unisearch/v1/layout/web_search_page

Sign Up to Scrape Data from ClassPass