Marketplace/Health & Science/plantvillage.psu.edu
ready-made APIby Asher Torres

PlantVillage Crops, Diseases & Pests

plantvillage.psu.edu

Browse PlantVillage's crop library, diseases and pests. Search plants by name, get crop and disease details, treatment and management advice, image galleries, the diseases of each crop, plus blog posts, topics and videos.

Writ CloudRESTMCPwebhookschedule2 credits / call

No website sign-in or persona needed. Free to install. Try any function below with your own values, no account: 10 free credits a day per device. Cloud calls after that use your own credits. Pricing →

The name plantvillage.psu.edu belongs to its owner. This API is not affiliated with, endorsed by or sponsored by plantvillage.psu.edu. You are responsible for how you use it.

01 · Functions12 functions

The form is the docs.

Choose a function, fill in its inputs, and run it: the answer comes back from the live site, with your values. Without an account you get 10 free credits a day per device for this; install the listing in Writ to keep calling it.

12 functionschoose one to explore
01list_cropsReturns all crops available on PlantVillage (name, slug, thumbnail_url). letter optional single A-Z filters by first letter.02get_crop_detailReturns detailed information about a specific crop by slug: name, slug, images, sections, common_names, scientific_name, related_diseases.03list_diseases_and_pestsReturns all diseases and pests available on PlantVillage. Each entry includes name, slug, and thumbnail_url.04get_disease_detailReturns detailed information about a specific disease or pest by slug: name, slug, images, sections, affected_crop.05get_blog_postsReturns blog articles from the PlantVillage blog: title, slug, author, summary, thumbnail_url.06list_topicsReturns educational topics available on PlantVillage. Each topic includes a name and slug.07get_blog_post_detailReturns the full text content of a specific blog post by slug: title and content.08list_videosReturns video library entries from PlantVillage: title, video_id, url, thumbnail_url, language.09search_plantsSearch for plants by name keyword or single letter. A single alphabetical character filters crops by first letter; multi-character queries perform a substring match against all crop names.10get_treatments_and_managementReturns management and treatment strategies for a specific disease or pest: management_strategies maps section titles to text (empty object if no management sections).11get_plant_imagesReturns the gallery of images associated with a specific crop or disease topic (crop page first, then the disease page): images as objects with url and caption.12get_plant_diseases_by_cropReturns all diseases and pests associated with a specific crop: name, scientific_name, symptoms, cause, comments, management.
When a call does not work
No key · GET

AI assistants and tools that can only open a URL can call it with no key: one URL per function, its inputs in the query string. Each call spends the free keyless allowance, 10 credits a day per IP address.

GET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=list_crops&letter=AGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_crop_detail&slug=appleGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=list_diseases_and_pestsGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_disease_detail&slug=fall-armywormGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_blog_postsGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=list_topicsGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_blog_post_detail&slug=380-tiny-wasps-big-impact-natural-pest-control-for-kenyan-farmersGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=list_videosGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=search_plants&query=tomatoGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_treatments_and_management&slug=fall-armywormGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_plant_images&slug=appleGET https://api.usewrit.app/api/marketplace/listings/parse-rebuild-plantvillage/run?function_name=get_plant_diseases_by_crop&slug=apple
02 · Checks and timingsmeasured per function

Built to be called again.

Every function was called on the live site before this API was published, and keeps being measured. The numbers are the listing’s own.

0.50 stypical callmedian of 12 functions’ medians
20measured runsacross 12 functions
—daily checks passedchecks start with the first install
—buyer runs succeededno counted buyer runs yet
functionmedian · 95th percentilemedianruns
list_crops 0.77 s 2
get_crop_detail 0.83 s 2
list_diseases_and_pests 0.32 s 1
get_disease_detail 1.87 s 2
get_blog_posts 0.42 s 1
list_topics 0.50 s 1
get_blog_post_detail 0.27 s 2
list_videos 0.36 s 1
search_plants 0.69 s 2
get_treatments_and_management 0.39 s 2
get_plant_images 0.51 s 2
get_plant_diseases_by_crop 1.00 s 2
Checked daily No daily check results published yet. Checks begin with the first install; no pass rate is claimed.
Repaired when it breaks A function that fails its check is re-tested and rebuilt. Installed copies receive the update; you redeploy nothing.
Buyer runs counted No counted buyer runs published yet; uptime counts real buyers’ runs only. Writ service status →

Historical measurements from the public listing, refreshed Dec 4, 2026. Timing samples are not an uptime claim or a guarantee for your next call.

03 · Your copyyour account

Install your copy. Call it your way.

2 credits
Priced per cloud call.

The listing’s base price is 2 credits per call. Longer runs, residential traffic and CAPTCHA solving can add usage. A site or Writ failure is free; your own input or login failures can be billable. Full usage rates →

cloud
No computer to keep running.

Marketplace copies execute in Writ Cloud, in your own account. Requirements and prices are checked before you use the listing.

REST · MCP
Every way to call it, at once.

Use your API key, connect an assistant, set a schedule with email or webhook delivery, or export answers as a dataset.

read-only
It only reads.

The published functions read data from the source website. No website sign-in or persona is needed for this listing.

private copy
Your account, your usage.

Your installed copy belongs to your account. Its underlying recipe stays sealed with its creator; no creator credentials are included.

04 · Or build your ownwebsite → API

Missing a function? Describe it.

Give Writ a website and say what you want. It builds and tests the API for your task.

On your computeryour machine

Build it in Writ Desktop and run it from your own IP. Execution on your machine costs 0 credits.

Get Writ Desktop →
In Writ Cloudcloud

Keep your API online without leaving your computer running. Cloud calls start at 2 credits, or 20 with a browser.

Build an API →
05 · More ready-madeAll APIs →
06 · Questions
Does PlantVillage have an API?
This page is an independent API and MCP server for plantvillage.psu.edu: Writ built it on the site’s public pages and tests it, and it has 12 functions you can call today. It is not an official PlantVillage product. For an official API, check PlantVillage’s own developer pages.
How do I use the PlantVillage API from Claude, ChatGPT or Cursor?
Install it in Writ, then add Writ’s MCP server (https://api.usewrit.app/mcp) to Claude, ChatGPT, Cursor or any MCP client: your assistant can run this API’s functions and read the results. From your own code, call the same functions over REST with a Writ API key.
How much does a call to the PlantVillage API cost?
2 credits per call, charged only when the call succeeds. New accounts start with 1,000 free credits, then 500 a month on the Free plan, no card.