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#
| Endpoint | What it does | Parameters | Credits | Status |
|---|---|---|---|---|
asset_details | Fetch a Roblox asset's marketplace details. | id* | 1 | stable |
avatar_headshot | Headshot image URL of a Roblox user's avatar. | id* | 1 | stable |
badge | Fetch a Roblox badge and its award statistics. | id* | 1 | stable |
catalog_search | Search the Roblox avatar catalog. | q* | 5 | stable |
followers_count | Number of followers of a Roblox user. | id* | 1 | stable |
followings_count | Number of accounts a Roblox user follows. | id* | 1 | stable |
friends_count | Number of friends of a Roblox user. | id* | 1 | stable |
game | Fetch a Roblox experience by universe id. | id* | 1 | stable |
game_votes | Up/down vote counts of a Roblox experience. | id* | 1 | stable |
group | Fetch a Roblox group (community). | id* | 1 | stable |
group_roles | List the roles of a Roblox group. | id* | 5 | stable |
group_search | Search Roblox groups by keyword. | q* | 5 | stable |
place_universe | Resolve a Roblox place id to its universe id. | id* | 1 | stable |
user | Fetch a Roblox user by numeric id. | id* | 1 | stable |
user_by_username | Resolve a Roblox username to a user record. | username* | 1 | stable |
user_games | List the public experiences created by a Roblox user. | id* | 5 | stable |
user_groups | List the groups a Roblox user belongs to, with their role. | id* | 5 | stable |
user_search | Search Roblox users by keyword. | q* | 5 | stable |
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.
| Field | Type | Endpoints |
|---|---|---|
entity.id | string | 11 |
entity.name | string | 9 |
author.id | string | 8 |
author.username | string | 7 |
entity.description | string | 7 |
content.createdAt | ISO 8601 date | 6 |
author.verified | boolean | 4 |
entity.stats.members | integer | 4 |
author.displayName | string | 3 |
entity.updatedAt | ISO 8601 date | 3 |
engagement.likes | integer | 2 |
entity.stats.rank | integer | 2 |
listing.price | number | 2 |
author.followers | integer | 1 |
author.following | integer | 1 |
content.text | string | 1 |
entity.category | string | 1 |
entity.stats.favorites | integer | 1 |
entity.status | string | 1 |
entity.type | string | 1 |
media.thumbnailUrl | URL | 1 |
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.