Discover/Gov API
live

Gov APIicar.gov.in

Access structured data on ICAR's landmark crop varieties: yield, maturity, recommended regions, resistance traits, and more across 31 crops and 56+ varieties.

Endpoint health
verified 7h ago
search_varieties
list_crops
2/2 passing latest checkself-healing
Endpoints
2
Updated
7h ago

What is the Gov API?

The ICAR Landmark Varieties API exposes structured data from India's Indian Council of Agricultural Research covering approximately 56 landmark crop varieties across fruit, vegetable, tuber, flower, plantation, spice, medicinal, and mushroom crop groups. Two endpoints — search_varieties and list_crops — let you filter by crop name or variety name and retrieve agronomic fields including yield, maturity duration, recommended regions, season, and resistance characteristics.

This call costs1 credit / call— charged only on success
Try it
Case-insensitive substring matched against the crop name or crop group (one shape: 'mango'). Omitted = no crop filter.
Case-insensitive substring matched against the variety name (one shape: 'kufri'). Omitted = no variety filter.
api.parse.bot/scraper/c119b398-5804-4a33-9118-4939d18a2e30/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/c119b398-5804-4a33-9118-4939d18a2e30/search_varieties?crop=mango' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace icar-gov-in-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: ICAR Landmark Crop Varieties — discover crops, then search varieties."""
from parse_apis.icar_gov_in_api import Icar, ParseError

client = Icar()

# List all crops to discover what is available.
for crop in client.crops.list(limit=5):
    print(crop.crop_group, crop.crop, f"({crop.variety_count} varieties)")

# Pick the first crop and search its varieties by name.
first_crop = client.crops.list(limit=1).first()
if first_crop is not None:
    for v in client.varieties.search(crop=first_crop.crop, limit=3):
        print(v.variety_name, v.yields, v.characteristics)

# Targeted variety search using a user-supplied keyword.
try:
    hit = client.varieties.search(variety="ambika", limit=1).first()
except ParseError as e:
    print("parse error:", e.code)
    hit = None
if hit is not None:
    print(hit.variety_name, hit.crop, hit.attributes)

print("exercised: crops.list / varieties.search")
All endpoints · 2 totalmissing one? ·

Returns ICAR landmark crop varieties, one record per variety, in the order they appear on the ICAR Landmark Varieties page (a single page, one round trip, roughly 56 varieties across fruit, vegetable, tuber, flower, plantation, spice, medicinal and mushroom crops). Optional case-insensitive substring filters on crop (matched against the crop name and its crop group, e.g. 'mango' or 'vegetables') and variety (matched against the variety name); both omitted returns every variety. Each record carries the full list of bullet-point characteristics as published, plus keyword-derived subsets: yield, maturity_duration, recommended_regions, season and disease_pest_resistance (each an array of the matching characteristic sentences, empty when the site lists none for that variety) and attributes (key/value pairs parsed from 'Label: value' bullets). crop_group reflects the heading nesting of the source table. A filter that matches nothing returns an empty varieties array with count 0; total_on_site is the number of varieties on the page before filtering.

Input
ParamTypeDescription
cropstringCase-insensitive substring matched against the crop name or crop group (one shape: 'mango'). Omitted = no crop filter.
varietystringCase-insensitive substring matched against the variety name (one shape: 'kufri'). Omitted = no variety filter.
Response
{
  "type": "object",
  "fields": {
    "count": "number of varieties returned after filtering",
    "varieties": "array of variety records: crop_group, crop, variety_name, yield (array of yield sentences), maturity_duration (array), recommended_regions (array), season (array), disease_pest_resistance (array), characteristics (all published bullet points), attributes (object of label -> value parsed from 'Label: value' bullets)",
    "total_on_site": "number of varieties on the ICAR page before filtering"
  },
  "sample": {
    "data": {
      "count": 1,
      "varieties": [
        {
          "crop": "Mango",
          "yield": [
            "Yield: 80-90 kg/plant"
          ],
          "season": [],
          "attributes": {
            "TSS": "21°B",
            "Yield": "80-90 kg/plant",
            "Fruits weight": "300-350 g",
            "Mangiferin content": "35.1 µg/g FW"
          },
          "crop_group": "Fruit Crops",
          "variety_name": "CISH Ambika",
          "characteristics": [
            "Fruits weight: 300-350 g",
            "TSS: 21°B",
            "Yield: 80-90 kg/plant",
            "Mangiferin content: 35.1 µg/g FW"
          ],
          "maturity_duration": [],
          "recommended_regions": [],
          "disease_pest_resistance": []
        }
      ],
      "total_on_site": 56
    },
    "status": "success"
  }
}

About the Gov API

What the API covers

The API reflects the ICAR Landmark Varieties page, which documents notable varieties released by India's premier agricultural research body. Each variety record includes crop_group, crop, variety_name, yield (an array of descriptive sentences), maturity_duration (an array), and recommended regions or seasons. The dataset spans roughly 56 varieties across 31 crops, covering diverse categories such as fruits, vegetables, tubers, flowers, plantation crops, spices, medicinal plants, and mushrooms.

Endpoints and filtering

