Pl@ntNet API โ€” Request & Response Reference

Exactly what the plant-identification service receives and returns

iAt a glance

The identification is a single HTTPS call. You send one or more plant photos plus which organ each shows; the API returns a ranked list of candidate species with confidence scores and taxonomy.

EndpointPOST https://my-api.plantnet.org/v2/identify/{project}
Auth?api-key=YOUR_KEY (query string)
Bodymultipart/form-data โ€” image file(s) + organ(s)
Free tier500 identifications / day
LimitsUp to 5 images per request (same plant); JPG or PNG

1Request parameters

What we send to Pl@ntNet.

Body โ€” multipart/form-data

FieldTypeReq.Description
imagesfilerequired The plant photo. Repeat the field to send up to 5 images of the same plant (e.g. one leaf + one flower) for higher accuracy.
organstextrequired Which organ each image shows โ€” one organs value per images file, in the same order. Allowed: leaf, flower, fruit, bark, habit, other, or auto (let the AI decide).

URL & query parameters

ParameterInDefaultDescription
projectpathall The flora (reference database) to search. all = world flora. Regional options exist (e.g. k-world-flora, weurope, useful).
api-keyqueryrequired Your secret API key. Kept server-side in this demo โ€” never exposed to the browser.
nb-resultsquery10 How many candidate species to return (ranked by score).
langqueryen Language for the commonNames field.
include-related-imagesqueryfalse If true, each result includes Pl@ntNet reference photos (with author, licence & citation).
no-rejectqueryfalse If true, disables the "this is probably not a plant" rejection class.

Worked example โ€” the exact request

POST https://my-api.plantnet.org/v2/identify/all
     ?api-key=โ€ขโ€ขโ€ขโ€ขโ€ขโ€ข&include-related-images=true&no-reject=false&nb-results=2&lang=en
Content-Type: multipart/form-data

  images = (binary) tendu.jpg          โ† the photo
  organs = leaf                        โ† organ shown in that photo
Equivalent cURL
curl -X POST \
  "https://my-api.plantnet.org/v2/identify/all?api-key=YOUR_KEY\
&nb-results=2&lang=en&include-related-images=true" \
  -F "images=@tendu.jpg" \
  -F "organs=leaf"

2Response parameters

What Pl@ntNet returns (HTTP 200, application/json).

Top-level fields

FieldTypeDescription
bestMatchstringScientific name of the highest-scoring species.
resultsarrayRanked candidate species (see table below). This is the main payload.
predictedOrgansarrayWhich organ the AI detected in each image + its confidence โ€” useful when organs=auto.
queryobjectEcho of what was submitted (image hashes, organs, options).
languagestringLanguage used for common names.
preferedReferentialstringTaxonomic reference used (e.g. k-world-flora).
versionstringModel/version that produced the result.
remainingIdentificationRequestsnumberRequests left in your daily quota.

Each item in results[]

FieldTypeDescription
scorenumber 0โ€“1Confidence for this species (e.g. 0.845 = 84.5%).
species.scientificNameWithoutAuthorstringSpecies name, e.g. Diospyros melanoxylon.
species.scientificNamestringFull name incl. author, e.g. Diospyros melanoxylon Roxb.
species.genus.scientificNameWithoutAuthorstringGenus, e.g. Diospyros.
species.family.scientificNameWithoutAuthorstringFamily, e.g. Ebenaceae.
species.commonNamesstring[]Common names in the requested language (mostly English โ€” no Hindi/local names).
gbif.idstringGBIF taxon id โ†’ links to the global biodiversity database.
powo.idstringPlants of the World Online (Kew) id.
iucn.categorystringIUCN conservation status when available (e.g. LC = Least Concern).
images[]arrayReference photos (only if include-related-images=true): each has organ, author, license, date, citation and url in 3 sizes (s/m/o).
Important: Pl@ntNet returns identification + taxonomy only. It does not return local/vernacular names, medicinal uses, habitat or toxicity. In this demo those come from a separate curated Chhattisgarh knowledge layer (and Wikipedia as fallback) that Avenoir adds on top โ€” see the coloured "Knowledge card" in the live demo.

Worked example โ€” real response (Tendu photo, trimmed to 2 results)


  

3Status codes

CodeMeaning
200Success โ€” identification returned.
400Bad request โ€” e.g. unreadable image, or images/organs count mismatch.
401Invalid or missing API key.
404No species could be matched ("Species not found").
429Daily quota exceeded.

Avenoir ยท Reference for the Pl@ntNet identification API (my.plantnet.org). Prepared for the Chhattisgarh plant-classification proof of concept.