Speedrun.com API

Get Speedrun.com data as clean JSON with one key: 12 endpoints, 1 to 5 credits per call, the same response shape as every other platform.

What you get#

Onekey exposes Speedrun.com as 12 endpoints behind one API key: 4 endpoints return one record (data is an object) and 8 endpoints return a list (data is an array). Every answer uses the same envelope (success, data, metadata, error), the cost is reported in metadata.credits_charged, and fields are mapped onto the unified schema so the code you write for Speedrun.com also works for the rest of the gaming category.

Endpoints#

EndpointWhat it doesParametersCreditsStatus
gameFetch a speedrun.com game.game*1stable
game_categoriesList the run categories of a speedrun.com game.game*5stable
game_recordsWorld records of a speedrun.com game, per category.game*5stable
games_searchSearch speedrun.com games by name.q*5stable
latest_runsMost recently verified speedrun.com runs.-5stable
leaderboardTop runs of a speedrun.com game category.game*, category*5stable
platformsList speedrun.com platforms.-5stable
runFetch a single speedrun.com run.id*1stable
seriesFetch a speedrun.com series.series*1stable
userFetch a speedrun.com user profile.user*1stable
user_personal_bestsA speedrun.com user's personal-best runs.user*5stable
users_searchSearch speedrun.com users by name.q*5stable

A * marks a required parameter. Each endpoint name links to its reference page with the full parameter table, caching window and a recorded response.

Make a request#

This calls speedrun.game (1 credit, stable). Replace YOUR_API_KEY with your key; sign up, no card. 1,000 free credits cover the open-platform endpoints. Hard-to-reach platforms (X, TikTok, Instagram, Reddit, and others marked on their page) need a verified email and a purchased pack.

curl "https://api.onekey.dev/v1/speedrun/game?game=smb1" \
  -H "x-api-key: YOUR_API_KEY"

Fields you get back#

These unified fields come back from Speedrun.com, with the same names as on every other platform. The count is how many of its 12 mapped endpoints return the field; a field the source lacks is null, never missing. 6 platform-specific fields (ext.<name>) come on top, documented on each endpoint page.

FieldTypeEndpoints
content.createdAtISO 8601 date7
author.idstring6
content.idstring5
content.urlURL5
entity.idstring5
entity.namestring5
entity.urlURL5
media.durationSecondsnumber5
entity.categorystring4
content.textstring3
entity.slugstring3
entity.yearinteger3
author.urlURL2
author.usernamestring2
media.thumbnailUrlURL2
media.urlURL2
entity.countrystring1
entity.statusstring1
entity.typestring1

The full schema is in Unified schema.

Pricing#

Speedrun.com calls cost 1 to 5 credits, flat per endpoint. Free when served from cache (0.2 credit for a cached response over 100 KB). Invalid, failed or not-found calls are not charged. See pricing for credit packs.