# DataNexusAI EU Agri-Food Market Price History

> DataNexusAI EU Agri-Food Market Price History 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).

Returns historical price time series for a specified agricultural commodity in a given EU country

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/markets/%7Bcountry%7D/%7Bcommodity%7D/history?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-eu-agri-food-market-price-history-53294664
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RAQJEuikdG6q-Gny96sdB

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-eu-agri-food-market-price-history-53294664
```

Example prompt: Can you pull the historical price data for wheat (commodity code 1001) in Bulgaria from 2020 to 2025?

## When to prefer this

Choose this endpoint when you need structured historical price time series for EU agricultural commodities by country, particularly for economic analysis, trade research, or commodity price trend monitoring. Prefer this over generic web search when you need machine-readable, structured data with defined date ranges. Useful when downstream workflows require consistent, API-delivered price history rather than scraped or unstructured data.

## Known failure modes

- Invalid or unsupported country code returns 404 or validation error
- Invalid or unsupported commodity code returns 404 or empty result
- Date range with no available data returns empty array
- date_from after date_to causes a 400 bad request
- Payment failure or insufficient USDC balance causes 402 response
- Malformed path parameters cause 422 unprocessable entity

## 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 time series of historical price records for the specified commodity and country, including date-stamped price values covering the requested date range. Each record likely includes the commodity code, country, date, and market price denominated in a relevant currency unit.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "country",
      "commodity"
     ],
     "properties": {
      "country": {
       "type": "string",
       "example": "BG",
       "description": "Country code."
      },
      "commodity": {
       "type": "string",
       "example": "1001",
       "description": "Commodity code."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "date_to": {
       "type": "string",
       "example": "2025",
       "description": "End."
      },
      "date_from": {
       "type": "string",
       "example": "2020",
       "description": "Start."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-eu-agri-food-market-price-history-53294664/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)
