ExploitBin / Programmatic access

Search. Read. Download.

The same exploit database, available as JSON and original source files. No account or API key.

OpenAPI 3.1 specification · Agent discovery · JSON Feed

Search exploits by name or CVE

GET/api/v1/exploits

curl -G 'https://exploitbin.com/api/v1/exploits'   --data-urlencode 'q=Apache'   --data-urlencode 'source=exploit-db'   --data-urlencode 'limit=10'
q
Words from an exploit name, CVE, product, author, or description. All words must match. Search is case insensitive.
cve
Exact CVE filter, such as CVE-2021-41773
source
exploit-db or metasploit
platform, type
Exact values from records in the database, such as linux, remote, or local
sort
relevance, newest, oldest, or name. Search defaults to relevance; browsing defaults to newest.
limit
1 to 100 results. Default 30.
cursor
Use nextCursor from the previous response with the same filters and sort order. A changed filter requires a fresh search.

Responses contain data, total, limit, and nextCursor. Each record includes its CVEs, description, author, original source URL, pinned revision, and download URL.

Read a record or its code

GET/api/v1/exploits/{id}

GET/api/v1/exploits/{id}/code

Each metadata response includes a vulnerabilities array with the CVE title, description, CVSS version, base score, severity, vector string, and source attribution. Detail and code requests refresh stale CVE data; search responses use cached context. The code endpoint also returns source text, byte count, SHA-256, and file retrieval time. Text is decoded as UTF-8 for display. Use the download endpoint to preserve the original bytes.

Download an exploit

GET/api/v1/exploits/{id}/download

curl -fLOJ 'https://exploitbin.com/api/v1/exploits/EDB-50383/download'

Downloads use a safe original filename and include X-Content-SHA256, ETag, and X-ExploitBin-Source headers. The response links to the source and its license. Conditional requests with a matching ETag return 304.

Download by exact name

GET/api/v1/download?name={name-or-id}

curl -fGJO 'https://exploitbin.com/api/v1/download'   --data-urlencode 'name=EDB-50383'

The name must match a record exactly, ignoring case. If more than one file has that name, the API returns a validation error. Search first and use the returned ID to select a specific file.

MCP for agents

Connect a Streamable HTTP client to https://exploitbin.com/mcp. The stateless endpoint accepts JSON-RPC POST requests.

{
  "mcpServers": {
    "exploitbin": {
      "url": "https://exploitbin.com/mcp"
    }
  }
}
search_exploits
The same filters, ordering, and cursors as the search API
get_exploit
Record metadata by ID
download_exploit
Source text, hash, original source attribution, and byte-preserving download URL by ID
get_stats
Database totals and source sync status

Status, feeds, and errors

Database totals and sync status are public. Follow new records through RSS, Atom, or JSON Feed.

Invalid inputs return 400; missing records return 404; upstream file failures return 503 with a retry interval. Requests are bounded to 100 records, 2 MiB per source file, and 64 KiB per MCP request. Up to eight uncached source downloads run at once per web process. Cached files remain available when an upstream source is offline.

Downloads contain public research code that may be unsafe to run. ExploitBin serves files as data and does not execute them.