Nullcone Ioc API

The Ioc API from Nullcone — 3 operation(s) for ioc.

GitHub OpenAPI

Operations 4

POST /v1/ioc Submit a single IOC #
GET /v1/ioc Look up an IOC by value or hash #
POST /v1/ioc/batch Submit multiple IOCs #
GET /v1/ioc/lookup Check text for known PROMPT injection IOCs #

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/nullcone-ai:nullcone-ai-ioc-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

nullcone-ai-ioc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nullcone Ioc API
  description: 'Distributed threat intelligence gateway. Submit IOCs, query signatures, and report detections from any language or runtime.


    **Nullcone is free and open source, built on SpacetimeDB. If it''s been useful to you, we''d appreciate a signup via our referral: https://spacetimedb.com/?referral=maco144**'
  version: 0.1.0
servers:
- url: /api
tags:
- name: Ioc
paths:
  /v1/ioc:
    post:
      summary: Submit a single IOC
      description: 'Submit an IOC to the shared threat intelligence database.


        The gateway classifies the IOC into a malware family, compresses metadata,

        and deduplicates atomically. All subscribed agents receive the new/updated

        IOC instantly via WebSocket.


        Include `X-Agent-Id` header to track per-agent contribution stats and apply

        per-agent daily quota (default: 5,000 IOCs/day).


        Rate limit: 60 requests/minute per IP.'
      operationId: submit_ioc_v1_ioc_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IOCSubmit'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ioc
    get:
      summary: Look up an IOC by value or hash
      description: Look up a threat signature by exact value or pre-computed value_hash.
      operationId: lookup_ioc_v1_ioc_get
      parameters:
      - name: value
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 2048
          - type: 'null'
          description: Exact IOC value
          title: Value
        description: Exact IOC value
      - name: hash
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 64
            maxLength: 64
          - type: 'null'
          description: SHA256 value_hash
          title: Hash
        description: SHA256 value_hash
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ioc
  /v1/ioc/batch:
    post:
      summary: Submit multiple IOCs
      description: 'Submit a list of IOCs (max 100 per request). Returns results in the same order.


        Per-agent daily quota is decremented by the number of IOCs in the batch.


        Rate limit: 10 requests/minute per IP.'
      operationId: submit_batch_v1_ioc_batch_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchSubmit'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ioc
  /v1/ioc/lookup:
    get:
      summary: Check text for known PROMPT injection IOCs
      description: 'Sub-millisecond prompt injection detection via sliding-window hash lookup.


        Scans the input `text` against the in-memory PROMPT IOC cache using a

        token-level sliding window. Returns match details if any window matches

        a known prompt injection payload.


        **No API key required.** This endpoint is public to enable zero-friction

        adoption by any agent, plugin, or proxy.'
      operationId: ioc_lookup_v1_ioc_lookup_get
      parameters:
      - name: text
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 10000
          description: Text to scan for known prompt injection payloads
          title: Text
        description: Text to scan for known prompt injection payloads
      - name: threat_type
        in: query
        required: false
        schema:
          type: string
          description: 'Threat type to check (currently: prompt)'
          default: prompt
          title: Threat Type
        description: 'Threat type to check (currently: prompt)'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Ioc
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    IOCSubmit:
      properties:
        ioc_type:
          type: string
          maxLength: 50
          title: Ioc Type
        value:
          type: string
          maxLength: 2048
          minLength: 1
          title: Value
        severity:
          type: integer
          maximum: 10.0
          minimum: 0.0
          title: Severity
          default: 5
        confidence:
          type: integer
          maximum: 100.0
          minimum: 0.0
          title: Confidence
          default: 70
        family_hint:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Family Hint
        context:
          type: string
          maxLength: 4096
          title: Context
          default: ''
        tags:
          items:
            type: string
          type: array
          maxItems: 20
          title: Tags
        source:
          type: string
          maxLength: 100
          title: Source
          default: api
      type: object
      required:
      - ioc_type
      - value
      title: IOCSubmit
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BatchSubmit:
      properties:
        iocs:
          items:
            $ref: '#/components/schemas/IOCSubmit'
          type: array
          maxItems: 100
          title: Iocs
      type: object
      required:
      - iocs
      title: BatchSubmit