Build with api.vetox.online

Official developer documentation and AI agent endpoint library for the Vetox gaming companion ecosystem. Connect your IDE agents, build modular .vapp companion apps, and ship to 42,000+ League of Legends players — all 100% Riot Vanguard certified safe.

● Cloudflare Edge — Online v1.0.4 — Production 75 / 25 Revenue Split Zero Memory Scanning
API Reference

AI Agent & Developer Endpoints

Open REST endpoints that external AI agents (Cursor, Claude, GitHub Copilot, Antigravity) read to discover manifest specifications, Vanguard safety rules, and the client JavaScript SDK.

GET
/v1/agent-docs
Full AI agent context bundle (JSON). Contains the Vanguard anti-cheat policy, modular app manifest schema, role definitions, and all endpoint URLs in one structured payload. Start here if you are an AI agent.
GET
/v1/agent-docs/prompt.md
Raw Markdown system prompt formatted for Cursor .cursorrules, Claude projects, Antigravity skills, and custom GPTs. Copy-paste into your agent’s instructions.
GET
/v1/sdk/vetox.js
Official client runtime SDK (VetoxClient class). Provides read-only access to Riot Live Client Data, champion builds, and the app registry. Import via ESM.
GET
/v1/sdk/vetox.d.ts
TypeScript declaration file. Drop into your project for full IDE autocomplete, hover documentation, and type safety on every SDK method.
GET
/v1/builds/lol/{championId}.json
Challenger-tier champion build data. Returns runes, items, skill order, win rate, pick rate, and tier rating. Example: /v1/builds/lol/157.json for Yasuo.
GET
/v1/apps/registry.json
Published modular app catalog. Each entry includes app ID, name, version, description, target game, author, and the signed .vapp download URL.
GET
/v1/developer/check-role?email=...&role=...
Role verification endpoint. Returns whether the user is a user, developer, or admin, along with their permission scopes.
GET
/health
JSON health check for monitoring and uptime probes. Returns service name, status, version, ISO timestamp, and links to all AI agent resources.
Compliance

Riot Vanguard Safety Rules

Every line of code that runs in the Vetox ecosystem must comply with these non-negotiable rules. Violations result in permanent Vanguard bans for end users. No exceptions.

✖ Strictly Forbidden

Memory & Process Injection

  • OpenProcess, VirtualAllocEx, WriteProcessMemory, ReadProcessMemory — instant ban
  • DLL injection, code hooking, or function detours into any Riot process
  • Synthetic mouse clicks, keystrokes, macro combos, or any form of automated user input
  • Packet sniffing, replay interception, or network-level game data extraction
✔ Allowed Communication

Read-Only Local APIs

  • Riot Live Client Data — https://127.0.0.1:2999/liveclientdata/* (official read-only in-game API)
  • Riot LCU WebSocket/HTTPS — port and auth token from the lockfile, read-only endpoints only
  • Vetox Cloud API — https://api.vetox.online/* for builds, registry, and SDK
  • Sandboxed Electron — modular apps render inside isolated web viewframes with zero direct OS access
⚠ Resource Budget Ceiling

Performance Constraints

  • Memory: total app footprint must remain under 80 MB RAM
  • CPU: overhead must stay below 2% of a single core
  • Framerate: zero measurable FPS impact during active gameplay
  • Apps exceeding these limits are automatically flagged during security audit
Specification

Modular App Manifest (.vapp)

Every Vetox companion app ships as a .vapp ZIP bundle containing a manifest.json at the root. Here are the required and optional fields:

FieldTypeDescription
idstringUnique lowercase identifier (e.g. "jungle-vision-timer"). Must be URL-safe.
namestringHuman-readable display name shown in the App Store and sidebar.
versionstringSemantic version ("1.0.0"). Bumped on every submission.
authorstringDeveloper or company name. Shown publicly on the app listing.
permissionsstring[]Requested capabilities: "live_client_data", "lcu_read", "overlay_window", "cloud_sync".
entrystringPath to the app’s dashboard HTML file (e.g. "ui/index.html").
overlaystring?Optional path to the transparent in-game HUD overlay (e.g. "ui/overlay.html").
JSON { "id": "jungle-vision-timer", "name": "Jungle Camp & Objective Timers", "version": "1.1.0", "author": "JunglePros", "permissions": ["live_client_data", "overlay_window"], "entry": "ui/dashboard.html", "overlay": "ui/overlay.html" }
Client SDK

