# DataNexusAI EU Agri-Food Prices API

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

Retrieves EU agri-food and agricultural commodity price data by dataset, country, market, commodity, and date range

## Facts

- Endpoint: GET https://api.datanexusai.org/api/v1/prices?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-eu-agri-food-prices-api-04745fa4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KE9tahwsF_i3FqmCtZTA8

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-prices-api-04745fa4
```

Example prompt: Can you pull EU cereal prices from the cereals_prices dataset for Bulgaria from 2024-01-01 to 2024-06-30, up to 20 results?

## When to prefer this

Choose this endpoint when you need structured EU agri-food or agricultural commodity price data filtered by member state, market, commodity type, and date range. It is specifically useful for trade analytics, food price monitoring, agricultural research, and EU market analysis. Prefer this over generic web search when you need structured, paginated, machine-readable price records from official EU agri-food datasets.

## Known failure modes

- Invalid or unsupported dataset ID returns an error or empty result
- Unsupported country code returns no data
- Date range with no available data returns empty result set
- Missing required 'dataset' or 'country' parameter may return validation error
- Payment failure (x402 USDC micropayment) blocks access to paid endpoint
- Offset beyond available records returns empty paginated result

## 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 matching the specified dataset, country, market, commodity, and date range filters. Each record typically includes price values, commodity identifiers, market names, member state codes, and associated dates.

## 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",
       "example": 20
      },
      "market": {
       "type": "string",
       "description": "Market name."
      },
      "offset": {
       "type": "integer"
      },
      "country": {
       "type": "string",
       "example": "BG",
       "description": "Member state."
      },
      "dataset": {
       "type": "string",
       "example": "cereals_prices",
       "description": "Dataset id."
      },
      "date_to": {
       "type": "string",
       "description": "End date."
      },
      "commodity": {
       "type": "string",
       "description": "Product / pig class."
      },
      "date_from": {
       "type": "string",
       "example": "2024-01-01",
       "description": "Start date."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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