# DataNexusAI EU Agri-Food Commodity Prices

> DataNexusAI EU Agri-Food Commodity Prices 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).

Retrieves historical and current EU agri-food price data for a specific commodity, filterable by member state and date range

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/commodities/%7Bcommodity_id%7D/prices?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-eu-agri-food-commodity-prices-ad074357
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xtMKiXzJFCC4iAgOpl3Kp

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-commodity-prices-ad074357
```

Example prompt: Can you pull the EU agri-food prices for milling rye (commodity ID cereals_prices:Milling rye) in Austria from January 2023 to December 2023, up to 20 results?

## When to prefer this

Choose this endpoint when you need structured historical or current EU agri-food commodity price data by member state, especially for cereals, dairy, meat, or other EU-regulated commodity categories. Prefer this over general web search when you need clean, structured price time-series data for analytics, trading, or regulatory research.

## Known failure modes

- Invalid commodity_id returns a 404 or empty result set
- Unrecognized country code may return no results or a validation error
- Date range with no data returns an empty list
- Missing required commodity_id path parameter returns 400 or 422
- Payment failure via x402 results in 402 Payment Required with payment instructions
- Rate limiting or network timeouts on large result sets

## 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 EU agri-food price records for the specified commodity, each entry including the price, date, and member state. Supports filtering by country code and date range via offset-based pagination.

## 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": [
      "commodity_id"
     ],
     "properties": {
      "commodity_id": {
       "type": "string",
       "example": "cereals_prices:Milling rye",
       "description": "Commodity id e.g. cereals_prices:Milling rye"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "example": 20
      },
      "offset": {
       "type": "integer"
      },
      "country": {
       "type": "string",
       "example": "AT",
       "description": "Member state code or name."
      },
      "date_to": {
       "type": "string",
       "description": "ISO date end."
      },
      "date_from": {
       "type": "string",
       "description": "ISO date start."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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