VetoxClient JavaScript SDK

Import the official SDK into any modular app to access live game data, champion builds, and the app registry. TypeScript definitions are available for full IDE support.

JavaScript import { VetoxClient } from "https://api.vetox.online/v1/sdk/vetox.js"; const vetox = new VetoxClient(); // Fetch real-time in-game data (only works during an active match) const gameData = await vetox.getLiveGameData(); if (gameData) { console.log("Active Player:", gameData.activePlayer.summonerName); console.log("Game Time:", gameData.gameData.gameTime); } // Fetch challenger-tier build for Yasuo (champion ID 157) const build = await vetox.getChampionBuild(157); console.log("Keystone:", build.runes.primaryKeystone); console.log("Core Items:", build.items.core); // Report app telemetry back to the Vetox launcher vetox.reportTelemetry({ ramUsageMb: 34.2, fps: 144 });
📚 getLiveGameData()

Returns the full /allgamedata payload from Riot’s local Live Client Data API. Includes active player stats, all player items, runes, gold, and game events. Returns null when no match is active.

📚 getChampionBuild(id)

Fetches pre-computed Challenger-tier build data from the Vetox cloud edge. Returns runes, items (starter, core, situational), skill order, win rate, pick rate, and tier rating.

📚 getAppRegistry()

Returns the full catalog of published and verified modular .vapp companion apps, including download URLs, versions, and audit status.

📚 reportTelemetry(metrics)

Sends RAM and FPS metrics to the host launcher via postMessage. Used by the Vetox resource monitor to enforce the 80 MB memory ceiling during gameplay.

Getting Started

Quick Start for AI Agents

If you are an AI coding agent (Cursor, Claude, GitHub Copilot, Antigravity), copy this block into your project’s .cursorrules or system prompt:

.cursorrules # Vetox Companion App Developer Instructions # Full context: https://api.vetox.online/v1/agent-docs # System prompt: https://api.vetox.online/v1/agent-docs/prompt.md # Client SDK: https://api.vetox.online/v1/sdk/vetox.js # TypeScript: https://api.vetox.online/v1/sdk/vetox.d.ts CRITICAL COMPLIANCE RULES: 1. Riot Vanguard: ZERO memory scanning, ZERO code injection. Read-only 127.0.0.1:2999/liveclientdata ONLY. 2. Resource Budget: < 80 MB RAM, < 2% CPU overhead. 3. App Format: .vapp ZIP with manifest.json at root. 4. UI System: Hextech Dark Gold (#070a0f, #c89b3c, #38e898).
⚡ 1. Fetch Agent Context

Your agent reads /v1/agent-docs to learn every rule, schema, and endpoint in one JSON payload. This is the single source of truth.

🛠 2. Build Your App

Create a manifest.json, import the SDK, and write your dashboard and overlay HTML. Use the Hextech Dark Gold design system for visual consistency.

🚀 3. Submit for Audit

Package as a .vapp ZIP and submit via the Vetox launcher. Antigravity AI performs static AST analysis before an admin signs the release.

Architecture

Platform Overview

☁ Cloudflare Workers
Edge

This API runs on Cloudflare’s global edge network. Sub-20ms latency worldwide. Zero cold starts. Custom domain api.vetox.online with automatic TLS.

🗃 Supabase
Database

PostgreSQL 17 on Supabase powers user profiles, auth (email, Discord, Google OAuth), role management (Summoner / Developer / Admin), and subscription state.

💳 Stripe & Paddle
Payments

Vetox Pro subscriptions processed via Stripe Checkout and Paddle as merchant of record. Webhook listeners handle activation, cancellation, and failed invoices automatically.