Skip to main content
GET
/
ratings
/
systems
/
{systemID}
SDK (@phosra/sdk)
import { PhosraClient } from "@phosra/sdk";

const phosra = new PhosraClient({
  baseUrl: "https://phosra-api-sandbox-production.up.railway.app/api/v1",
  accessToken: process.env.PHOSRA_API_KEY,
});

const result = await phosra.ratings.bySystem("esrb");
console.log(result);
[
  {
    "id": "00000000-0000-0000-0003-000000000002",
    "system_id": "esrb",
    "code": "E10+",
    "name": "Everyone 10+",
    "description": "Content generally suitable for ages 10 and up.",
    "min_age": 13,
    "display_order": 0,
    "restrictive_idx": 0
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

systemID
string
required

Response

Ratings in the system

id
string<uuid>

Unique identifier for this resource.

system_id
string

Identifier of the associated system.

code
string

Short code for this rating tier or descriptor.

name
string

Human-readable display name.

description
string

Human-readable description.

min_age
integer

Minimum age (in years) this tier is appropriate for.

display_order
integer

Position of this rating within its system, lowest first.

restrictive_idx
integer

Relative strictness rank within the system; higher means more restrictive.