Skip to main content
GET
https://www.lormex.xyz
/
api
/
services
/
{slug}
Get Service
curl --request GET \
  --url https://www.lormex.xyz/api/services/{slug}
{
  "slug": "example-slug",
  "name": "Example Service",
  "online": 1250,
  "status": "online"
}

Get Service Details

Retrieve detailed information about a specific service by its slug.

Path Parameters

slug
string
required
The unique identifier (slug) of the service

Response

slug
string
Unique identifier for the service
name
string
Display name of the service
online
number
Current online player count
status
string
Current status of the service
description
string
Description of the service

Example Request

curl -X GET "https://www.lormex.xyz/api/services/example-slug"

Example Response

{
  "slug": "example-slug",
  "name": "Example Service",
  "online": 1250,
  "status": "online",
  "description": "A great example service"
}

Error Responses

error
string
Error message when service is not found
404 Not Found
{
  "error": "Not found"
}
{
  "slug": "example-slug",
  "name": "Example Service",
  "online": 1250,
  "status": "online"
}