# DataNexusAI Market Anomalies API

> DataNexusAI Market Anomalies API is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Detects statistical anomalies in EU agri-food commodity prices across countries using Z-score thresholds and percentage change filters

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/markets/anomalies?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-market-anomalies-api-46c8117d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hasgc-aRTElkbsICxRTbO

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 datanexusai-market-anomalies-api-46c8117d
```

Example prompt: Show me the top 10 EU agri-food price anomalies for wheat (commodity 1001) in Bulgaria and Romania, using a Z-score threshold of 2.5 and a minimum 40% price deviation.

## When to prefer this

Use this endpoint when you need statistically-driven anomaly detection on EU agri-food commodity pricing — particularly when you want to filter by specific country codes, commodity identifiers, Z-score sensitivity, or minimum percentage deviations. Prefer this over raw price lookup endpoints when the goal is market surveillance, early-warning detection, or identifying outliers rather than retrieving baseline prices.

## Known failure modes

- Missing or invalid required query parameters may return 400 Bad Request
- Payment not received or USDC micropayment failure returns 402 Payment Required
- Unsupported country codes or commodity codes may return empty results or 422
- Rate limiting or quota exceeded may return 429 Too Many Requests
- No anomalies found for given filter combination returns empty result set

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

A list of detected price anomalies in EU agri-food commodity markets, each record likely including the commodity code, country, statistical deviation metrics (Z-score), percentage price change, and contextual pricing data that flagged the anomaly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "z": {
       "type": "number",
       "description": "Z-score threshold."
      },
      "limit": {
       "type": "integer"
      },
      "countries": {
       "type": "string",
       "example": "BG",
       "description": "Comma-separated countries."
      },
      "commodities": {
       "type": "string",
       "example": "1001",
       "description": "Comma-separated commodities."
      },
      "min_percent": {
       "type": "number",
       "description": "Default 40."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-market-anomalies-api-46c8117d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
