AlroviOfficial/RoZod(新しいタブで開きます)
主要言語: TypeScript
A TypeScript wrapper for the Roblox API
- star 数
- 42
- watcher 数
- 1
- fork 数
- 6
- issue 数
- 2
- 最終更新
- 2026/10/11
主要言語: TypeScript
A TypeScript wrapper for the Roblox API
Documentation • Quick Start • API Reference
RoZod makes working with Roblox APIs simple and type-safe. 695+ classic web API endpoints and 115+ OpenCloud endpoints, all code-generated from official Roblox documentation, with authentication, CSRF tokens, cookie rotation, pagination, batching, and error parsing handled for you.
Works in Node.js, Bun, Deno, browsers, and browser extensions. Battle-tested in RoGold, serving 800,000+ users with millions of API requests daily.
npm install rozod
import { fetchApi, isAnyErrorResponse } from 'rozod'; import { getUsersUserid } from 'rozod/endpoints/usersv1'; const user = await fetchApi(getUsersUserid, { userId: 1 }); if (!isAnyErrorResponse(user)) { console.log(user.displayName); // fully typed! }
On a server, configure authentication once and every request uses it:
import { configureServer } from 'rozod'; configureServer({ cookies: process.env.ROBLOX_COOKIE, // classic *.roblox.com APIs cloudKey: process.env.ROBLOX_CLOUD_KEY, // OpenCloud APIs });
Full guides and reference at rozod.alrovi.com:
Maintained by Alrovi ApS, the company behind RoGold.
RoZod is not affiliated with, maintained, authorized, endorsed, or sponsored by Roblox Corporation or any of its affiliates.