Skip to main content
Social Club endpoints accept a public nickname or numeric Rockstar ID. POST /search is validation-only: it normalizes the identifier type without calling Rockstar or consuming credits.

Search types

Canonical types:
  • nickname
  • rockstar_id
Aliases:
  • username, socialclub, social_club, and social-club -> nickname
  • id, rockstar, rockstarid, and rockstar_id -> rockstar_id

Endpoint groups


Fast path

Validate an input before launching enrichment.
Use /all for the complete public Social Club snapshot.
To save the synchronous result for later retrieval, add "save": true to the /all body. Use the free detail routes after a profile lookup. The API verifies that each requested resource is linked to the resolved account.
memberQuery is optional and must contain at least three characters when set. POST /game-detail uses the same identity body with a positive integer gameId. Load the achievements Rockstar exposes for that linked game with the same gameId:
The provider returns only awarded achievement identifiers and unlock dates. It does not expose the full title catalog, names, descriptions, icons, or point totals through this endpoint, so those aggregate fields can be null.

Response data

POST /all returns:
  • resolve: canonical Rockstar ID, nickname, avatar, and source. Nickname resolution is case-insensitive but exact; an approximate provider result is never selected and produces 404 NOT_FOUND when no exact nickname exists.
  • profile: online state, country, language, creation date, declared friend count, gamertag visibility, primary crew, privacy flags, status, and last active platform.
  • linkedAccounts: linked platform identities and provider visibility values.
  • crews: crew membership and metadata, including an official Rockstar CDN emblemUrl derived from the crew ID.
  • games: registered Rockstar game records with default platform, friend code, and imageUrl when the title is present in the official Rockstar catalog.
  • friends: public friend profiles with intrinsic profile, crew, country, language, gamertag, and activity fields. MutualFriendCount and ViewerRelationship are intentionally excluded because they describe the provider account’s relationship with the target.
  • partialErrors: secondary collectors that could not be completed.
The route fails when the primary resolver cannot identify an account. Secondary provider failures return a successful response with entries in partialErrors.

Authentication

Provider-backed routes use a Worker-compatible Rockstar session managed by RockstarAuthDO. The Durable Object persists refreshed launcher tokens and coalesces concurrent refreshes. The achievements route uses a separate Social Club API bearer, also persisted and refreshed by the Durable Object. Tokens are never stored in the Cache API or returned to clients. If Rockstar credentials are unavailable or cannot be refreshed, provider-backed routes return 503 PROVIDER_UNAVAILABLE without recording usage.

Caching

Provider responses are cached by collector and normalized identifier. Cache entries reduce repeated Rockstar calls and do not change route pricing.