Shodan Network Alerts API

Create and manage alerts on monitored IP ranges.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

1 of 8 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

POST /shodan/alert Create a network alert on IP ranges · Create Network Alert #
Ask an LLM
“How do I get an alert when Shodan finds a new device in a range I own?”
“Can a network alert expire automatically?”
Tell an agent
Create a network alert named {name} for {filters}.
Set up alert {name} on {filters} that expires in {expires}.
GET /shodan/alert/info List my network alerts · List Network Alerts #
Ask an LLM
“Which network alerts have I created?”
“What IP ranges am I getting alerts on?”
Tell an agent
List my network alerts.
Show every IP range alert on my account.
GET /shodan/alert/{id}/info Get a network alert · Get Network Alert #
Ask an LLM
“What filters does a particular network alert use?”
“When does a network alert expire?”
Tell an agent
Show network alert {id}.
Get the filters and expiry of alert {id}.
POST /shodan/alert/{id} Change a network alert's IP ranges or name · Update Network Alert #
Ask an LLM
“Can I add another IP range to an existing network alert?”
“How do I rename a network alert?”
Tell an agent
Change the IP ranges of network alert {id} to {filters}.
Rename network alert {id} to {name}.
DELETE /shodan/alert/{id} Delete a network alert · Delete Network Alert #
Ask an LLM
“How do I stop getting alerts for an IP range I no longer own?”
“Does deleting a network alert also remove its triggers?”
Tell an agent destructive · confirm first
Delete network alert {id}.
Remove alert {id} and all its triggers.
GET /shodan/alert/triggers List the triggers a network alert can use · List Alert Triggers conformant #
Ask an LLM
“Which triggers can I turn on for a network alert?”
“What kinds of events can a network alert be set to watch for?”
Tell an agent
List the alert triggers available for network alerts.
Show which trigger names I can enable on an alert.
PUT /shodan/alert/{id}/trigger/{trigger} Turn on a trigger on a network alert · Enable Alert Trigger #
Ask an LLM
“How do I start getting notified when a new device appears in an alert range?”
“Can I enable a trigger on a network alert by its name?”
Tell an agent
Enable trigger {trigger} on network alert {id}.
Turn on {trigger} for alert {id}.
DELETE /shodan/alert/{id}/trigger/{trigger} Turn off a trigger on a network alert · Disable Alert Trigger #
Ask an LLM
“How do I stop a network alert from watching for a particular trigger?”
“Can I disable a trigger on an alert without deleting the alert?”
Tell an agent destructive · confirm first
Disable trigger {trigger} on network alert {id}.
Turn off {trigger} for alert {id}.

Documentation

Specifications

Schemas & Data

Other Resources

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/shodan:shodan-network-alerts-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

shodan-network-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shodan REST Network Alerts API
  description: The Shodan REST API exposes search methods, host lookups, on-demand scanning, network alerts, notifiers, the saved-query directory, DNS lookups, utility methods, account/profile information, bulk data, and organization management for the Shodan search engine for Internet- connected devices.
  version: '1.0'
  contact:
    name: Shodan Support
    email: support@shodan.io
    url: https://developer.shodan.io/
  license:
    name: Shodan API Terms of Service
    url: https://www.shodan.io/legal/tos
servers:
- url: https://api.shodan.io
  description: Production
security:
- apiKey: []
tags:
- name: Network Alerts
  description: Create and manage alerts on monitored IP ranges.
paths:
  /shodan/alert:
    post:
      tags:
      - Network Alerts
      summary: Create Network Alert
      operationId: createAlert
      description: Create a network alert on one or more IP ranges.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - filters
              properties:
                name:
                  type: string
                filters:
                  type: object
                  properties:
                    ip:
                      type: array
                      items:
                        type: string
                expires:
                  type: integer
                  description: Optional expiration in seconds.
      responses:
        '200':
          description: Created alert.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alert'
  /shodan/alert/info:
    get:
      tags:
      - Network Alerts
      summary: List Network Alerts
      operationId: listAlerts
      description: Returns the network alerts that have been created on the account.
      responses:
        '200':
          description: List of alerts.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Alert'
  /shodan/alert/{id}/info:
    get:
      tags:
      - Network Alerts
      summary: Get Network Alert
      operationId: getAlert
      description: Returns the information about a specific network alert.
      parameters:
      - $ref: '#/components/parameters/AlertId'
      responses:
        '200':
          description: Alert details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alert'
        '404':
          $ref: '#/components/responses/NotFound'
  /shodan/alert/{id}:
    post:
      tags:
      - Network Alerts
      summary: Update Network Alert
      operationId: updateAlert
      description: Edit the IP ranges or name of a network alert.
      parameters:
      - $ref: '#/components/parameters/AlertId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                filters:
                  type: object
                  properties:
                    ip:
                      type: array
                      items:
                        type: string
      responses:
        '200':
          description: Updated alert.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alert'
    delete:
      tags:
      - Network Alerts
      summary: Delete Network Alert
      operationId: deleteAlert
      description: Remove the network alert and its triggers.
      parameters:
      - $ref: '#/components/parameters/AlertId'
      responses:
        '200':
          description: Alert deletion result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
  /shodan/alert/triggers:
    get:
      tags:
      - Network Alerts
      summary: List Alert Triggers
      operationId: listAlertTriggers
      description: Returns the list of triggers that can be enabled on alerts.
      responses:
        '200':
          description: Trigger metadata.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    description:
                      type: string
                    rule:
                      type: string
  /shodan/alert/{id}/trigger/{trigger}:
    put:
      tags:
      - Network Alerts
      summary: Enable Alert Trigger
      operationId: enableAlertTrigger
      description: Enable a trigger on a network alert.
      parameters:
      - $ref: '#/components/parameters/AlertId'
      - $ref: '#/components/parameters/TriggerName'
      responses:
        '200':
          description: Trigger enable result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
    delete:
      tags:
      - Network Alerts
      summary: Disable Alert Trigger
      operationId: disableAlertTrigger
      description: Disable a trigger on a network alert.
      parameters:
      - $ref: '#/components/parameters/AlertId'
      - $ref: '#/components/parameters/TriggerName'
      responses:
        '200':
          description: Trigger disable result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
components:
  parameters:
    TriggerName:
      name: trigger
      in: path
      required: true
      schema:
        type: string
      description: Trigger name.
    AlertId:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: Alert identifier.
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  schemas:
    Alert:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created:
          type: string
          format: date-time
        expires:
          type: integer
        expiration:
          type: string
          format: date-time
        filters:
          type: object
          properties:
            ip:
              type: array
              items:
                type: string
        triggers:
          type: object
          additionalProperties:
            type: object
            properties:
              enabled:
                type: boolean
        size:
          type: integer
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: Shodan API key.