TLS Radar Hosts API

Individual domain/host operations

GitHub OpenAPI

Operations 4

GET /teams/{team_id}/scan_groups/{scan_group_id}/hosts List the domains (hosts) monitored in a scan group #
POST /teams/{team_id}/scan_groups/{scan_group_id}/hosts Add a domain to monitoring (a monitor, stored as a host in a scan group) #
GET /teams/{team_id}/scan_groups/{scan_group_id}/hosts/{id} Get one monitored domain (host) with its latest scan #
DELETE /teams/{team_id}/scan_groups/{scan_group_id}/hosts/{id} Stop monitoring a domain (remove a host) #

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-hosts-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-hosts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TLS Radar Hosts 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: Hosts
  description: Individual domain/host operations
paths:
  /teams/{team_id}/scan_groups/{scan_group_id}/hosts:
    get:
      tags:
      - Hosts
      summary: List the domains (hosts) monitored in a scan group
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/scanGroupId'
      responses:
        '200':
          description: List of hosts
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Host'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '404':
          description: Not found, or not in a team the user has accepted membership of.
      x-required-scope: read
      x-required-role: Any accepted member of the team (owner, admin or guest).
      description: Requires the `read` scope. Any accepted member of the team (owner, admin or guest).
      operationId: getTeamsByTeamIdScanGroupsByScanGroupIdHosts
      x-operation-id-source: derived
    post:
      tags:
      - Hosts
      summary: Add a domain to monitoring (a monitor, stored as a host in a scan group)
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/scanGroupId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - host
              properties:
                host:
                  type: object
                  required:
                  - address
                  properties:
                    address:
                      type: string
                      description: Domain name (e.g., example.com)
      responses:
        '201':
          description: Host added
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/Host'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '402':
          description: Plan limit reached. The body names the limit, the current plan and the upgrade options.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitReached'
        '403':
          description: The credential lacks the required scope ({error, required_scope, your_scopes}), the user's team role does not allow the change, or the free trial has ended.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not in a team the user has accepted membership of.
        '422':
          description: 'Validation failed. {errors: [...]} lists every message, including the domain limit.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-required-scope: write
      x-required-role: Team owner or admin. Guests have read-only access and get 403.
      description: Requires the `write` scope. Team owner or admin. Guests have read-only access and get 403. 402 when the team owner's plan has no domain left (the body says which plan and how to upgrade).
      operationId: postTeamsByTeamIdScanGroupsByScanGroupIdHosts
      x-operation-id-source: derived
  /teams/{team_id}/scan_groups/{scan_group_id}/hosts/{id}:
    get:
      tags:
      - Hosts
      summary: Get one monitored domain (host) with its latest scan
      description: Returns detailed host information including latest scan result Requires the `read` scope. Any accepted member of the team (owner, admin or guest).
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/scanGroupId'
      - $ref: '#/components/parameters/resourceId'
      responses:
        '200':
          description: Host details
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/HostDetail'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '404':
          description: Not found, or not in a team the user has accepted membership of.
      x-required-scope: read
      x-required-role: Any accepted member of the team (owner, admin or guest).
      operationId: getTeamsByTeamIdScanGroupsByScanGroupIdHostsById
      x-operation-id-source: derived
    delete:
      tags:
      - Hosts
      summary: Stop monitoring a domain (remove a host)
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/scanGroupId'
      - $ref: '#/components/parameters/resourceId'
      responses:
        '204':
          description: Host removed
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '403':
          description: The credential lacks the required scope ({error, required_scope, your_scopes}), the user's team role does not allow the change, or the free trial has ended.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not in a team the user has accepted membership of.
      x-required-scope: write
      x-required-role: Team owner or admin. Guests have read-only access and get 403.
      description: Requires the `write` scope. Team owner or admin. Guests have read-only access and get 403.
      operationId: deleteTeamsByTeamIdScanGroupsByScanGroupIdHostsById
      x-operation-id-source: derived
components:
  schemas:
    Host:
      type: object
      properties:
        id:
          type: string
          format: uuid
        address:
          type: string
          description: Domain name (e.g., example.com)
        status:
          type: string
          enum:
          - active
          - disabled
        last_scan_status:
          type:
          - string
          - 'null'
        last_scanned_at:
          type:
          - string
          - 'null'
          format: date-time
        expiration_date:
          type:
          - string
          - 'null'
          format: date-time
        expiring_soon:
          type: boolean
          description: 'True if the certificate is unexpired and inside its expiry-warning window. The window opens shortly after an automated client should have renewed (a third of the lifetime left) and is never longer than 30 days: 28 days for a 90-day certificate, 19 for a 64-day one'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    LimitReached:
      type: object
      properties:
        error:
          type: string
          description: <resource>_limit_reached, e.g. domains_limit_reached
        message:
          type: string
        context:
          type: object
        recommended_upgrade:
          type:
          - object
          - 'null'
        upgrade_options:
          type: array
          items:
            type: object
        alternatives:
          type: array
          items:
            type: object
    HostDetail:
      allOf:
      - $ref: '#/components/schemas/Host'
      - type: object
        properties:
          latest_scan:
            type: object
            description: Present once the host has been scanned
            properties:
              scanned_at:
                type: string
                format: date-time
              status:
                type: string
                enum:
                - success
                - failed
              elapsed_time:
                type:
                - number
                - 'null'
              certificate:
                type:
                - object
                - 'null'
                description: The leaf certificate the host served
                properties:
                  issuer:
                    type: string
                  subject:
                    type: string
                  valid_from:
                    type: string
                    format: date-time
                  valid_until:
                    type: string
                    format: date-time
                  serial_number:
                    type: string
                  public_key_algorithm:
                    type: string
    Error:
      type: object
      properties:
        error:
          type: string
        errors:
          type: array
          items:
            type: string
        required_scope:
          type: string
          description: Insufficient-scope 403s only
        your_scopes:
          type: array
          items:
            type: string
          description: Insufficient-scope 403s only
        retry_after:
          type: integer
          description: '429s only: seconds until the next attempt can succeed'
  parameters:
    resourceId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Resource UUID
    teamId:
      name: team_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Team UUID
    scanGroupId:
      name: scan_group_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Scan group UUID
  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