Skip to main content

Roblox Adapter

Idiomark adapter for extracting personality data from Roblox user profiles, games, and activity.

Features​

  • 🎮 User profiles - Extract user descriptions and bio information
  • đŸ•šī¸ Game history - Analyze played games and playtime
  • đŸ‘Ĩ Friend activity - Track friend interactions
  • 📊 Playstyle analysis - Builder, fighter, explorer, social player detection
  • 🏆 Achievement tracking - Understand gaming preferences and goals

Installation​

npm install @idiomark/adapter-roblox

Usage​

import { createRobloxAdapter, fetchRobloxUser } from '@idiomark/adapter-roblox'

// Basic usage
const adapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)

// Fetch user data
const output = await adapter.getStructuredOutput({
includeGames: true,
includeFriends: true,
includeChat: true,
limit: 100
})

console.log(output.personalitySignals)

Using with CLI​

# Extract from Roblox profile
idiomark extract --roblox --cookie .ROBLOSECURITY=xxx -o personality.json

# With options
idiomark extract --roblox \
--cookie .ROBLOSECURITY=xxx \
--include-games \
--include-friends \
-o personality.json

Authentication​

  1. Log into Roblox in your browser
  2. Open Developer Tools → Application → Cookies
  3. Find the .ROBLOSECURITY cookie
  4. Copy the cookie value
const adapter = createRobloxAdapter('your_cookie_value')

Security Note​

Warning: Treat your .ROBLOSECURITY cookie like a password. Never commit it to version control.

Personality Signals Extracted​

Gaming Style Analysis​

StyleIndicators
BuilderTycoon, building, city games
FighterBattle, war, shooter games
ExplorerAdventure, survival games
SocialRoleplay, hangout, chat games
CreatorStudio, design, maker games

Values Analysis​

  • Sociability - Based on friend count and activity
  • Creativity - Building, design, and creation games
  • Leadership - Clan, military, and team games
  • Competitiveness - PvP and ranking-based games
  • Exploration - Adventure and survival tendencies

Interests​

  • Favorite game genres (e.g., Adventure, Obby, Tycoon)
  • Most played games
  • Favorite creators/developers
  • Group memberships

Configuration Options​

OptionTypeDefaultDescription
cookiestringrequired.ROBLOSECURITY cookie token
apiKeystringundefinedOptional API key
limitnumber100Max activities to fetch
includeGamesbooleantrueInclude game history
includeFriendsbooleanfalseInclude friend activity
includeChatbooleanfalseInclude chat history
startDateDateundefinedFilter activities from this date
endDateDateundefinedFilter activities until this date

Examples​

Analyze Gaming Preferences​

const adapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)

const output = await adapter.getStructuredOutput({
includeGames: true,
limit: 50
})

// Get playstyle
console.log('Playstyle:', output.personalitySignals.gaming.playstyle)
// Output: ['builder', 'social']

// Get favorite genres
console.log('Genres:', output.personalitySignals.interests.favoriteGenres)
// Output: ['Tycoon', 'Building', 'Adventure']

Compare Social vs Solo Gaming​

const adapter = createRobloxAdapter(process.env.ROBLOX_COOKIE)

const output = await adapter.getStructuredOutput({
includeGames: true
})

// 1.0 = fully social, 0.0 = fully solo
const socialVsSolo = output.personalitySignals.gaming.socialVsSolo
console.log(`Social vs Solo: ${(socialVsSolo * 100).toFixed(0)}%`)

Rate Limits​

  • 60 requests per minute
  • Automatic retry with exponential backoff when rate limited

License​

MIT