# DataNexusAI Changes Endpoint

> DataNexusAI Changes Endpoint 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-02).

Retrieves time-series changes in EU agri-food trade and market metrics (imports, exports, trade balance, prices) filtered by country, commodity, date range, and dataset

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/changes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-changes-endpoint-41a2a2b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QvfML1Ccp5bH-2Mc5RCuX

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-changes-endpoint-41a2a2b6
```

Example prompt: Pull the EU agri-food import changes for Bulgaria (country code BG) on commodity 1001 from 2020 to 2025, limit to 50 results.

## When to prefer this

Choose this endpoint when you need to retrieve changes in EU agri-food trade metrics — imports, exports, trade balance, or prices — filtered by country, commodity, and date range. It is best suited for time-series analysis of agricultural market data with pagination support, and accepts micropayments via x402 USDC.

## Known failure modes

- Missing required 'input' object returns 400 validation error
- Invalid metric value (not one of price/imports/exports/trade_balance) returns error
- Unsupported country code returns empty result set or 404
- Date range with no available data returns empty array
- Payment failure or insufficient USDC balance returns 402 Payment Required
- Offset beyond available records 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

Returns a paginated list of change records for the requested trade or price metric, including values by time period, country, and commodity, filtered according to the query parameters provided.

## 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": {
      "limit": {
       "type": "integer"
      },
      "metric": {
       "type": "string",
       "example": "imports",
       "description": "price|imports|exports|trade_balance."
      },
      "offset": {
       "type": "integer"
      },
      "country": {
       "type": "string",
       "example": "BG",
       "description": "Reporter country."
      },
      "dataset": {
       "type": "string",
       "description": "If set, use agri-food price LAG path."
      },
      "date_to": {
       "type": "string",
       "example": "2025",
       "description": "End period."
      },
      "commodity": {
       "type": "string",
       "example": "1001",
       "description": "Product code or name."
      },
      "date_from": {
       "type": "string",
       "example": "2020",
       "description": "Start period."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-changes-endpoint-41a2a2b6/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)
