Nexus Integrations / API
The Nexus API, from the beginning.
Learn the small set of rules every Nexus API request follows before you open an endpoint reference.
1. Base URL
Every production request starts with the Nexus API base URL. Add the endpoint path after it.
https://api.gpirblx.com2. Required headers
Protected endpoints use a server-side API key. Keep that key in an environment variable and never put it in browser or Roblox client code.
| Header | Value | When to send it |
|---|---|---|
Authorization | Bearer YOUR_API_KEY | Every protected request. |
Content-Type | application/json | Requests that send a JSON body. |
Public storefront reads do not need a key. The endpoint pages tell you when a scope is required, such as ownership:read ororders:create.
3. Example request
This request lists the published products in one store. Replace the placeholder values with your own store ID and API key when an endpoint requires authentication.
curl "https://api.gpirblx.com/api/v1/store/STORE_ID/products" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"4. Example response
Successful Nexus responses return success and put the useful result inside data. Errors return an HTTP error status with an error code and message.
{
"success": true,
"data": [
{
"id": "product_id",
"name": "Premium Vehicle Pack",
"price": 100,
"currency": "ROBUX",
"status": "PUBLISHED"
}
]
}{
"success": false,
"error": {
"code": "STORE_NOT_FOUND",
"message": "Store was not found"
}
}