Entwicklerplattform

Greifen Sie über unsere REST-API, Markdown-Endpunkte und interaktive Tools auf PlantFYI-Pflanzendaten zu.

REST-API-Endpunkte

Alle Endpunkte geben JSON zurück. Paginiert mit ?limit= und ?offset=. Verwenden Sie ?lang=ko für übersetzte Felder.

Endpunkt Beschreibung
/api/plants/ Alle Pflanzenarten auflisten
/api/plants/{slug}/ Pflanzenart-Details
/api/families/ Pflanzenfamilien auflisten
/api/orders/ Pflanzenordnungen auflisten
/api/countries/ Länder mit einheimischen Pflanzen auflisten
/api/climate-zones/ Klimazonen auflisten
/api/search/?q= Alle Inhalte durchsuchen
/api/glossary/ Botanisches Glossar
/api/stats/ Datenbankstatistiken

Markdown-Endpunkte

Fügen Sie .md an eine beliebige Seiten-URL an, um eine Markdown-Version zu erhalten. Nützlich für LLM-Kontext, Dokumentation und programmatischen Zugriff.

# 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

Schnellstart

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"]

Weitere Ressourcen