ScanMalware TLS Certificates API

The TLS Certificates API from ScanMalware — 3 operation(s) for tls certificates.

GitHub OpenAPI

Operations 3

GET /api/v1/tls/{scan_id} Get Tls Certificate #
GET /api/v1/tls/{scan_id}/certificate/download Download Certificate #
GET /api/v1/tls/{scan_id}/asn1 Get Certificate Asn1 #

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/scanmalware-com:scanmalware-com-tls-certificates-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

scanmalware-com-tls-certificates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScanMalware TLS Certificates API
  description: URL Security Scanner API
  version: 1.0.0
tags:
- name: TLS Certificates
paths:
  /api/v1/tls/{scan_id}:
    get:
      tags:
      - TLS Certificates
      summary: Get Tls Certificate
      description: 'Get TLS/SSL certificate analysis for a scan


        Returns comprehensive certificate details including:

        - Subject and issuer information

        - Validity dates and expiration status

        - Certificate fingerprints (SHA1, SHA256, MD5)

        - Key algorithm and size analysis

        - Subject Alternative Names (SANs)

        - Certificate Transparency (CT) log data

        - CAA record validation

        - Security analysis and risk scoring

        - Chain validation

        - Full certificate PEM data


        Results are cached for 60 seconds (only when data exists).'
      operationId: get_tls_certificate_api_v1_tls__scan_id__get
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TLSCertificateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tls/{scan_id}/certificate/download:
    get:
      tags:
      - TLS Certificates
      summary: Download Certificate
      description: 'Download the TLS/SSL certificate in PEM format


        Returns the certificate as a downloadable .pem file that can be:

        - Imported into browsers/keychains

        - Inspected with OpenSSL (openssl x509 -in cert.pem -text -noout)

        - Used for verification and analysis


        Results are cached for 60 seconds (only when data exists).'
      operationId: download_certificate_api_v1_tls__scan_id__certificate_download_get
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/tls/{scan_id}/asn1:
    get:
      tags:
      - TLS Certificates
      summary: Get Certificate Asn1
      description: 'Get ASN.1 parsed certificate structure


        Returns the raw ASN.1 structure of the certificate parsed using asn1crypto,

        providing detailed information about all certificate fields, extensions,

        and encoded values in a human-readable format.


        Results are cached for 60 seconds (only when data exists).'
      operationId: get_certificate_asn1_api_v1_tls__scan_id__asn1_get
      parameters:
      - name: scan_id
        in: path
        required: true
        schema:
          type: string
          title: Scan Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TLSCertificateResponse:
      properties:
        scan_id:
          type: string
          title: Scan Id
        subject_common_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject Common Name
        subject_organization:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject Organization
        subject_organizational_unit:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject Organizational Unit
        subject_country:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject Country
        subject_state:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject State
        subject_locality:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject Locality
        issuer_common_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Issuer Common Name
        issuer_organization:
          anyOf:
          - type: string
          - type: 'null'
          title: Issuer Organization
        issuer_country:
          anyOf:
          - type: string
          - type: 'null'
          title: Issuer Country
        not_before:
          anyOf:
          - type: string
          - type: 'null'
          title: Not Before
        not_after:
          anyOf:
          - type: string
          - type: 'null'
          title: Not After
        is_valid:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Valid
        is_expired:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Expired
        is_not_yet_valid:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Not Yet Valid
        days_until_expiry:
          anyOf:
          - type: integer
          - type: 'null'
          title: Days Until Expiry
        validity_period_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Validity Period Days
        serial_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Serial Number
        signature_algorithm:
          anyOf:
          - type: string
          - type: 'null'
          title: Signature Algorithm
        key_algorithm:
          anyOf:
          - type: string
          - type: 'null'
          title: Key Algorithm
        key_size:
          anyOf:
          - type: integer
          - type: 'null'
          title: Key Size
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
        fingerprint_sha1:
          anyOf:
          - type: string
          - type: 'null'
          title: Fingerprint Sha1
        fingerprint_sha256:
          anyOf:
          - type: string
          - type: 'null'
          title: Fingerprint Sha256
        fingerprint_md5:
          anyOf:
          - type: string
          - type: 'null'
          title: Fingerprint Md5
        ja4x:
          anyOf:
          - type: string
          - type: 'null'
          title: Ja4X
        ja4x_certificate_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Ja4X Certificate Count
        rsa_modulus_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Rsa Modulus Hash
        rsa_modulus_size:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rsa Modulus Size
        rsa_public_exponent:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rsa Public Exponent
        rsa_key_analysis:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Rsa Key Analysis
        is_debian_weak_key:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Debian Weak Key
          default: false
        is_roca_vulnerable:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Roca Vulnerable
          default: false
        has_common_modulus:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Common Modulus
          default: false
        key_entropy_score:
          anyOf:
          - type: number
          - type: 'null'
          title: Key Entropy Score
        is_self_signed:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Self Signed
          default: false
        is_wildcard:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Wildcard
          default: false
        is_ev_cert:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Ev Cert
          default: false
        is_lets_encrypt:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Lets Encrypt
          default: false
        certificate_pem:
          anyOf:
          - type: string
          - type: 'null'
          title: Certificate Pem
        sans:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Sans
        extensions:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Extensions
        chain:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Chain
        chain_valid:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Chain Valid
        chain_validation:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Chain Validation
        hostname_match:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Hostname Match
        security_analysis:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Security Analysis
        risk_score:
          anyOf:
          - type: integer
          - type: 'null'
          title: Risk Score
          default: 0
        risk_factors:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Risk Factors
        is_in_ct_logs:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is In Ct Logs
          default: false
        ct_log_entries:
          anyOf:
          - additionalProperties: true
            type: object
          - items: {}
            type: array
          - type: 'null'
          title: Ct Log Entries
        ct_first_seen:
          anyOf:
          - type: string
          - type: 'null'
          title: Ct First Seen
        ct_last_seen:
          anyOf:
          - type: string
          - type: 'null'
          title: Ct Last Seen
        ct_log_sources:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Ct Log Sources
          default: []
        ct_certificate_history:
          anyOf:
          - additionalProperties: true
            type: object
          - items: {}
            type: array
          - type: 'null'
          title: Ct Certificate History
        ct_related_domains:
          anyOf:
          - additionalProperties: true
            type: object
          - items: {}
            type: array
          - type: 'null'
          title: Ct Related Domains
        ct_ip_history:
          anyOf:
          - additionalProperties: true
            type: object
          - items: {}
            type: array
          - type: 'null'
          title: Ct Ip History
        ct_certificate_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Ct Certificate Count
        ct_days_since_first_cert:
          anyOf:
          - type: integer
          - type: 'null'
          title: Ct Days Since First Cert
        ct_lookup_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Ct Lookup Status
          description: '''ok'' when the Certificate Transparency lookup for this certificate completed (the ct_* fields are real, and a count of 0 means no logged certificate was found); ''unavailable'' when the certificate was analysed but the lookup did not complete in time, so the ct_* fields are empty rather than zero; such lookups are retried later. Null when there is no certificate.'
        cert_recently_issued:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Cert Recently Issued
          default: false
        cert_recently_changed:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Cert Recently Changed
          default: false
        shared_with_domains:
          anyOf:
          - type: integer
          - type: 'null'
          title: Shared With Domains
          default: 0
        has_caa_records:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Caa Records
          default: false
        caa_records:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Caa Records
          default: []
        caa_authorized_cas:
          anyOf:
          - items:
              anyOf:
              - type: string
              - additionalProperties: true
                type: object
            type: array
          - type: 'null'
          title: Caa Authorized Cas
          default: []
        caa_compliant:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Caa Compliant
        caa_validation_data:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Caa Validation Data
        revocation_checked:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Revocation Checked
          default: false
        is_revoked:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Revoked
        processing_time_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Processing Time Ms
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
      type: object
      required:
      - scan_id
      title: TLSCertificateResponse
      description: TLS/SSL certificate analysis response
  securitySchemes:
    OptionalHTTPBearer:
      type: http
      scheme: bearer
    HTTPBearer:
      type: http
      scheme: bearer