Integrate RoboHost services into your applications with our powerful REST API.
The RoboHost API lets you programmatically manage websites, domains, SSL certificates, optimization jobs, and support. Every response is JSON.
| Endpoint | Auth | Actions |
|---|---|---|
api/contact.php | Public | POST — contact form |
api/domains.php | Client session | search, register, transfer, dns-records, renew |
api/ssl.php | Client session | list, issue, renew, revoke |
api/hosting.php | Client session | plans, order, renew, suspend, details |
api/products.php | Admin session | test, catalog, sync, pricing |
client/api/websites.php | Client session | list, add, files, upload, mkdir, delete-file, save-settings, optimize, status |
Actions are passed via ?action= query param or a POST action field.
API endpoints use your dashboard session — log in at https://robohost.ai/login and include the session cookie in requests. Mutating calls require a CSRF token.
Responses: {success: true, data: {...}} or {success: false, error: "..."}. Unauthenticated calls return 401, admin-only 403.
Manage your hosted websites programmatically.
client/api/websites.php?action=list
List all websites in your account.
client/api/websites.php?action=add
Add a new website to your account.
client/api/websites.php?action=status&id={id}
Get details of a specific website.
client/api/websites.php?action=delete-file
Remove a website from your account.
Search, register, and manage domain names via the API. Powered by ResellerClub.
api/domains.php?action=search&domain=example&tlds=com,net,org
Check domain availability across multiple TLDs.
api/domains.php?action=register
Register a new domain name.
api/domains.php?action=dns&id={id}
Get DNS records for a domain.
Trigger and monitor speed optimization jobs.
client/api/websites.php?action=optimize&id={id}
Trigger a full optimization for a website. Options: speed, seo, images, cache, full.
client/api/websites.php?action=status&id={id}
Check the status of an optimization job.
Access AI-powered SEO analysis and recommendations.
client/seo?site={id}
Get SEO scores and recommendations for all pages.
client/api/websites.php?action=optimize&id={id}
Get tracked keywords and their rankings.
Issue and manage SSL certificates for your domains.
api/ssl.php?action=order
Issue a new SSL certificate for a domain.
api/ssl.php?action=list
Get SSL certificate status and details.
Access invoices and subscription information.
client/billing
List all invoices for your account.
client/billing
Get current subscription details.
The API uses standard HTTP status codes. Error responses include a JSON body with details.
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
422 | Validation Error |
429 | Rate Limited |
API requests are rate-limited to ensure fair usage across all users.
| Plan | Requests/min | Requests/day |
|---|---|---|
| Starter | 60 | 10,000 |
| Professional | 120 | 50,000 |
| Enterprise | 300 | Unlimited |