SecurityScorecard Search API

Search endpoint

Operations 2

POST /asi/facets Attack Surface Intelligence API Facets #
POST /asi/search Attack Surface Intelligence API Search #

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-all-companies-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-company-by-domain-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-update-company-fields-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-note-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-update-company-fields-by-domain-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-all-companies-bulk-update-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-asi-search-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-get-asi-asset-ip-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-asi-search-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-get-asi-threat-actors-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-get-asi-asset-port-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-get-cve-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-custom-scorecard-schema-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-get-action-plan-by-id-schema-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-action-plan-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-create-custom-scorecard-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-company-summary-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-delete-custom-scorecard-filters-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-findings-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-action-plans-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-likelihood-assessment-v2-get-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-add-vendor-domains-result-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-breaches-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/security-scorecard/refs/heads/main/json-schema/security-scorecard-reports-schema-schema.json

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/security-scorecard:security-scorecard-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

security-scorecard-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ASI internal service Search API
  description: Attack surface intelligence service
  version: 0.0.1
servers:
- url: https://api.securityscorecard.io
security:
- Token: []
tags:
- name: Search
  description: Search endpoint
paths:
  /asi/facets:
    post:
      tags:
      - Search
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/asiFacetsRequest'
        required: true
      responses:
        '200':
          description: Facets elements
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/asiFacetsResponse'
      parameters: []
      summary: Attack Surface Intelligence API Facets
      operationId: postAsiFacets
      x-operation-id-source: derived
  /asi/search:
    post:
      tags:
      - Search
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/asiSearchRequest'
        required: true
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/asiSearchResponse'
      parameters: []
      summary: Attack Surface Intelligence API Search
      operationId: postAsiSearch
      x-operation-id-source: derived
