---
updatedAt: 2025-06-04T01:28:04.000Z
agentTools:
  projectIndex: https://securityscorecard.readme.io/v1.7.28/llms.txt
---

# /asi/details/asset/{asset}/port/{port}

# OpenAPI definition

````json
{
  "openapi": "3.0.0",
  "info": {
    "title": "ASI internal service",
    "description": "Attack surface intelligence service",
    "version": "0.0.1"
  },
  "paths": {
    "/asi/details/asset/{asset}/port/{port}": {
      "get": {
        "tags": [
          "asset"
        ],
        "parameters": [
          {
            "required": true,
            "in": "path",
            "name": "asset",
            "schema": {
              "type": "string"
            }
          },
          {
            "required": true,
            "in": "path",
            "name": "port",
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Port Details",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "description": "UI title"
                    },
                    "port": {
                      "type": "number",
                      "description": "Port number"
                    },
                    "service": {
                      "type": "string",
                      "description": "Service found on this port"
                    },
                    "product": {
                      "type": "string",
                      "description": "Product detected on this port"
                    },
                    "version": {
                      "type": "string",
                      "description": "Product version detected"
                    },
                    "scripts": {
                      "type": "string",
                      "description": "Output of the scripts scanning this port"
                    },
                    "firstSeen": {
                      "type": "string",
                      "description": "First time the port was detected"
                    },
                    "lastSeen": {
                      "type": "string",
                      "description": "Last time the port was seen opened"
                    },
                    "device": {
                      "type": "string",
                      "description": "Device type detected"
                    },
                    "os": {
                      "type": "string",
                      "description": "Operating system detected"
                    },
                    "cpe": {
                      "type": "array",
                      "description": "CPE strings associated with this port",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "description": "Port Details"
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "asset",
      "description": "asset behind the IP address"
    }
  ],
  "security": [
    {
      "Token": []
    }
  ],
  "servers": [
    {
      "url": "//api.securityscorecard.io"
    }
  ],
  "components": {
    "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-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
````