search_varieties accepts two optional query parameters: crop (case-insensitive substring matched against crop name or crop group, e.g. mango) and variety (case-insensitive substring matched against variety name, e.g. kufri). The response returns a count of matched varieties, the varieties array with full agronomic detail per record, and total_on_site so you can see how many records exist before filtering. Parameters can be combined or omitted to retrieve the full dataset.

list_crops takes no inputs and returns a flat list of all crops on the page, each with crop_group, crop, variety_count, and variety_names — an array of every landmark variety name under that crop. This endpoint is the right starting point for discovering exact crop and variety strings before passing them into search_varieties filters.

Data shape and limitations

Yield and maturity data are stored as arrays of natural-language sentences as they appear in the source, not as normalized numeric ranges. Recommended regions and seasonal timing follow the same array format. The dataset is scoped to the single Landmark Varieties page; ICAR publishes additional variety and research databases elsewhere that are not included here.

Reliability & maintenanceVerified

The Gov API is a managed, monitored endpoint for icar.gov.in — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when icar.gov.in changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official icar.gov.in API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Look up yield and maturity data for a specific crop variety before including it in an agronomy recommendation tool.
  • Build a crop-selection filter that narrows varieties by crop group (e.g. spices or tubers) using the crop parameter.
  • Populate a regional planting guide by extracting the recommended field for varieties suited to specific Indian states or agro-climatic zones.
  • Discover all ICAR landmark variety names for a crop using list_crops before fetching full agronomic detail via search_varieties.
  • Generate a structured comparison table of maturity durations across potato varieties by filtering with variety=kufri.
  • Identify disease-resistant varieties by scanning the resistance characteristics returned in variety records.
  • Integrate ICAR landmark variety metadata into a farm management or seed catalog application.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does ICAR provide an official developer API for its variety data?+
ICAR does not currently publish a documented public developer API for the Landmark Varieties dataset. The data is presented as a public webpage at icar.gov.in/en/landmark-varieties without a machine-readable API endpoint.
What does `list_crops` return, and how is it different from `search_varieties`?+
list_crops returns one record per crop — including crop_group, crop, variety_count, and an array of variety_names — but does not include agronomic detail like yield or maturity. Use it to discover exact crop and variety name strings, then pass those into search_varieties to retrieve the full per-variety records including yield, maturity_duration, and recommended region data.
Are yield and maturity values returned as numbers or text?+
Both yield and maturity_duration are returned as arrays of descriptive sentences, mirroring how the data appears on the ICAR page. They are not normalized into numeric fields or standardized units. Parsing the numeric range out of the sentence text is left to the consuming application.
Does the API cover ICAR variety data beyond the Landmark Varieties page, such as released varieties from ICAR institutes or the NBPGR catalog?+
Not currently. The API covers the single Landmark Varieties page (~56 varieties, ~31 crops) as published at icar.gov.in/en/landmark-varieties. ICAR's institute-specific released variety lists and the NBPGR plant genetic resources catalog are not included. You can fork this API on Parse and revise it to add endpoints targeting those additional sources.
How current is the variety data, and does the API support pagination?+
The data reflects the ICAR Landmark Varieties page as it stands at the time of a request. There is no pagination — both endpoints return the full dataset in a single response, since the source is a single page with a fixed, relatively small number of records.
Page content last updated . Spec covers 2 endpoints from icar.gov.in.
Related APIs in Government PublicSee all →
upag.gov.in API
Access comprehensive agricultural data including crop production estimates, minimum support prices (MSP), crop yield trends, and planting calendars for both domestic and international markets. Search through agricultural reports and statistics to track commodity prices, production forecasts, and seasonal crop information.
plantvillage.psu.edu API
Search for crops, diseases, and pests to access detailed agricultural knowledge including treatments, management strategies, and educational content like blog posts and videos. Get comprehensive plant health information with images and disease identification to help diagnose and manage crop problems.
plantix.net API
Access a comprehensive agricultural database covering over 700 plant diseases and pests, with detailed symptoms, treatment options, and prevention methods. Browse cultivation guides for a wide range of crops, retrieve disease risk by growth stage, and explore expert agricultural blog posts — all through a single structured API.
cornucopia.org API
Access organic food scorecards, brand ratings, research documents, and news from The Cornucopia Institute. Search and filter across dairy, egg, beef, poultry, and other organic product categories.
cabi.org API
Search and retrieve detailed information about plant diseases from the CABI Digital Library, including disease characteristics, symptoms, and management strategies. Find specific disease data by name or browse the comprehensive Compendium to identify and understand plant health issues.
csr.gov.in API
Search and analyze India's corporate social responsibility initiatives by accessing company CSR spending, project details, and financial contributions broken down by state, sector, and year. Track top CSR performers, compare spending amounts across companies, and explore how businesses are investing in social causes nationwide.
bid.cars.com API
Search for vehicles listed at major US auto auctions like Copart and IAAI by make, model, year, and mileage to find detailed vehicle information and photos for your next purchase. Access comprehensive auction inventory data to compare options and make informed bidding decisions across multiple auction houses.
nationalfertilizers.com API
Access data from nationalfertilizers.com.