MySSL API Overview

Integrate SSL certificate monitoring into your applications with our powerful REST API. Monitor certificates, track security grades, and receive alerts programmatically.

Quick Start

You'll need an API key to authenticate requests. Create one in your Dashboard Settings.

Make your first API request to list your monitored domains:

cURL
curl -X GET https://myssl.info/api/v1/domains \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Example response:

JSON Response
{
  "domains": [
    {
      "id": 1,
      "hostname": "example.com",
      "port": 443,
      "ssl_grade": "A+",
      "ssl_score": 100,
      "certificate_expiry": "2025-06-15T12:00:00Z",
      "last_scan": "2025-01-12T10:30:00Z",
      "is_active": true
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 1,
    "pages": 1
  }
}

Base URL

All API requests should be made to the following base URL:

https://myssl.info/api/v1

What You Can Do

Manage Domains

Add, remove, and configure domains for monitoring. Set custom ports and scan frequencies.

View Endpoints →

Run SSL Scans

Trigger on-demand scans and retrieve detailed SSL/TLS security analysis results.

View Endpoints →

Certificate Details

Get detailed certificate information including chain, expiry, and issuer details.

View Endpoints →

Uptime Monitoring

Monitor endpoint availability and response times with configurable check intervals.

View Endpoints →

Authentication

All API requests require authentication using a Bearer token. Include your API key in the Authorization header:

HTTP Header
Authorization: Bearer myssl_k_abc123def456...

Learn more about authentication →

Rate Limits

API rate limits are based on your subscription tier:

Tier Requests/Day Burst Rate
Free 1,000 10/minute
Pro 10,000 60/minute
Business 100,000 300/minute
Enterprise Unlimited Custom

View rate limit details →

Response Format

All API responses are returned in JSON format. Successful responses include the requested data, while error responses include an error message and optional details.

Success Response

200 OK
{
  "domains": [...],
  "pagination": {...}
}

Error Response

400 Bad Request
{
  "error": "Invalid hostname",
  "details": "Hostname must be a valid domain"
}

SDKs & Libraries

Official SDKs are coming soon! In the meantime, you can use the REST API directly with any HTTP client.

Check out our code examples for Python, Node.js, and cURL:

View Code Examples

Need Help?

Our team is here to help you integrate MySSL into your applications. Reach out if you have any questions or need assistance.