API Reference
SSL API
Copy page
Issue and track free SSL certificates (Let's Encrypt) for your own domains via the API
All endpoints live on https://api.hostino.ai and use an OAuth (Bearer) token. This is the same “Free SSL” as in the Hostino panel.
| Endpoint | Scope | What it does |
|---|---|---|
GET /v1/ssl/certificates | ssl:read | Your certificates with domains, status and expiry |
POST /v1/ssl/certificates | ssl:write | Issue a new certificate |
GET /v1/ssl/certificates/:id | ssl:read | Status and details of one order |
POST /v1/ssl/certificates/:id/verify | ssl:write | Run validation again |
GET /v1/ssl/certificates/:id/download?format= | ssl:read | PEM of an issued certificate: fullchain (default), cert or chain (pem field). Never the private key |
POST /v1/ssl/certificates/:id/renew | ssl:write | Start a new certificate for the same names as an issued one |
DELETE /v1/ssl/certificates/:id | ssl:write | Cancel a pending or failed order (issued certificates can’t be deleted) |
GET /v1/ssl/check?host=&port= | ssl:read | Live certificate check of any public site: valid, issues, issuer, names, valid_to, days_left, protocol, chain |
curl -s -X POST https://api.hostino.ai/v1/ssl/certificates -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ -d '{"domains":["example.com","www.example.com"],"key_type":"ec-256"}'- Validation is automatic through Hostino DNS; the domain must use Hostino DNS (an active free DNS zone or one of your hosting domains). Wildcards (
*.example.com) are supported. key_type:ec-256(default) orrsa-2048.- The private key is not returned through the API; download the certificate and key from the panel.
In MCP
Tools ssl_list_certificates, ssl_issue_certificate, ssl_certificate_status and ssl_verify_certificate; guide: DNS, SSL and support with AI.