Discover/plantvillage.psu.edu API
live

plantvillage.psu.edu APIplantvillage.psu.edu

Access PlantVillage crop data, disease details, management strategies, blog posts, and videos via 12 structured API endpoints.

Endpoints
12
Updated
4mo ago
Try it
Single uppercase letter (A-Z) to filter crops by first letter. Omitting returns all crops.
api.parse.bot/scraper/c7fef214-845f-4681-b8bd-d6ba69987eec/<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/c7fef214-845f-4681-b8bd-d6ba69987eec/list_crops?letter=A' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 12 totalclick to expand

Returns a list of all crops available on PlantVillage. Supports alphabetical filtering via the letter parameter. Each crop includes name, slug, and thumbnail URL.

Input
ParamTypeDescription
letterstringSingle uppercase letter (A-Z) to filter crops by first letter. Omitting returns all crops.
Response
{
  "type": "object",
  "fields": {
    "crops": "array of crop objects each containing name, slug, and thumbnail_url"
  },
  "sample": {
    "data": {
      "crops": [
        {
          "name": "Apple",
          "slug": "apple",
          "thumbnail_url": "https://plantvillage-production-new.s3.amazonaws.com/image/2555/file/medium-2af8d7e43adbcf45cb7356141e38c94a.jpg"
        }
      ]
    },
    "status": "success"
  }
}

About the plantvillage.psu.edu API

The PlantVillage API exposes 12 endpoints covering crops, diseases, pests, blog posts, and educational videos from plantvillage.psu.edu. You can retrieve full crop profiles including scientific names, images, and related diseases via get_crop_detail, pull disease-specific management strategies via get_treatments_and_management, and search crop names by keyword or first letter using search_plants. All responses return structured JSON ready to integrate into agricultural applications.

Crop and Disease Data

The list_crops endpoint returns every crop on PlantVillage, with optional alphabetical filtering via the letter parameter (e.g. letter=T to retrieve only crops starting with T). Each crop object includes name, slug, and thumbnail_url. Passing a slug to get_crop_detail returns a richer record: scientific_name, common_names (array), sections (a keyed object mapping section titles to text), images (with URLs and captions), and related_diseases listing associated conditions with their scientific names.

Disease and Pest Endpoints

list_diseases_and_pests returns a flat list of all disease and pest entries, each with name, slug, and thumbnail_url. get_disease_detail fetches a single entry by slug, returning sections, images, and an affected_crop object containing the crop name and URL (or null). For crop-centric workflows, get_plant_diseases_by_crop accepts a crop slug and returns all associated diseases, each with symptoms, cause, comments, and management fields in one response. get_treatments_and_management narrows this further, returning only the management and control sections for a given disease slug as a management_strategies object.

Content and Media

The get_blog_posts endpoint returns a list of articles with title, slug, author, summary, and thumbnail_url. Passing a slug to get_blog_post_detail returns the full content string. list_videos returns the video library with title, video_id, url, thumbnail_url, and language — useful for filtering by language. list_topics returns educational topic names and slugs without additional metadata.

Images and Search

get_plant_images accepts any crop or disease slug and returns an array of url and caption pairs from that entry's gallery. search_plants accepts either a single letter (alphabetical filter) or a multi-character keyword to perform substring matching against all crop names, returning matching crops with name, slug, and thumbnail_url.

Common use cases
  • Build a crop disease identification tool using get_plant_diseases_by_crop to surface symptoms and causes by crop slug.
  • Populate a plant encyclopedia app with get_crop_detail fields including scientific names, common names, and sectioned descriptions.
  • Generate agronomic management guides by extracting management_strategies from get_treatments_and_management for specific pests.
  • Create a multilingual video resource browser using the language field from list_videos.
  • Index PlantVillage blog content for search or recommendation systems using get_blog_posts and get_blog_post_detail.
  • Implement a crop search autocomplete using search_plants with keyword queries against crop names.
  • Build a disease image gallery by fetching caption-annotated images for any crop or disease via get_plant_images.
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 PlantVillage have an official developer API?+
PlantVillage (plantvillage.psu.edu) does not publish a public developer API or documented data endpoint for programmatic access to its crop and disease content.
How does `get_plant_diseases_by_crop` differ from `get_disease_detail`?+
get_plant_diseases_by_crop takes a crop slug and returns all diseases associated with that crop in one array, with each disease including symptoms, cause, comments, and management. get_disease_detail takes a disease slug directly and returns that single disease's sections, images, and affected_crop object. Use the crop-centric endpoint when you need a full disease profile for a given plant; use get_disease_detail when you already have a specific disease slug.
Does the API support pagination or filtering beyond alphabetical letter?+
The API does not currently support page-based pagination or advanced filters such as crop category, region, or disease type. list_crops supports filtering by first letter via the letter parameter, and search_plants supports substring keyword matching. You can fork this API on Parse and revise it to add pagination or additional filter parameters if your use case requires it.
Does the API return user-submitted community forum posts or questions from PlantVillage?+
Not currently. The API covers crops, diseases, pests, blog posts, videos, and educational topics. Community forum threads and user-submitted questions are not exposed by any current endpoint. You can fork this API on Parse and revise it to add an endpoint targeting forum content.
How current is the data returned by these endpoints?+
Responses reflect the content published on plantvillage.psu.edu at the time of the request. There is no built-in freshness indicator or timestamp field in the response objects, so content additions or edits on the source site will be reflected on subsequent calls but are not versioned.
Page content last updated . Spec covers 12 endpoints from plantvillage.psu.edu.
Related APIs in EducationSee all →
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.
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.
plantsforafuture.org API
Search for edible and medicinal plants to discover their culinary and health uses, cultivation tips, and physical characteristics. Browse the comprehensive plant database alphabetically or look up detailed information about specific plants' benefits and growing requirements.
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
rhsplants.co.uk API
Search and browse the RHS Plants catalogue to discover thousands of plants and gardening products. Retrieve detailed specifications, growing conditions, images, and purchasing options for any plant, and filter or sort results by category or keyword.
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.
agweb.com API
Access real-time agricultural news, commodity futures prices for corn and soybeans, and local cash grain bids to stay informed on market trends and pricing. Search articles by category, view detailed market analysis, and get weekend market reports to make informed farming and trading decisions.
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.
PlantVillage API – Crops, Diseases & Pests · Parse