Developer Platform

Access PlantFYI plant data through our REST API, markdown endpoints, and interactive tools.

REST API Endpoints

All endpoints return JSON. Paginated with ?limit= and ?offset=. Use ?lang=ko for translated fields.

Endpoint Description
/api/plants/ List all plant species
/api/plants/{slug}/ Plant species detail
/api/families/ List plant families
/api/orders/ List plant orders
/api/countries/ List countries with native plants
/api/climate-zones/ List climate zones
/api/search/?q= Search across all content
/api/glossary/ Botanical glossary terms
/api/stats/ Database statistics

Markdown Endpoints

Append .md to any page URL to get a markdown version. Useful for LLM context, documentation, and programmatic access.

# Plant species profile
curl https://plantfyi.com/plant/rosa-gallica.md
# Plant family
curl https://plantfyi.com/families/rosaceae.md
# Guide article
curl https://plantfyi.com/guide/companion-planting.md
# With language prefix
curl https://plantfyi.com/ko/plant/rosa-gallica.md

Quick Start

curl

# List plants
curl https://plantfyi.com/api/plants/
# Search
curl "https://plantfyi.com/api/search/?q=rose"
# Plant detail (Korean)
curl "https://plantfyi.com/api/plants/rosa-gallica/?lang=ko"
# Database stats
curl https://plantfyi.com/api/stats/

Python

import httpx
resp = httpx.get("https://plantfyi.com/api/plants/",
    params={"limit": 10})
plants = resp.json()["results"]

Additional Resources