Documentation

Everything you need to use SourceHub offsets, API, and sources.

Getting Started

1. Subscribe

Get a monthly plan ($70/mo) for full access to all game offsets, API, and sources.

View Pricing

2. Browse Offsets

Each game has its own page with live offsets, status, and download options.

View Games

3. Use the API

Fetch offsets programmatically in JSON, C++ headers, or Python dict format.

API Docs

C++ Headers

Auto-generated C++ header files with constexpr offsets organized by namespace.

#ifndef FIVE_M_H
#define FIVE_M_H

// FiveM / GTA5 vEnhanced — SourceHub Auto-Generated

namespace globals {
    constexpr uint64_t PedFactory = 0x206F670;
    constexpr uint64_t ViewPort = 0x2070610;
    constexpr uint64_t SwapChain = 0x1DB3380;
}

namespace ped {
    constexpr uint64_t Health = 0x1518;
    constexpr uint64_t MaxHealth = 0x151C;
    constexpr uint64_t PlayerInfo = 0x10A8;
}

#endif // FIVE_M_H

Fetch: GET /api/offsets/five-m?format=cpp

Python Dumpers

Python dict format for use in dumper scripts and analysis tools.

# FiveM / GTA5 vEnhanced — SourceHub Auto-Generated

five_m = {
    "globals": {
        "PedFactory": 0x206F670,
        "ViewPort": 0x2070610,
    },
    "ped": {
        "Health": 0x1518,
        "MaxHealth": 0x151C,
    },
}

Fetch: GET /api/offsets/five-m?format=python

Offset Verification

Verified— Confirmed working in live memory
Updated— Recently updated, pending live verification
Needs Update— Game patched, offsets may be stale
Deprecated— No longer maintained

Freshness labels: fresh (<6h), recent (<24h), stale (<72h), outdated (>72h)

Authentication

Public offset data is accessible without authentication. API rate limits apply.

Subscribers get higher rate limits and access to full C++ sources, Python dumpers, and AI analysis features.

Auto-Updates

SourceHub runs automated cron jobs every 6 hours to:

  • Check game versions against official patch notes
  • Flag offsets as "needs update" when versions change
  • Mark offsets as stale if not verified in 24h
  • Post update notifications to Discord channels