2s

2s Security API

The security API from 2s — 16 operation(s) for security.

Business capability
Cybersecurity Management BC-620

Operations 16

GET /api/security/attack Authoritative MITRE ATT&CK (Enterprise) technique lookup #
GET /api/security/capec Authoritative MITRE CAPEC (Common Attack Pattern #
GET /api/security/cve Look up a CVE by id (e.g #
GET /api/security/cve-changes CVE change feed - the CVE records MODIFIED within a time #
GET /api/security/cwe Authoritative MITRE CWE (Common Weakness Enumeration) lookup #
GET /api/security/exploit-availability Does public exploit code exist for a CVE, and where? #
GET /api/security/http-headers Fetch a URL and grade its HTTP security headers #
GET /api/security/ics-advisories CISA Industrial Control Systems (ICS) advisories #
GET /api/security/ioc-reputation Threat-intelligence reputation for an indicator of #
GET /api/security/ip-abuse AbuseIPDB abuse report for a single IP - the crowd-sourced #
GET /api/security/ip-blacklist AbuseIPDB bulk blacklist - the most-reported abusive IPs #
GET /api/security/ip-block AbuseIPDB subnet (CIDR) check - which IPs inside a network #
GET /api/security/ip-reputation Multi-source IP reputation with one combined authority #
GET /api/security/package Security and provenance for an open-source package #
POST /api/security/password-exposure Check whether a password has appeared in known data #

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/2s-io:2s-io-security-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

2s-io-security-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 2s — the (most) everything Security API
  version: '1'
  summary: The (most) everything API.
  description: 'The (most) everything API for AI agents: 575+ pay-per-call endpoints on one origin.'
  contact:
    name: 2s
    url: https://2s.io
    email: alley@2s.io
  x-logo:
    url: https://2s.io/icon-512.png
    altText: 2s
  x-guidance: 'Pay-per-call REST API for AI agents — hundreds of endpoints returning ground-truth data (US public records, company & legal identifiers, finance/SEC, crypto/web3, security & CVEs, medical codes, weather & geocoding, agriculture, energy, maritime, music, and more). Every endpoint is paid per call in USDC via x402 (Base or Solana) — no API key, no signup. Call any endpoint with no auth to get a 402 PaymentRequirements envelope, sign it (EIP-3009 on Base, partial SPL transfer on Solana), and retry with the PAYMENT-SIGNATURE header. Add ?trial=1 for one free real call per endpoint per hour to test before paying. To discover the right endpoint: GET https://2s.io/api/directory for the full catalog, or GET https://2s.io/api/search/endpoints?q=<natural-language task> for a ranked match. Per-call price is on each operation as x-payment-info (from $0.001). Batch up to 50 calls behind one payment via POST https://2s.io/api/batch/run.'
servers:
- url: https://2s.io
tags:


# --- truncated at 32 KB (104 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/2s-io/refs/heads/main/openapi/2s-io-security-api-openapi.yml