components:
  schemas:
    asiSearchResponse:
      type: object
      additionalProperties: false
      properties:
        facets:
          type: object
          properties:
            countries:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: string
            threatActors:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: string
            cves:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: string
            ports:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: string
            products:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: string
            orgs:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: string
        hits:
          type: object
          properties:
            detectedLibraries:
              type: array
              description: Crawling detected libraries Name
              items:
                type: string
            time:
              type: string
              description: Scan time
            cloud:
              type: string
              description: Cloud service
            cloudRegion:
              type: string
              description: Cloud region
            hasMalrep:
              type: boolean
              description: has bad reputation
            maliciousReputation:
              type: array
              description: Malicious reputation
              items:
                type: string
            hasCVE:
              type: boolean
              description: has a CVE
            cves:
              type: array
              description: List of CVEs associated
              items:
                type: string
            maxCVSS:
              type: number
              description: Max CVSS in the CVEs
            cvss:
              type: array
              description: List of CVSS
              items:
                type: string
            deviceType:
              type: array
              description: Device Type
              items:
                type: string
            hasRansomware:
              type: boolean
              description: has ransomware
            ransomwareVictims:
              type: array
              description: Ransomware
              items:
                type: string
            ransomwareGroups:
              type: array
              description: Ransomware groups
              items:
                type: string
            hasSSLCert:
              type: boolean
              description: has a SSL certificate
            ports:
              type: array
              description: Open ports
              items:
                type: string
            services:
              type: array
              description: Services running
              items:
                type: string
            minGrade:
              type: string
              description: Minimum Scorecard Grade
            hostnames:
              type: array
              description: Hostnames associated with this IP
              items:
                type: string
            hasScorecard:
              type: boolean
              description: has a Scorecard associated
            products:
              type: array
              description: Products running on this host
              items:
                type: string
            country:
              type: string
              description: Country
            organizations:
              type: array
              description: Organizations associated to this IP
              items:
                type: string
            hasCVEExploited:
              type: boolean
              description: has a CVE exploited
            ips:
              type: array
              description: IPs associated to this host
              items:
                type: string
            sslValid:
              type: boolean
              description: SSL Certificate Chain is Valid
            hasThreatActor:
              type: boolean
              description: has a Threat Actor Campaign associated
            threatActors:
              type: array
              description: IPs associated to this host
              items:
                type: string
            hasInfection:
              type: boolean
              description: has a infection
            infections:
              type: array
              description: Active infections
              items:
                type: string
            countryCode:
              type: string
              description: Country Code
            industries:
              type: array
              description: Industries associated
              items:
                type: string
            cpe:
              type: string
              description: cpe
            dnsRecords:
              type: array
              description: Crawling DNS Records Types
              items:
                type: string
            grade:
              type: string
              description: Current Scorecard Grade
            mainAttribution:
              type: array
              description: Primary Attribution details
              items:
                type: string
            detectedLibraryVersion:
              type: string
              description: Crawling detected library version
            domains:
              type: array
              description: Attributed domains
              items:
                type: string
            osTypes:
              type: array
              description: Types of Operating Systems
              items:
                type: string
            id:
              type: string
              description: IP
        found:
          type: number
          description: Amount of documents found
        isError:
          type: boolean
          description: True if error, false otherwise
        errorType:
          type: string
          description: Type of error
        errorMessage:
          type: string
          description: Error message
        errorCode:
          type: number
          description: HTTP status code of error if error is True
        cursor:
          type: string
          description: Cursor identifier to paginate over more than 10K results
    asiFacetsRequest:
      type: object
      properties:
        names:
          type: array
          description: name of the facets to get values
          items:
            type: string
        index:
          type: string
          description: search index to query
          default: ipv4
        size:
          type: number
          description: number of elements per facet to return
      additionalProperties: false
    asiSearchRequest:
      type: object
      properties:
        query:
          type: string
          description: search query
        sort:
          type: string
          description: 'values for ipv4 are:'
          enum:
          - scan_date
          - max_cvss_score
          - min_scorecard_grade
          - _score
          - avd_grade
          - city
          - cloud_provider
          - cloud_region
          - country_name
          - has_cve
          - has_cve_been_exploited
          - has_infection
          - has_malhash
          - has_malrep
          - has_ransomware
          - has_scorecard
          - has_screenshot
          - has_ssl_cert
          - has_threatactor
          - hostname
          - max_cvss_score
          - min_scorecard_grade
          - postal
          - scan_time
          - ssl_is_certificate_chain_valid
          - state
          - _score
          - has_ransomware
        sortDir:
          type: string
          description: asc or desc
          enum:
          - asc
          - desc
          x-enumDescriptions:
            asc: Ascending
            desc: Descending
        page:
          type: number
          default: 0
          example: 0
          description: Search result page number
        index:
          type: string
          default: ipv4
          example: ipv4
          description: Search index to query
        parser:
          type: string
          default: structured
          example: ipv4
          description: 'Search query parser. Options are: simple, structured, lucence, dismax'
          enum:
          - simple
          - structured
          - lucence
          - dismax
        size:
          type: number
          default: 10
          example: 10
          description: Size of the search resultset page
        cursor:
          type: string
          description: Cursor identifier (or "initial" for first request) needed to paginate over more than 10K results
      additionalProperties: false
    asiFacetsResponse:
      type: object
      additionalProperties: false
      properties:
        facets:
          type: object
          properties: {}
          additionalProperties: true
  securitySchemes:
    Token:
      type: apiKey
      in: header
      name: Authorization
      description: "SecurityScorecard API endpoints require an authentication token to be passed\nin an authorization header in order to return data. If you do not already\nhave a token, you can create one by going to the API Access area in your\n[Settings page](https://platform.securityscorecard.io/#/settings/api) and then\nclicking Generate New Token. Please note this tokens have no expiration\nso they can be used until manually revoked. If you have a token and generate\na new one, the previous token will be revoked and can no longer be used.\n\nAdministrators can also revoke API tokens for any user in their account.\n\nOnce you have your token you can pass it in using the `Authorization` http header like this:\n\n```\ncurl -X GET \\\n  https://api.securityscorecard.io/portfolios \\\n  -H 'authorization: Token <your token>'\n```\n"
x-provenance:
  method: searched
  source: https://securityscorecard.readme.io/reference
  harvested: '2026-10-14'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://securityscorecard.readme.io/reference/get_asi-details-active-infections-family.md
  - https://securityscorecard.readme.io/reference/get_asi-details-asset-asset-port-port.md
  - https://securityscorecard.readme.io/reference/get_asi-details-asset-ip.md
  - https://securityscorecard.readme.io/reference/get_asi-details-cve-cve.md
  - https://securityscorecard.readme.io/reference/get_asi-details-cve-domain-domain.md
  - https://securityscorecard.readme.io/reference/get_asi-details-ransomware-ransomware.md
  - https://securityscorecard.readme.io/reference/get_asi-details-threat-actor-threatactor.md
  - https://securityscorecard.readme.io/reference/post_asi-facets.md
  - https://securityscorecard.readme.io/reference/post_asi-search.md
  merge:
    pages: 9
    deduped: 8
    conflicts_kept_first: 0