{
  "openapi": "3.0.1",
  "info": {
    "title": "ExploitDB Scraper",
    "description": "Scrape OffSec's Exploit Database - exploits, papers, shellcodes, and Google Hacking Database dorks with full metadata: EDB-ID, CVEs, platform, type, author, verification status, and source code.",
    "version": "1.0",
    "x-build-id": "BLxGFPTY5ddlqWfey"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~exploitdb-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-exploitdb-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlerbros~exploitdb-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-exploitdb-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlerbros~exploitdb-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-exploitdb-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "browseByPlatform",
              "byIds",
              "ghdbSearch"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Title keyword — matches against the exploit/paper/shellcode title (mode=search).",
            "default": "wordpress"
          },
          "collection": {
            "title": "Collection",
            "enum": [
              "exploits",
              "papers",
              "shellcodes"
            ],
            "type": "string",
            "description": "Which Exploit-DB collection to search or browse (modes=search, browseByPlatform).",
            "default": "exploits"
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "aix",
              "alpha",
              "android",
              "arm",
              "ashx",
              "asp",
              "aspx",
              "atheos",
              "beos",
              "bsd",
              "bsdi_x86",
              "bsd_ppc",
              "bsd_x86",
              "cfm",
              "cgi",
              "ezine",
              "freebsd",
              "freebsd_x86",
              "freebsd_x86-64",
              "generator",
              "go",
              "hardware",
              "hp-ux",
              "immunix",
              "ios",
              "irix",
              "java",
              "json",
              "jsp",
              "linux",
              "linux_crisv32",
              "linux_mips",
              "linux_ppc",
              "linux_sparc",
              "linux_x86",
              "linux_x86-64",
              "lua",
              "macos",
              "magazine",
              "minix",
              "multiple",
              "netbsd_x86",
              "netware",
              "nodejs",
              "novell",
              "openbsd",
              "openbsd_x86",
              "osx",
              "osx_ppc",
              "palm_os",
              "perl",
              "php",
              "plan9",
              "python",
              "python2",
              "python3",
              "qnx",
              "ruby",
              "sco",
              "sco_x86",
              "solaris",
              "solaris_mips",
              "solaris_sparc",
              "solaris_x86",
              "superh_sh4",
              "system_z",
              "tru64",
              "typescript",
              "ultrix",
              "unix",
              "unixware",
              "vxworks",
              "watchos",
              "windows",
              "windows_x86",
              "windows_x86-64",
              "xml"
            ],
            "type": "string",
            "description": "Platform to filter/browse by (mode=browseByPlatform, or filter in mode=search)."
          },
          "type": {
            "title": "Exploit type",
            "enum": [
              "dos",
              "local",
              "remote",
              "shellcode",
              "papers",
              "webapps",
              "hardware"
            ],
            "type": "string",
            "description": "Exploit type filter (mode=search)."
          },
          "port": {
            "title": "Port",
            "enum": [
              "14",
              "21",
              "22",
              "23",
              "25",
              "42",
              "49",
              "53",
              "66",
              "69",
              "70",
              "79",
              "80",
              "81",
              "102",
              "105",
              "110",
              "111",
              "113",
              "119",
              "123",
              "135",
              "139",
              "143",
              "161",
              "162",
              "164",
              "383",
              "389",
              "402",
              "406",
              "411",
              "443",
              "444",
              "445",
              "446",
              "502",
              "504",
              "513",
              "514",
              "515",
              "532",
              "548",
              "554",
              "555",
              "617",
              "623",
              "631",
              "655",
              "689",
              "783",
              "787",
              "808",
              "873",
              "888",
              "901",
              "998",
              "1000",
              "1040",
              "1089",
              "1099",
              "1100",
              "1114",
              "1120",
              "1194",
              "1235",
              "1471",
              "1521",
              "1533",
              "1581",
              "1589",
              "1604",
              "1617",
              "1723",
              "1743",
              "1761",
              "1812",
              "1858",
              "1861",
              "1900",
              "1947",
              "2000",
              "2022",
              "2049",
              "2100",
              "2103",
              "2121",
              "2125",
              "2181",
              "2242",
              "2315",
              "2375",
              "2380",
              "2381",
              "2401",
              "2480",
              "2525",
              "2640",
              "2810",
              "2812",
              "2947",
              "2954",
              "2990",
              "3000",
              "3030",
              "3050",
              "3052",
              "3128",
              "3129",
              "3181",
              "3200",
              "3217",
              "3306",
              "3333",
              "3378",
              "3389",
              "3460",
              "3465",
              "3500",
              "3535",
              "3632",
              "3690",
              "3790",
              "3814",
              "3817",
              "4000",
              "4002",
              "4070",
              "4081",
              "4105",
              "4111",
              "4322",
              "4343",
              "4434",
              "4444",
              "4501",
              "4555",
              "4592",
              "4661",
              "4750",
              "4848",
              "5000",
              "5060",
              "5061",
              "5080",
              "5081",
              "5093",
              "5151",
              "5180",
              "5247",
              "5250",
              "5272",
              "5308",
              "5432",
              "5466",
              "5554",
              "5555",
              "5600",
              "5655",
              "5666",
              "5800",
              "5803",
              "5814",
              "5858",
              "5900",
              "5984",
              "6066",
              "6070",
              "6080",
              "6082",
              "6101",
              "6112",
              "6129",
              "6379",
              "6502",
              "6503",
              "6660",
              "6667",
              "7001",
              "7002",
              "7070",
              "7071",
              "7080",
              "7100",
              "7144",
              "7210",
              "7272",
              "7290",
              "7426",
              "7443",
              "7510",
              "7547",
              "7649",
              "7770",
              "7777",
              "7778",
              "7787",
              "7879",
              "7902",
              "8000",
              "8001",
              "8002",
              "8004",
              "8008",
              "8020",
              "8022",
              "8023",
              "8028",
              "8030",
              "8080",
              "8081",
              "8082",
              "8088",
              "8090",
              "8181",
              "8300",
              "8400",
              "8443",
              "8445",
              "8473",
              "8500",
              "8585",
              "8619",
              "8800",
              "8812",
              "8839",
              "8880",
              "8888",
              "9000",
              "9001",
              "9002",
              "9080",
              "9090",
              "9091",
              "9100",
              "9124",
              "9200",
              "9251",
              "9256",
              "9443",
              "9447",
              "9784",
              "9788",
              "9855",
              "9876",
              "9900",
              "9987",
              "9993",
              "9999",
              "10000",
              "10001",
              "10080",
              "10202",
              "10203",
              "10443",
              "10616",
              "11000",
              "11211",
              "11460",
              "12203",
              "12221",
              "12345",
              "12397",
              "12401",
              "13327",
              "13701",
              "13722",
              "13838",
              "16992",
              "18821",
              "18881",
              "19000",
              "19810",
              "19813",
              "20000",
              "20002",
              "20010",
              "20031",
              "20111",
              "20171",
              "22003",
              "23423",
              "25672",
              "26000",
              "27015",
              "27700",
              "28015",
              "30000",
              "30303",
              "31337",
              "32400",
              "32674",
              "32764",
              "34205",
              "37215",
              "37777",
              "37848",
              "38292",
              "40007",
              "41523",
              "44334",
              "46824",
              "48080",
              "49152",
              "50000",
              "50496",
              "52311",
              "52789",
              "52869",
              "52986",
              "53413",
              "54345",
              "54890",
              "55554",
              "55555",
              "56380",
              "57772",
              "58080",
              "62514"
            ],
            "type": "string",
            "description": "Filter by affected port number (mode=search)."
          },
          "tag": {
            "title": "Tag",
            "enum": [
              "16",
              "31",
              "37",
              "18",
              "14",
              "15",
              "38",
              "12",
              "8",
              "13",
              "41",
              "9",
              "34",
              "24",
              "22",
              "28",
              "3",
              "27",
              "36",
              "20",
              "39",
              "26",
              "21",
              "25",
              "7",
              "40",
              "35",
              "19",
              "1",
              "4",
              "23"
            ],
            "type": "string",
            "description": "Filter by vulnerability tag, e.g. SQL Injection or Buffer Overflow (mode=search)."
          },
          "cveSearch": {
            "title": "CVE filter",
            "type": "string",
            "description": "Filter by CVE identifier, e.g. `2021-44228` (mode=search)."
          },
          "authorName": {
            "title": "Author filter",
            "type": "string",
            "description": "Filter by exploit author name, e.g. `rgod` (mode=search)."
          },
          "bodyText": {
            "title": "Body text filter",
            "type": "string",
            "description": "Keyword that must appear in the exploit body/code content (mode=search)."
          },
          "paperLanguage": {
            "title": "Paper language",
            "enum": [
              "english",
              "french",
              "arabic",
              "spanish",
              "persian",
              "italian",
              "turkish",
              "german",
              "portuguese",
              "albanian",
              "romanian",
              "morocco",
              "farsi",
              "moroccan",
              "bahasa melayu",
              "deutsch",
              "hungarian",
              "hebrew",
              "indonesian",
              "vietnamese",
              "georgian",
              "brazilian",
              "iranian",
              "kurdish",
              "macedonian",
              "azerbaijan"
            ],
            "type": "string",
            "description": "Language filter when collection=papers (modes=search, browseByPlatform)."
          },
          "verifiedOnly": {
            "title": "Verified only",
            "type": "boolean",
            "description": "Only emit EDB-verified exploits (mode=search).",
            "default": false
          },
          "hasAppOnly": {
            "title": "Has vulnerable app only",
            "type": "boolean",
            "description": "Only emit exploits that ship a downloadable vulnerable app (mode=search).",
            "default": false
          },
          "excludeMetasploit": {
            "title": "Exclude Metasploit modules",
            "type": "boolean",
            "description": "Drop Metasploit Framework (MSF) modules from results (mode=search).",
            "default": false
          },
          "containsKeyword": {
            "title": "Contains keyword",
            "type": "string",
            "description": "Client-side filter — title must contain this substring (case-insensitive)."
          },
          "dateRangeFrom": {
            "title": "Published from (YYYY-MM-DD)",
            "type": "string",
            "description": "Only emit records published on or after this date."
          },
          "dateRangeTo": {
            "title": "Published to (YYYY-MM-DD)",
            "type": "string",
            "description": "Only emit records published on or before this date."
          },
          "exploitIds": {
            "title": "Exploit IDs (mode=byIds)",
            "type": "array",
            "description": "EDB-IDs or full URLs. Accepts exploits (`50592`, `.../exploits/50592`), shellcodes (`.../shellcodes/14113`), Google dorks (`.../ghdb/2`) and papers (`.../docs/33429`). Bare numeric IDs try the exploit detail page first, then shellcode, then GHDB.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeCode": {
            "title": "Include exploit code",
            "type": "boolean",
            "description": "Also fetch and attach the raw exploit code body (mode=byIds).",
            "default": false
          },
          "ghdbQuery": {
            "title": "Dork keyword (mode=ghdbSearch)",
            "type": "string",
            "description": "Keyword the Google dork title must contain, e.g. `inurl`, `intitle`, `password` (the GHDB table ignores server-side text search, so this filters client-side)."
          },
          "ghdbCategory": {
            "title": "Dork category",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14"
            ],
            "type": "string",
            "description": "GHDB category filter (mode=ghdbSearch)."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify proxy. Only engaged automatically if Exploit-DB returns 403/429 on the default connection."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}