← All APIs
Agri-food
EU agri-food price datasets (cereals, oilseeds, pigmeat).
GET/api/v1/datasetsx402 paid
List agri-food datasets
Latest import metadata per dataset (cereals, oilseeds, pigmeat).
| Param | In | Type | Description |
limit | query | integer | Page size (optional). |
offset | query | integer | Offset (optional). |
Example: GET /api/v1/datasets?limit=100
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.
| Param | In | Type | Description |
dataset_id (required) | path | string | e.g. cereals_prices, oilseeds_prices, pigmeat_prices. |
Example: GET /api/v1/datasets/cereals_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.
| Param | In | Type | Description |
dataset | query | string | Filter by dataset id. |
q | query | string | Search product name / pig class. |
limit | query | integer | Page size (default 100). |
offset | query | integer | Offset. |
Example: GET /api/v1/commodities?dataset=cereals_prices&limit=20
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.
| Param | In | Type | Description |
commodity_id (required) | path | string | Commodity id e.g. cereals_prices:Milling rye |
country | query | string | Member state code or name. |
date_from | query | string | ISO date start. |
date_to | query | string | ISO date end. |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/commodities/cereals_prices:Milling rye/prices?country=AT&limit=20
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).
| Param | In | Type | Description |
commodity_id (required) | path | string | Commodity id. |
country | query | string | Member state. |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/commodities/cereals_prices:Milling rye/history?country=AT&limit=20
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.
| Param | In | Type | Description |
dataset | query | string | Optional: countries present in that dataset. |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/countries
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.
| Param | In | Type | Description |
dataset | query | string | Dataset id. |
country | query | string | Member state. |
commodity | query | string | Product / pig class. |
date_from | query | string | Start date. |
date_to | query | string | End date. |
market | query | string | Market name. |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/prices?dataset=cereals_prices&country=BG&date_from=2024-01-01&limit=20
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.
| Param | In | Type | Description |
dataset | query | string | Dataset id. |
country | query | string | Member state. |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/prices/changes?dataset=pigmeat_prices&country=BG&limit=20
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.
| Param | In | Type | Description |
min_percent | query | number | Min |percent_change| (default 25). |
z | query | number | Min |zscore| (default 3). |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/anomalies?min_percent=40&limit=20
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.
| Param | In | Type | Description |
dataset | query | string | Dataset id. |
limit | query | integer | |
offset | query | integer | |
Example: GET /api/v1/latest?dataset=oilseeds_prices&limit=20
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.