ReinHost API Documentation

Integrate our powerful hosting and domain services directly into your applications.

Getting Started

Welcome to the ReinHost API. Our RESTful API allows you to programmatically manage your services, check domain availability, and much more. All endpoints are relative to the base URL:

https://reinhost.com/api/v1

Authentication

To use the API, you must include an API key with every request. You can generate your API key from your client dashboard under "API Credentials".

All requests must include an `Authorization` header with your Bearer token:

Authorization: Bearer YOUR_API_SECRET_KEY

API Endpoints

POST /check-domain

Check the availability of a specific domain name.

Parameters

{
    "domain": "example.com"
}

Success Response (200)

{
    "status": "available",
    "domain": "example.com",
    "price": "9.99"
}

GET /services

Retrieve a list of all active services on your account.

Success Response (200)

{
    "status": "success",
    "data": [
        {
            "id": 1,
            "product_name": "Shared Hosting - Pro",
            "status": "Active",
            "next_due_date": "2025-10-12"
        }
    ]
}