shodanGPT

shodanGPT · GPT アクション

Shodan API

Interaction with Shodan API to retrieve information about a specific host based on its IP address.

  • GET /shodan/host/{ip}Retrieve host information by IP address.
元の API スキーマ
{
  "openapi": "3.0.0",
  "info": {
    "title": "Shodan API",
    "description": "Interaction with Shodan API to retrieve information about a specific host based on its IP address.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.shodan.io",
      "description": "Main Shodan API server"
    }
  ],
  "paths": {
    "/shodan/host/{ip}": {
      "get": {
        "operationId": "getHostInfoByIP",
        "summary": "Retrieve host information by IP address.",
        "parameters": [
          {
            "in": "path",
            "name": "ip",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$"
            },
            "description": "The IP address of the host to retrieve information for."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "string",
                      "description": "Placeholder for the actual data structure returned by Shodan API."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    }
  }
}