This API serves curated roller coaster data, combining information from the public RCDB API with pre-scraped statistics for fast and reliable access.
The base URL will be your Vercel deployment URL.
Retrieves the complete data for a single, random roller coaster from the dataset.
- URL:
/api/coasters/random
- Method:
GET
Retrieves the complete data for a coaster by its unique ID.
- URL:
/api/coasters/{id}
- Method:
GET
- Example:
/api/coasters/36
Retrieves a random coaster that is guaranteed to have a value for the specified statistic.
- URL:
/api/coasters/stat/{statName}
- Method:
GET
- Example:
/api/coasters/stat/height
- Valid Stats:
height
,length
,speed
,inversions
,drop
,duration
,verticalAngle
,capacity
,cost
,year
,country
.