# BlackSwan Precursor Detection - Flare Endpoint

> BlackSwan Precursor Detection - Flare Endpoint is a paid API for AI agents from x402.blackswan.wtf, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Scans monitored markets, derivatives, and price data to detect early risk signals and anomalies before black swan events materialize

## Facts

- Endpoint: POST https://x402.blackswan.wtf/smart-agents/flare
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-blackswan-wtf-aa0bdf58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WO6JNw7n-MyHBSZSD8XJ_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-blackswan-wtf-aa0bdf58 -d '<json body>'
```

Example prompt: Check BlackSwan's precursor detection right now and tell me if there are any early risk signals or anomalies showing up across markets and derivatives — I want to know the severity and how many datapoints were scanned.

## When to prefer this

Choose this endpoint when you need a rapid, pre-materialization risk scan across financial markets and derivatives — specifically for detecting precursor signals of black swan or tail-risk events before they fully develop. Prefer this over general market data APIs when you want an AI-optimized risk intelligence summary rather than raw price feeds.

## Known failure modes

- Payment failure: x402 micropayment of $0.01 USDC not processed, returns payment required error
- Service unavailable: upstream market data feeds are down or delayed
- Empty or malformed response if downstream data sources are unreachable
- Rate limiting if called too frequently without proper payment headers

## How this service works

Precursor Detection - Catches risk signals before events materialize

## Output

Returns a JSON object with: status ('clear' or risk state), an array of detected signals, a severity level ('none', 'low', 'medium', 'high', etc.), a natural-language assessment summary, the timestamp of the check, and the number of datapoints analyzed (e.g. 5334).

## Example request

```json
{
 "input": {
  "body": {
   "scan_type": "full_market_scan",
   "notify_email": "zero-qa@agentmail.to",
   "anomaly_sensitivity": "medium",
   "include_derivatives": true
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "description": "No input required - send empty object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "severity",
      "checked_at",
      "assessment"
     ],
     "properties": {
      "status": {
       "enum": [
        "clear",
        "alert"
       ],
       "type": "string",
       "description": "Overall risk status"
      },
      "signals": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "detail": {
          "type": "string"
         },
         "source": {
          "enum": [
           "derivatives_data",
           "social_intelligence",
           "prediction_markets",
           "market_data"
          ],
          "type": "string"
         }
        }
       },
       "description": "Detected precursor signals"
      },
      "severity": {
       "enum": [
        "none",
        "low",
        "medium",
        "high",
        "critical"
       ],
       "type": "string",
       "description": "Severity level"
      },
      "assessment": {
       "type": "string",
       "description": "Human-readable assessment summary"
      },
      "checked_at": {
       "type": "string",
       "format": "date-time",
       "description": "Timestamp of analysis"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "clear",
  "signals": [],
  "severity": "none",
  "assessment": "No significant precursor signals detected across monitored data sources",
  "checked_at": "2025-01-11T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-blackswan-wtf-aa0bdf58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.blackswan.wtf](https://www.zero.xyz/host/x402.blackswan.wtf/llms.txt)
