Skip to content

Plant data API

Houseplant API

Updated:

Short answer

Plant Toxicity API answers the two questions houseplant owners ask first: is this plant toxic to my cat, dog or child, and how do I keep it alive? Send the name people use, such as "Snake plant" or "Swiss cheese plant", and get toxicity per animal with sources plus a care plan with light, water and feeding.

Toxicity and care in one request

Most houseplant questions need both answers. GET /plants/{id} returns the plant, its toxicity for cats, dogs and people, and its care plan in one response, for one credit.

curl "https://api.plant-toxicity-api.com/v1/toxicity?name=Easter%20lily" \
  -H "X-API-Key: $PTA_KEY"
{
  "data": {
    "plant": { "id": "lilium-longiflorum", "name": "Lilium longiflorum", "family": "Liliaceae" },
    "cat": { "level": "emergency", "scope": "genus", "summary": { "en": "Listed as able to cause serious poisoning." } },
    "dog": { "level": "not-rated", "summary": { "en": "On 1 of the 7 poison lists checked, not enough for a rating. Treat with caution." } },
    "human": { "level": "mild", "summary": { "en": "Listed as causing mild symptoms or skin irritation." } },
    "disclaimer": { "en": "For information only, not a substitute for a vet or poison center." }
  }
}

Each animal comes with its own level, the sources behind it and the date they were checked. Wherever you show a rating, show your own notice that it is general information and not veterinary or medical advice (Terms, section 4); the disclaimer sentence can be part of it.

Levels you can show

From weakest to strictest: not-rated, non-toxic, listed, mild, toxic, emergency. Map them to your own badges, for example a red badge for emergency and toxic, amber for mild and listed, grey for not-rated with the text “Not enough data: treat with caution”. The methodology page explains each level.

Care that fits a home

Care plans give light as a level (bright-indirect, medium…), watering as a check plus a range of days per season, humidity, temperature in °C and feeding months. See the plant care API for every field.

Names people actually type

They type The API resolves to
Snake plant, Sansevieria trifasciata Dracaena trifasciata
Easter lily, Osterlilie, lys de Pâques Lilium longiflorum
Monstera, Swiss cheese plant Monstera deliciosa
Pothos Epipremnum aureum

Search (GET /plants/search?q=) matches parts of scientific and common names, which suits an autocomplete field.

Questions

Does it know common houseplant names?

Yes. Common names in English, German and French resolve to the accepted plant, and so do trade names and old scientific names such as Sansevieria. If a common name fits several plants, the response lists the alternatives.

Is a plant without a rating harmless?

No. For cats and dogs, not-rated means there is not enough data for a rating; the summary says how many of the poison lists checked name the plant and to treat it with caution. The API never labels a plant as harmless.

Can I use it in a shop or a blog?

Yes, from your server. The Free plan asks you to show "Plant data by Plant Toxicity API" with a link near the data; paid plans do not. The guide for Shopify shows one way to add toxicity badges to product pages.