Heroic API

Heroic API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-30); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

GET /breaches Returns metadata about breach sources including breach name, data types leaked, country of origin, and record counts. #
POST /v1/scan POST /v1/scan #
GET /v7/breaches Returns metadata about breach sources including breach name, data types leaked, country of origin, and record counts. #

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/heroic:heroic-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

heroic-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Heroic API
  version: '2026-11-30'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-30: 4 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Heroic has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 3
    pages-with-code: 1
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-30'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://heroic.com/api-documentation
  - https://heroic.com/company/partners
servers:
- url: https://api.heroic.com
paths:
  /breach-search:
    get:
      operationId: get_breach_search
      tags:
      - Breach Search
      summary: APIs for data breach search for accounts.
      x-source: https://heroic.com/api-documentation
      parameters:
      - name: type
        in: query
        required: true
        schema:
          type: string
        description: The data type to search (e.g., email, ipaddress)
      - name: account
        in: query
        required: true
        schema:
          type: string
        description: The identity value (e.g., email address or phone number)
      - name: number_of_records
        in: query
        required: false
        schema:
          type: string
        description: Limit the number of returned results
      - name: paging_token
        in: query
        required: false
        schema:
          type: string
        description: Used for pagination across large result sets
      - name: password
        in: query
        required: false
        schema:
          type: string
        description: Set to a specific value (e.g., tiger17) or yes/no to require any password
      - name: ip_address
        in: query
        required: false
        schema:
          type: string
        description: Set to a specific IP (e.g., 192.168.1.1) or yes/no for any IP address
      - name: username
        in: query
        required: false
        schema:
          type: string
        description: Set to a specific username or yes/no to require any username
      - name: phone_number
        in: query
        required: false
        schema:
          type: string
        description: Set to a specific phone number or yes/no to require one
      - name: social_security_number
        in: query
        required: false
        schema:
          type: string
        description: Set to a specific SSN or yes/no to require any SSN
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBreachSearchResponse'
      x-evidence:
        kind: documentation
  /breaches:
    get:
      operationId: get_breaches
      tags:
      - Breaches
      summary: Returns metadata about breach sources including breach name, data types leaked, country of origin, and record counts.
      x-source: https://heroic.com/api-documentation
      parameters:
      - name: number_of_records
        in: query
        required: false
        schema:
          type: string
        description: Limit the number of results returned
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBreachesResponse'
      x-evidence:
        kind: documentation
  /v1/scan:
    post:
      operationId: post_v1_scan
      tags:
      - Scan
      summary: POST /v1/scan
      x-source: https://heroic.com/company/partners
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ScanRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1ScanResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.heroic.com/v1/scan \n -H \"Authorization: Bearer $HEROIC_KEY\" \n -d '{\"email\":\"jane@acme.com\"\
          }' "
  /v7/breaches:
    get:
      operationId: get_v7_breaches
      tags:
      - Breaches
      summary: Returns metadata about breach sources including breach name, data types leaked, country of origin, and record counts.
      x-source: https://heroic.com/api-documentation
      parameters:
      - name: number_of_records
        in: query
        required: false
        schema:
          type: string
        description: Limit the number of results returned
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV7BreachesResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetBreachSearchResponse:
      type: object
      properties:
        records_found:
          type: integer
          description: Total number of records matching the query
        pagination_token:
          type: string
          description: Token for retrieving the next page of results
        data:
          type: array
          description: Array of breach record objects
    GetBreachesResponse:
      type: object
      properties:
        uuid:
          type: string
          description: Unique identifier for the breach
        source_name:
          type: string
          description: Name/title of the breach source
        site_domain:
          type: string
          description: Domain of the breached site
        date_leaked:
          type: string
          description: Date the data was leaked
        breach_type:
          type: string
          description: Type of breach (e.g., database)
        site_categories:
          type: string
          description: Tags/categories describing the site
        site_country:
          type: string
          description: Country where the breach originated
        site_language:
          type: string
          description: Primary language of the breached site
        password_types:
          type: string
          description: Type of password leaked (e.g., plaintext)
        leaked_data_types:
          type: string
          description: Types of data exposed in the breach
        description:
          type: string
          description: Summary of the breach
        heroic_article_url:
          type: string
          description: Link to HEROIC article (nullable)
        pwned_count:
          type: integer
          description: Number of identities exposed in the breach
    PostV1ScanRequest:
      type: object
      properties:
        email:
          type: string
    PostV1ScanResponse:
      type: object
      properties:
        identity:
          type: string
        exposed:
          type: boolean
        breach_count:
          type: integer
        last_seen:
          type: string
          format: date
        severity:
          type: string
        sources:
          type: array
          items:
            type: string
    GetV7BreachesResponse:
      type: object
      properties:
        uuid:
          type: string
          description: Unique identifier for the breach
        source_name:
          type: string
          description: Name/title of the breach source
        site_domain:
          type: string
          description: Domain of the breached site
        date_leaked:
          type: string
          description: Date the data was leaked
        breach_type:
          type: string
          description: Type of breach (e.g., database)
        site_categories:
          type: string
          description: Tags/categories describing the site
        site_country:
          type: string
          description: Country where the breach originated
        site_language:
          type: string
          description: Primary language of the breached site
        password_types:
          type: string
          description: Type of password leaked (e.g., plaintext)
        leaked_data_types:
          type: string
          description: Types of data exposed in the breach
        description:
          type: string
          description: Summary of the breach
        heroic_article_url:
          type: string
          description: Link to HEROIC article (nullable)
        pwned_count:
          type: integer
          description: Number of identities exposed in the breach
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Breach Search
- name: Breaches
- name: Scan