TLS Radar Expiring API

Convenience: certificates expiring within a window

GitHub OpenAPI

Operations 1

GET /expiring List certificates expiring within N days #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tlsradar-com:tlsradar-com-expiring-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tlsradar-com-expiring-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TLS Radar Expiring API
  version: 1.0.0
  description: API for TLS Radar - SSL/TLS certificate monitoring service. Monitor certificate expirations, detect vulnerabilities, and receive alerts for your domains. Public certificates on every plan; private PKI monitoring (your own CA's certificates and internal hosts) on Enterprise, set up on request.
  contact:
    name: TLS Radar Support
    url: https://tlsradar.com/contact
  license:
    name: Proprietary
servers:
- url: https://tlsradar.com/api/v1
  description: Production
- url: https://staging.tlsradar.com/api/v1
  description: Staging
security:
- oauth2:
  - read
  - write
- bearerAuth: []
tags:
- name: Expiring
  description: 'Convenience: certificates expiring within a window'
paths:
  /expiring:
    get:
      tags:
      - Expiring
      summary: List certificates expiring within N days
      description: Convenience query that flattens all monitored hosts the user can see and returns those whose latest scan shows an expiration date within the requested window. Sorted by days until expiration ascending. Requires the `read` scope.
      parameters:
      - name: within
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 365
          default: 30
        description: Days from now to look ahead
      responses:
        '200':
          description: List of expiring monitors with metadata
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ExpiringEntry'
                  meta:
                    type: object
                    properties:
                      within_days:
                        type: integer
                      count:
                        type: integer
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
      x-required-scope: read
      operationId: getExpiring
      x-operation-id-source: derived
components:
  schemas:
    ExpiringEntry:
      type: object
      properties:
        host_id:
          type: string
          format: uuid
        address:
          type: string
        expiration_date:
          type: string
          format: date-time
        days_until_expiration:
          type: integer
        last_scanned_at:
          type: string
          format: date-time
        scan_group:
          type: object
          properties:
            id:
              type: string
              format: uuid
            friendly_name:
              type: string
        team:
          type: object
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key obtained from TLS Radar dashboard
    oauth2:
      type: oauth2
      description: OAuth 2.0 Authorization Code + PKCE. Public clients can self-register via RFC 7591 at /oauth/register. See /.well-known/oauth-authorization-server for the full metadata document.
      flows:
        authorizationCode:
          authorizationUrl: https://tlsradar.com/oauth/authorize
          tokenUrl: https://tlsradar.com/oauth/token
          refreshUrl: https://tlsradar.com/oauth/token
          scopes:
            read: Read access to scans, monitors, teams, and account
            write: Create and modify monitors, teams, scans
            admin: All read + write plus account-level operations