API Overview & Data Explorer
The following REST APIs are exposed for the frontend application.
These endpoints are actively called by the React frontend to render charts and components.
GET /api/summary
GET /api/data
GET /api/data/export
GET /api/countries
GET /api/filters
GET /api/trends
GET /api/comparison
GET /api/country-profile
GET /api/heatmap
GET /api/insights
POST /api/ask
These endpoints are available for infrastructure and other integrations, but not directly used by the UI.
GET /api/health
GET /api/products
| Country | Product | Type | Year | Yield | Unit |
|---|---|---|---|---|---|
| Click "Load Data" to fetch rows from the backend. | |||||