Skip to content

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.

EndpointScopeWhat it does
GET /v1/ssl/certificatesssl:readYour certificates with domains, status and expiry
POST /v1/ssl/certificatesssl:writeIssue a new certificate
GET /v1/ssl/certificates/:idssl:readStatus and details of one order
POST /v1/ssl/certificates/:id/verifyssl:writeRun validation again
GET /v1/ssl/certificates/:id/download?format=ssl:readPEM of an issued certificate: fullchain (default), cert or chain (pem field). Never the private key
POST /v1/ssl/certificates/:id/renewssl:writeStart a new certificate for the same names as an issued one
DELETE /v1/ssl/certificates/:idssl:writeCancel a pending or failed order (issued certificates can’t be deleted)
GET /v1/ssl/check?host=&port=ssl:readLive certificate check of any public site: valid, issues, issuer, names, valid_to, days_left, protocol, chain
Terminal window
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) or rsa-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.