Use case
Plant data for garden retail
Updated:
Short answer
Garden centres and online plant shops use Plant Toxicity API to add pet toxicity badges and care instructions to product pages, labels and point-of-sale screens. Trade and common names from your catalogue resolve to the accepted plant, and care texts come in English, German and French, so one feed fills product data across markets.
What shops add
| On the page or label | From the API |
|---|---|
| “Toxic to cats” / “Toxic to dogs” badges | cat.level, dog.level |
| Light and watering lines | plan.light.text, plan.water.check |
| Care sheet in the customer’s language | GET /care?lang=de or fr (paid plans) |
| Correct botanical name | plant.name, plant.family |
Clean names first
Product data often carries a trade name or an outdated botanical name. Resolve each product once and store the plant id:
curl "https://api.plant-toxicity-api.com/v1/names/resolve?name=Sansevieria%20trifasciata" \
-H "X-API-Key: $PTA_KEY"
# → { "data": { "id": "dracaena-trifasciata", "name": "Dracaena trifasciata", "status": "synonym" } }
With the id stored, later calls (GET /plants/{id}) need no name matching.
Whole catalogue at once
POST /batch takes up to 100 items per request on Pro and Business, mixing toxicity and care:
{ "items": [
{ "op": "toxicity", "name": "Monstera deliciosa" },
{ "op": "care", "name": "Ficus lyrata" }
] }
Refresh the data at least every 30 days, the longest the terms allow you to keep it.
Shopify and other shop systems
The Shopify guide stores the ratings in product metafields and shows badges with a Liquid snippet. The same pattern works for any shop: fetch on your server, store with the product, render from your own data.
Questions
Our catalogue uses trade names. Will they match?
Many do. Trade names, old scientific names and common names in English, German and French resolve to the accepted plant. Names that do not match come back as 404 so you can fix them once in your catalogue.
Can we print the data on plant labels?
Yes, from your own systems, with your own notice near any toxicity statement that it is general information, not veterinary or medical advice (Terms, section 4). On the Free plan the attribution line is needed; paid plans need none.
Can we say a plant is pet friendly?
The API never calls a plant harmless. If you want such a label, base it on your own review; the API's non-toxic level reports what a named source states, nothing more.