# Roblox on Onekey > 18 endpoints for Roblox (18 stable, 0 beta), 1 to 5 credits each. Category: Gaming. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/roblox Reference (Markdown): https://onekey.dev/docs/api/roblox.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 18 mapped Roblox endpoints return each: - `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 - plus 14 platform-specific fields under `ext.` ## Endpoints ### roblox.asset_details Fetch a Roblox asset's marketplace details. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/asset_details?id=1028606` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Asset id, e.g. 1028606 - Fields returned: `entity.id`, `entity.name`, `entity.description`, `listing.price`, `author.username`, `author.id`, `content.createdAt`, `entity.updatedAt`, `ext.sales`, `ext.forSale` - Reference: https://onekey.dev/docs/api/roblox/asset_details.md ### roblox.avatar_headshot Headshot image URL of a Roblox user's avatar. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/avatar_headshot?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id - Fields returned: `author.id`, `media.thumbnailUrl`, `entity.status` - Reference: https://onekey.dev/docs/api/roblox/avatar_headshot.md ### roblox.badge Fetch a Roblox badge and its award statistics. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/badge?id=2124459057` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Badge id, e.g. 2124459057 - Fields returned: `entity.id`, `entity.name`, `entity.description`, `content.createdAt`, `ext.awarded`, `ext.awardedPastDay`, `ext.winRate`, `ext.universeId` - Reference: https://onekey.dev/docs/api/roblox/badge.md ### roblox.catalog_search Search the Roblox avatar catalog. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/roblox/catalog_search?q=hat` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search keyword - Fields returned: `entity.id`, `entity.name`, `entity.description`, `listing.price`, `author.username`, `author.id`, `entity.type`, `engagement.likes`, `content.createdAt` - Reference: https://onekey.dev/docs/api/roblox/catalog_search.md ### roblox.followers_count Number of followers of a Roblox user. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/followers_count?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id - Fields returned: `author.followers` - Reference: https://onekey.dev/docs/api/roblox/followers_count.md ### roblox.followings_count Number of accounts a Roblox user follows. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/followings_count?id=156` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id - Fields returned: `author.following` - Reference: https://onekey.dev/docs/api/roblox/followings_count.md ### roblox.friends_count Number of friends of a Roblox user. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/friends_count?id=156` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id - Fields returned: `ext.friends` - Reference: https://onekey.dev/docs/api/roblox/friends_count.md ### roblox.game Fetch a Roblox experience by universe id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/game?id=13058` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Universe id, e.g. 13058 - Fields returned: `entity.id`, `entity.name`, `entity.description`, `author.username`, `author.id`, `entity.stats.favorites`, `entity.category`, `content.createdAt`, `entity.updatedAt`, `ext.playing`, `ext.visits`, `ext.maxPlayers`, `ext.rootPlaceId` - Reference: https://onekey.dev/docs/api/roblox/game.md ### roblox.game_votes Up/down vote counts of a Roblox experience. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/game_votes?id=13058` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Universe id - Fields returned: `entity.id`, `engagement.likes`, `ext.dislikes` - Reference: https://onekey.dev/docs/api/roblox/game_votes.md ### roblox.group Fetch a Roblox group (community). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/group?id=7` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Group id, e.g. 7 - Fields returned: `entity.id`, `entity.name`, `entity.description`, `entity.stats.members`, `author.username`, `author.id`, `author.verified`, `ext.open` - Reference: https://onekey.dev/docs/api/roblox/group.md ### roblox.group_roles List the roles of a Roblox group. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/roblox/group_roles?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Group id - Fields returned: `entity.id`, `entity.name`, `entity.stats.rank`, `entity.stats.members` - Reference: https://onekey.dev/docs/api/roblox/group_roles.md ### roblox.group_search Search Roblox groups by keyword. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/roblox/group_search?q=roblox` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search keyword - Fields returned: `entity.id`, `entity.name`, `entity.description`, `entity.stats.members`, `ext.open` - Reference: https://onekey.dev/docs/api/roblox/group_search.md ### roblox.place_universe Resolve a Roblox place id to its universe id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/place_universe?id=1818` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Place id, e.g. 1818 - Fields returned: `entity.id` - Reference: https://onekey.dev/docs/api/roblox/place_universe.md ### roblox.user Fetch a Roblox user by numeric id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/user?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id, e.g. 1 - Fields returned: `author.id`, `author.username`, `author.displayName`, `content.text`, `content.createdAt`, `author.verified` - Reference: https://onekey.dev/docs/api/roblox/user.md ### roblox.user_by_username Resolve a Roblox username to a user record. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/roblox/user_by_username?username=Roblox` with header `x-api-key: YOUR_API_KEY` - Parameters: - `username` (string, required): Roblox username, e.g. Roblox - Fields returned: `author.id`, `author.username`, `author.displayName`, `author.verified` - Reference: https://onekey.dev/docs/api/roblox/user_by_username.md ### roblox.user_games List the public experiences created by a Roblox user. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/roblox/user_games?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id - Fields returned: `entity.id`, `entity.name`, `entity.description`, `content.createdAt`, `entity.updatedAt`, `ext.visits`, `ext.rootPlaceId` - Reference: https://onekey.dev/docs/api/roblox/user_games.md ### roblox.user_groups List the groups a Roblox user belongs to, with their role. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/roblox/user_groups?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Roblox user id - Fields returned: `entity.id`, `entity.name`, `entity.stats.members`, `entity.stats.rank`, `ext.role` - Reference: https://onekey.dev/docs/api/roblox/user_groups.md ### roblox.user_search Search Roblox users by keyword. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/roblox/user_search?q=builderman` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search keyword - Fields returned: `author.id`, `author.username`, `author.displayName`, `author.verified` - Reference: https://onekey.dev/docs/api/roblox/user_search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/roblox/asset_details?id=1028606" \ -H "x-api-key: YOUR_API_KEY" ```