ExchangeRebel Anomaly Detection API

The Anomaly Detection API from ExchangeRebel — 2 operation(s) for anomaly detection.

GitHub OpenAPI

Operations 2

POST /toll/anomaly/batch Batch anomaly detection for up to 100 series #
POST /toll/anomaly/detect Detect anomalies in one numeric time series #

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/exchangerebel-com:exchangerebel-com-anomaly-detection-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

exchangerebel-com-anomaly-detection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ExchangeRebel — pay-per-call APIs for AI agents (x402 on…
  version: 1.0.0
  contact:
    name: 'ExchangeRebel (operator: Rebel Data)'
    url: https://exchangerebel.com
    email: sound.money.investing@gmail.com
  x-guidance: 'All paid operations use x402 on Solana: call without payment to get a 402 challenge (SOL recipient + USDC token account + fresh memo), pay with the memo attached via the Solana Memo program, then retry with header X-Payment-Tx: <signature> and ?toll_memo=<memo>. Challenges are dual-version: the PAYMENT-REQUIRED header carries the x402 v2 PaymentRequired object and the response body carries the same challenge in x402 v1 form for compatibility. Free operations (security: []) include each service''s /health catalog with full response shapes. Prices in x-payment-info are USD per call unless the summary says otherwise (RPC is per 1,000-request block; Telegram provisioning is per bot-month; transcription is per minute of audio).'
  description: '67 data and utility APIs behind x402 tolls, settled in SOL or USDC on Solana. Call a paid endpoint without payment to receive a 402 x402 challenge (recipient + fresh memo), pay with the memo attached via the Solana Memo program, then retry with the X-Payment-Tx header and toll_memo query parameter. Free catalog/health endpoints are marked without x-payment-info. Full catalogs: GET /toll/discovery and each service''s /health.'
servers:
- url: https://exchangerebel.com
tags:
- name: Anomaly Detection
paths:
  /toll/anomaly/batch:
    post:
      tags:
      - Anomaly Detection
      summary: Batch anomaly detection for up to 100 series
      responses:
        '200':
          description: Success. Response shape is documented in the service catalog (GET /health on the service).
          content:
            application/json:
              example:
                results:
                - results:
                  - index: 0
                    value: 10
                    score: 0.22483025315886906
                    robust_z: -0.22483025315886906
                    is_anomaly: false
                    signals: []
                  - index: 1
                    value: 10.2
                    score: 0.6744907594765912
                    robust_z: 0.6744907594765912
                    is_anomaly: false
                    signals: []
                  - index: 2
                    value: 9.8
                    score: 1.1241512657943293
                    robust_z: -1.1241512657943293
                    is_anomaly: false
                    signals: []
                  - index: 3
                    value: 10.1
                    score: 0.22483025315886107
                    robust_z: 0.22483025315886107
                    is_anomaly: false
                    signals: []
                  - index: 4
                    value: 42
                    score: 143.66653176851528
                    robust_z: 143.66653176851528
                    is_anomaly: true
                    signals:
                    - robust_z
                    - iqr_fence
                    - step_change
                  - index: 5
                    value: 10
                    score: 0.22483025315886906
                    robust_z: -0.22483025315886906
                    is_anomaly: true
                    signals:
                    - step_change
                  - index: 6
                    value: 9.9
                    score: 0.6744907594765992
                    robust_z: -0.6744907594765992
                    is_anomaly: false
                    signals: []
                  - index: 7
                    value: 10.3
                    score: 1.1241512657943293
                    robust_z: 1.1241512657943293
                    is_anomaly: false
                    signals: []
                  series_length: 8
                  flagged_count: 2
                  method:
                    algorithm: median_mad_robust_z + iqr_fence + step_change
                    method_version: anomaly-1
                    statistics_scope: global_whole_series
                    sensitivity: standard
                    z_cutoff: 3.5
                    iqr_multiplier: 1.5
                    step_cutoff: 3.5
                    spread_source: mad
                    mad_sigma_factor: 1.4826
                    thresholds_calibrated: false
                    thresholds_note: UNCALIBRATED DEFAULTS — see honesty section of the design/catalogue.
                - results:
                  - index: 0
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 1
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 2
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 3
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 4
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 5
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 6
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 7
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 8
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  - index: 9
                    value: 7.5
                    score: 0
                    robust_z: 0
                    is_anomaly: false
                    signals: []
                  series_length: 10
                  flagged_count: 0
                  method:
                    algorithm: median_mad_robust_z + iqr_fence + step_change
                    method_version: anomaly-1
                    statistics_scope: global_whole_series
                    sensitivity: strict
                    z_cutoff: 2.5
                    iqr_multiplier: 1
                    step_cutoff: 2.5
                    spread_source: none_constant
                    mad_sigma_factor: 1.4826
                    thresholds_calibrated: false
                    thresholds_note: UNCALIBRATED DEFAULTS — see honesty section of the design/catalogue.
                count: 2
                price: 0.25
                envelope:
                  v: 1
                  service: anomaly
                  as_of: '2026-10-21T21:17:05.171Z'
                  source: Caller-submitted series scored in memory by the anomaly-1 method (median/MAD robust z + IQR fences + step change over first differences); global whole-series statistics; thresholds are UNCALIBRATED DEFAULTS
                  grade: derived
                  max_age_seconds: 30
                  changes:
                    supported: false
        '402':
          description: 'Payment Required (x402). The PAYMENT-REQUIRED response header carries the x402 v2 PaymentRequired object (base64 JSON: scheme, CAIP-2 network, amount, asset, payTo, plus the bazaar discovery extension); the response body carries the same challenge in x402 v1 form for compatibility, naming the SOL recipient and USDC token account on Solana plus a fresh memo. To pay on this service''s rail: pay with the memo attached (Solana Memo program), then retry with header ''X-Payment-Tx: <transaction signature>'' and query parameter ''toll_memo=<memo>''.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                series_list:
                  type: array
                  description: array (required) - 1..100 detect bodies, each {series, timestamps?, sensitivity?}; <= 100,000 points total
                  items:
                    type: string
              required:
              - series_list
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.25'
      security:
      - x402Payment: []
      operationId: postTollAnomalyBatch
      x-operation-id-source: derived
  /toll/anomaly/detect:
    post:
      tags:
      - Anomaly Detection
      summary: Detect anomalies in one numeric time series
      responses:
        '200':
          description: Success. Response shape is documented in the service catalog (GET /health on the service).
          content:
            application/json:
              example:
                results:
                - index: 0
                  value: 10
                  score: 0.22483025315886906
                  robust_z: -0.22483025315886906
                  is_anomaly: false
                  signals: []
                - index: 1
                  value: 10.2
                  score: 0.6744907594765912
                  robust_z: 0.6744907594765912
                  is_anomaly: false
                  signals: []
                - index: 2
                  value: 9.8
                  score: 1.1241512657943293
                  robust_z: -1.1241512657943293
                  is_anomaly: false
                  signals: []
                - index: 3
                  value: 10.1
                  score: 0.22483025315886107
                  robust_z: 0.22483025315886107
                  is_anomaly: false
                  signals: []
                - index: 4
                  value: 42
                  score: 143.66653176851528
                  robust_z: 143.66653176851528
                  is_anomaly: true
                  signals:
                  - robust_z
                  - iqr_fence
                  - step_change
                - index: 5
                  value: 10
                  score: 0.22483025315886906
                  robust_z: -0.22483025315886906
                  is_anomaly: true
                  signals:
                  - step_change
                - index: 6
                  value: 9.9
                  score: 0.6744907594765992
                  robust_z: -0.6744907594765992
                  is_anomaly: false
                  signals: []
                - index: 7
                  value: 10.3
                  score: 1.1241512657943293
                  robust_z: 1.1241512657943293
                  is_anomaly: false
                  signals: []
                series_length: 8
                flagged_count: 2
                method:
                  algorithm: median_mad_robust_z + iqr_fence + step_change
                  method_version: anomaly-1
                  statistics_scope: global_whole_series
                  sensitivity: standard
                  z_cutoff: 3.5
                  iqr_multiplier: 1.5
                  step_cutoff: 3.5
                  spread_source: mad
                  mad_sigma_factor: 1.4826
                  thresholds_calibrated: false
                  thresholds_note: UNCALIBRATED DEFAULTS — see honesty section of the design/catalogue.
                envelope:
                  v: 1
                  service: anomaly
                  as_of: '2026-10-21T21:17:05.168Z'
                  source: Caller-submitted series scored in memory by the anomaly-1 method (median/MAD robust z + IQR fences + step change over first differences); global whole-series statistics; thresholds are UNCALIBRATED DEFAULTS
                  grade: derived
                  max_age_seconds: 30
                  changes:
                    supported: false
        '402':
          description: 'Payment Required (x402). The PAYMENT-REQUIRED response header carries the x402 v2 PaymentRequired object (base64 JSON: scheme, CAIP-2 network, amount, asset, payTo, plus the bazaar discovery extension); the response body carries the same challenge in x402 v1 form for compatibility, naming the SOL recipient and USDC token account on Solana plus a fresh memo. To pay on this service''s rail: pay with the memo attached (Solana Memo program), then retry with header ''X-Payment-Tx: <transaction signature>'' and query parameter ''toll_memo=<memo>''.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                series:
                  type: array
                  description: array (required) - the numeric series to score, in order (8..10,000 finite numbers)
                  items:
                    type: string
                timestamps:
                  type: array
                  description: array - optional opaque labels, exactly series.length elements, echoed verbatim per point; never parsed or used in computation
                  items:
                    type: string
                sensitivity:
                  type: string
                  description: 'string - threshold preset: relaxed flags fewer, standard is the default, strict flags more'
              required:
              - series
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.01'
      security:
      - x402Payment: []
      operationId: postTollAnomalyDetect
      x-operation-id-source: derived
components:
  securitySchemes:
    x402Payment:
      type: apiKey
      in: header
      name: X-Payment-Tx
      description: 'x402 toll payment proof: the Solana transaction signature of a payment carrying the memo from the 402 challenge; send together with ?toll_memo=<memo>. Payment itself is made on-chain in SOL or USDC to the recipient named in the challenge.'