Discover/upag.gov.in API
live

upag.gov.in APIupag.gov.in

Access India crop production estimates, MSP trends, APY time series, crop calendars, and agricultural reports from upag.gov.in via a structured JSON API.

Endpoints
9
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/bae68c4f-d759-4052-a12a-ccaf0d71cbb5/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/bae68c4f-d759-4052-a12a-ccaf0d71cbb5/get_homepage_summary' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalclick to expand

Returns a summary of agricultural data including latest crop production advance estimates by state, estimation summaries by crop category, and latest release report titles.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "map_summary": "array of state-level crop production records with cropName, stateName, metricValue, percentageVariation",
    "latest_releases": "array of latest release reports with id, title, published_date, tab_name, link",
    "estimation_summary": "array of crop category estimation summaries with fiscalYear, cropCategory, production, agricultureYear"
  },
  "sample": {
    "data": {
      "map_summary": [
        {
          "geoID": 3,
          "cropName": "Rice",
          "stateName": "Punjab",
          "metricName": "Production",
          "seasonName": "Total",
          "metricValue": 127.84,
          "cropYearCode": 2025,
          "percentageVariation": -10.98
        }
      ],
      "latest_releases": [
        {
          "id": 120,
          "link": "https://storage.googleapis.com/upag-10-128-23-3/MIR-Reports-Crop-Outlook/example.pdf",
          "title": "CWWG Weekly Report as on 04 May 2026",
          "tab_name": "Crop Weather Watch Group Reports",
          "published_date": "2026-05-05"
        }
      ],
      "estimation_summary": [
        {
          "fiscalYear": 2025,
          "production": 3486.57,
          "cropCategory": "Food Grains",
          "productionUom": "Lakh Tonnes",
          "agricultureYear": "2025 - 26",
          "estimateTypeName": "Second Advance Estimates"
        }
      ]
    },
    "status": "success"
  }
}

About the upag.gov.in API

This API exposes 9 endpoints covering India's Unified Portal for Agricultural Statistics (upag.gov.in), returning structured data on crop production estimates, Minimum Support Price trends, area/production/yield time series, domestic and international crop calendars, and report listings. The get_commodity_msp endpoint, for example, returns per-crop MSP values with season, fiscal year, and unit of measure fields across a configurable year range.

Crop Production and APY Data

The get_crop_production_estimates endpoint accepts an optional crop_name parameter (e.g. Rice, Wheat, Sugarcane) and returns state-level production records including cropName, stateName, metricValue, and percentageVariation relative to the prior year, along with the cropYear and estimationTypeName (first or second advance estimate). For all-India aggregate trends, get_all_india_crop_apy_timeseries returns a flat array of records covering multiple crop years, each with Crop, Season, Crop Category, Metric, Value, and Unit Of Measure fields — useful for constructing multi-year yield or area-harvested series across major commodities.

MSP and Price Trends

get_commodity_msp returns Minimum Support Price data filterable by from_year and to_year (format: YYYY-YY, e.g. 2023-24). Each record includes Crop, Crop Category, Season, Year, Value, UOM, and Metric fields. This makes it straightforward to track MSP changes for a specific commodity across consecutive Kharif or Rabi seasons.

Crop Calendars

Two calendar endpoints cover distinct geographies. get_domestic_crop_calendar returns a records object with a primaryCategory array and a records array containing state, crop, and month-wise schedule data with color-coded sowing/harvest indicators for Indian states. get_international_crop_calendar follows the same structure but organizes records by country rather than state, covering sowing and harvest windows for crops in international markets.

Reports and Search

get_latest_releases returns report metadata including id, title, tab_name, published_date (YYYY-MM-DD), and a direct link to the PDF — covering CWWG weekly reports, crop situation reports, and related publications. get_reports_list returns the full portal report index organized as nested category objects. search_reports accepts a query string and matches against report names, category names, URLs, and nested submenu crop names, returning name, category, url, and reportid for each match.

Common use cases
  • Track year-over-year MSP changes for Kharif and Rabi commodities using get_commodity_msp with from_year and to_year filters.
  • Build state-level crop production dashboards using get_crop_production_estimates with percentageVariation fields to highlight underperforming states.
  • Construct multi-year area, production, and yield trend lines for major Indian crops from the get_all_india_crop_apy_timeseries response.
  • Generate automated alerts when new CWWG weekly reports or crop situation reports appear via get_latest_releases published_date tracking.
  • Map sowing and harvest windows for international commodity sourcing using get_international_crop_calendar country and month data.
  • Search the full report catalog by crop keyword using search_reports to locate specific dashboards and their direct URLs.
  • Display homepage agricultural summary widgets using get_homepage_summary estimation_summary and map_summary fields.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does upag.gov.in have an official developer API?+
No. The portal (upag.gov.in) does not publish a documented public API or developer program. This Parse API provides structured programmatic access to the data it exposes.
What does `get_commodity_msp` return, and how do I scope it to a specific year range?+
It returns one record per crop per year, with fields for Crop, Crop Category, Season, Year, Value, UOM, and Metric. Pass from_year and to_year as strings in YYYY-YY format (e.g. from_year=2020-21, to_year=2024-25) to limit the result set. Omitting both parameters returns the full available range.
Can I retrieve district-level or sub-state crop production data?+
Not currently. The production endpoints (get_crop_production_estimates, get_all_india_crop_apy_timeseries, get_homepage_summary) return data at the state level. You can fork this API on Parse and revise it to add a district-level endpoint if the portal exposes that granularity.
What report types does `get_latest_releases` cover?+
It returns report metadata for CWWG weekly reports, crop situation reports, and other agricultural publications listed on the portal's latest releases section. Each record includes a direct PDF link, a tab_name indicating the report category, and a published_date in YYYY-MM-DD format. Historical report archives beyond the latest releases are not currently included, but you can fork this API on Parse and revise it to target the full archive listing.
Does the API expose import/export trade data or commodity price data beyond MSP?+
No. The API covers MSP trends via get_commodity_msp and production/yield statistics, but does not currently include trade volumes, wholesale market prices (mandi rates), or export figures. You can fork it on Parse and revise to add endpoints for those data categories if the portal surfaces them.
Page content last updated . Spec covers 9 endpoints from upag.gov.in.
Related APIs in Government PublicSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
maradminbot.com API
Search and retrieve official Marine Corps MARADMIN announcements from Marines.mil, filtering by year, status, and keyword to stay updated on the latest personnel and administrative directives. Get detailed information about specific announcements by number or browse the most recent updates to ensure you never miss critical Marine Corps guidance.
13f.info API
13f.info API
illinoisreportcard.com API
Search and analyze comprehensive performance data for Illinois public schools, districts, and the state, including academic achievements in ELA, math, and science, student demographics, teacher and administrator information, school finances, and environmental conditions. Compare schools side-by-side, track growth metrics, and access accountability ratings and school highlights to make informed decisions about education quality.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.