Phosphorus Alerts API

The Alerts API from Phosphorus — 1 operation(s) for alerts.

Operations 1

GET /api/v2/alerts Get all alerts within a specified time range. Defaults to any active alerts in the last 24 hours. #

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/phosphorus-alerts-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 email required.

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

OpenAPI Specification

phosphorus-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Swagger documentation for the Phosphorus API
  version: 2.0.0
  title: Phosphorus Alerts API
servers:
- url: /
  description: Server
tags:
- name: Alerts
paths:
  /api/v2/alerts:
    get:
      tags:
      - Alerts
      summary: Get all alerts within a specified time range. Defaults to any active alerts in the last 24 hours.
      description: ''
      operationId: getAlertsv2
      deprecated: false
      parameters:
      - schema:
          type: string
          format: date-time
        name: startTime
        in: query
        required: false
      - schema:
          type: string
          format: date-time
        name: endTime
        in: query
        required: false
      - schema:
          type: string
        name: filter
        in: query
        required: false
      - schema:
          type: string
        name: includeLostDevices
        in: query
        required: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getAlertsResponse'
        '400':
          description: Invalid input
      security:
      - ApiKeyAuth: []
components:
  schemas:
    getAlertsResponse:
      type: array
      items:
        type: object
        properties:
          id:
            type: string
          site_id:
            type: string
          site_name:
            type: string
          addr:
            type: string
          manufacturer:
            type: string
          model:
            type: string
          lost:
            type: boolean
          device_type:
            type: string
          alert_name:
            type: string
          alert_created_at:
            type: string
            format: date-time
          alert_last_seen:
            type: string
            format: date-time
          alert_resolved_at:
            type: string
            format: date-time
          alert_severity:
            type: string
          alert_subtype:
            type: string
          alert_data:
            type: object
            properties: {}
            additionalProperties: false
        required:
        - id
        - site_id
        - site_name
        - addr
        - manufacturer
        - model
        - lost
        - device_type
        - alert_name
        - alert_created_at
        - alert_last_seen
        - alert_severity
        - alert_subtype
        additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY