Agri-food

EU agri-food price datasets (cereals, oilseeds, pigmeat).

OpenAPI
/openapi.json
Payment
x402 · $0.01 USDC · Base, Polygon, Arbitrum One
GET/api/v1/datasetsx402 paid

List agri-food datasets

Latest import metadata per dataset (cereals, oilseeds, pigmeat).

ParamInTypeDescription
limitqueryintegerPage size (optional).
offsetqueryintegerOffset (optional).
GET https://api.datanexusai.org/api/v1/datasets?limit=100

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

Example response shape:

[
  {
    "dataset": "cereals_prices",
    "row_count": 1000
  }
]
GET/api/v1/datasets/{dataset_id}x402 paid

Agri-food dataset detail

Import versions for one dataset id.

ParamInTypeDescription
dataset_id (required)pathstringe.g. cereals_prices, oilseeds_prices, pigmeat_prices.
GET https://api.datanexusai.org/api/v1/datasets/cereals_prices

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/commoditiesx402 paid

List commodities

Commodity catalog across cereals, oilseeds, and pigmeat.

ParamInTypeDescription
datasetquerystringFilter by dataset id.
qquerystringSearch product name / pig class.
limitqueryintegerPage size (default 100).
offsetqueryintegerOffset.
GET https://api.datanexusai.org/api/v1/commodities?dataset=cereals_prices&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/commodities/{commodity_id}/pricesx402 paid

Prices for one commodity

Price rows for a commodity id, newest first.

ParamInTypeDescription
commodity_id (required)pathstringCommodity id e.g. cereals_prices:Milling rye
countryquerystringMember state code or name.
date_fromquerystringISO date start.
date_toquerystringISO date end.
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/commodities/cereals_prices:Milling rye/prices?country=AT&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/commodities/{commodity_id}/historyx402 paid

Price history for one commodity

Time series for a commodity (begin_date ascending).

ParamInTypeDescription
commodity_id (required)pathstringCommodity id.
countryquerystringMember state.
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/commodities/cereals_prices:Milling rye/history?country=AT&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/countriesx402 paid

List member states

EU member states from agrifood_member_state.

ParamInTypeDescription
datasetquerystringOptional: countries present in that dataset.
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/countries

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/pricesx402 paid

Query agri-food prices

Union of cereals, oilseeds, and pigmeat price facts.

ParamInTypeDescription
datasetquerystringDataset id.
countryquerystringMember state.
commodityquerystringProduct / pig class.
date_fromquerystringStart date.
date_toquerystringEnd date.
marketquerystringMarket name.
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/prices?dataset=cereals_prices&country=BG&date_from=2024-01-01&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/prices/changesx402 paid

Weekly agri-food price changes

Period-to-period LAG changes for agri-food price series.

ParamInTypeDescription
datasetquerystringDataset id.
countryquerystringMember state.
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/prices/changes?dataset=pigmeat_prices&country=BG&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/anomaliesx402 paid

Agri-food price anomalies

Rows with large percent change or z-score within a series.

ParamInTypeDescription
min_percentquerynumberMin |percent_change| (default 25).
zquerynumberMin |zscore| (default 3).
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/anomalies?min_percent=40&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.

GET/api/v1/latestx402 paid

Latest prices per series

Newest begin_date per agri-food price series.

ParamInTypeDescription
datasetquerystringDataset id.
limitqueryinteger
offsetqueryinteger
GET https://api.datanexusai.org/api/v1/latest?dataset=oilseeds_prices&limit=20

Payment: x402 · $0.01 USDC · networks: Base, Polygon, Arbitrum One. Unauthenticated call returns HTTP 402 with PAYMENT-REQUIRED.