Economy v1
Reference for the Economy v1 endpoints on Roblox.
Base URL: https://economy.roblox.com
Endpoints
Section titled “Endpoints”| Method | Path | Name |
|---|---|---|
GET | /v1/user/currency | getUserCurrency |
getUserCurrency
Section titled “getUserCurrency”GET /v1/user/currency
Gets currency for the authenticated user.
Usage
import { fetchApi } from 'rozod';import { getUserCurrency } from 'rozod/lib/endpoints/economyv1';
const data = await fetchApi(getUserCurrency, undefined);Response
Section titled “Response”| Field | Type | Description |
|---|---|---|
robux | number |
Errors
Section titled “Errors”| Status | Description |
|---|---|
| 401 | 0: Authorization has been denied for this request. |
| 403 | 1: The user is invalid. |