Roblox API

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

What you get#

Onekey exposes Roblox as 18 endpoints behind one API key: 12 endpoints return one record (data is an object) and 6 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 Roblox also works for the rest of the gaming category.

Endpoints#

EndpointWhat it doesParametersCreditsStatus
asset_detailsFetch a Roblox asset's marketplace details.id*1stable
avatar_headshotHeadshot image URL of a Roblox user's avatar.id*1stable
badgeFetch a Roblox badge and its award statistics.id*1stable
catalog_searchSearch the Roblox avatar catalog.q*5stable
followers_countNumber of followers of a Roblox user.id*1stable
followings_countNumber of accounts a Roblox user follows.id*1stable
friends_countNumber of friends of a Roblox user.id*1stable
gameFetch a Roblox experience by universe id.id*1stable
game_votesUp/down vote counts of a Roblox experience.id*1stable
groupFetch a Roblox group (community).id*1stable
group_rolesList the roles of a Roblox group.id*5stable
group_searchSearch Roblox groups by keyword.q*5stable
place_universeResolve a Roblox place id to its universe id.id*1stable
userFetch a Roblox user by numeric id.id*1stable
user_by_usernameResolve a Roblox username to a user record.username*1stable
user_gamesList the public experiences created by a Roblox user.id*5stable
user_groupsList the groups a Roblox user belongs to, with their role.id*5stable
user_searchSearch Roblox users by keyword.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 roblox.asset_details (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/roblox/asset_details?id=1028606" \
  -H "x-api-key: YOUR_API_KEY"

Fields you get back#

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

FieldTypeEndpoints
entity.idstring11
entity.namestring9
author.idstring8
author.usernamestring7
entity.descriptionstring7
content.createdAtISO 8601 date6
author.verifiedboolean4
entity.stats.membersinteger4
author.displayNamestring3
entity.updatedAtISO 8601 date3
engagement.likesinteger2
entity.stats.rankinteger2
listing.pricenumber2
author.followersinteger1
author.followinginteger1
content.textstring1
entity.categorystring1
entity.stats.favoritesinteger1
entity.statusstring1
entity.typestring1
media.thumbnailUrlURL1

The full schema is in Unified schema.

Pricing#

Roblox 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.