Skip to content

API Reference

Services API

Copy page

GET /v1/services — your services with status, billing cycle and due date

Returns all services of the token’s owner (Linux hosting, WordPress, Node.js, email, …) with their status and due date.

Request

GET https://api.hostino.ai/v1/services
Authorization: Bearer ACCESS_TOKEN
ItemValue
Required scopeservices:read
Optional parameterstatus: filter by status, e.g. ?status=Active (case-insensitive)
Terminal window
curl -s "https://api.hostino.ai/v1/services?status=Active" \
-H "Authorization: Bearer $TOKEN"

Response

{
"count": 2,
"services": [
{
"id": 150,
"product": "WP-Plus-IR",
"domain": "example.com",
"status": "Active",
"billing_cycle": "Monthly",
"registered_on": "2026-06-01",
"next_due_date": "2026-12-31",
"days_until_due": 71
}
]
}

Fields

FieldTypeDescription
idnumberService ID
productstringPlan / product name
domainstringDomain attached to the service (may be empty)
statusstringActive, Pending, Suspended, Cancelled, Terminated, …
billing_cyclestring | nullMonthly, Quarterly, Annually, Free Account, …
registered_ondate | nullService registration date (YYYY-MM-DD)
next_due_datedate | nullNext due / renewal date (YYYY-MM-DD)
days_until_duenumber | nullDays left until due; negative means overdue

Errors

CodeBodyCause
401missing_token / inactive_token / invalid_audienceNo token, token expired/revoked, or issued for another resource
403insufficient_scopeToken lacks services:read
502backend_error / backend_unreachableTemporary internal error; retry

In MCP

The same data is available through the list_services tool.