Entwicklerplattform

Greifen Sie über unsere REST-API, Markdown-Endpunkte und Feeds auf paläontologische Daten von DinoFYI zu. Erkunden Sie Dinosaurierarten, geologische Perioden, Kladen und Fundstätten.

REST-API-Endpunkte

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

Endpunkt Beschreibung
GET /api/dinosaurs/ Dinosaurier auflisten (filterbar nach Periode, Klade, Ernährung)
GET /api/dinosaurs/{slug}/ Dinosaurier-Details
GET /api/periods/ Geologische Zeiträume
GET /api/classifications/ Dinosaurier-Kladen
GET /api/countries/ Länder mit Fossilienfunden
GET /api/glossary/ Glossarbegriffe
GET /api/guides/ Leitfäden
GET /api/search/?q= Full-text search across dinosaurs, glossary, and guides
GET /api/stats/ Datenbankstatistiken
GET /api/random/ Random dinosaur
GET /api/compare/?a=&b= Compare two dinosaurs side by side

Markdown-Endpunkte

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

# Dinosaur profile
curl https://dinofyi.com/dinosaur/tyrannosaurus-rex.md
# Guide article
curl https://dinofyi.com/guide/mass-extinction-events.md
# With language prefix
curl https://dinofyi.com/ko/dinosaur/tyrannosaurus-rex.md

Schnellstart

curl

# List dinosaurs
curl https://dinofyi.com/api/dinosaurs/
# Search
curl "https://dinofyi.com/api/search/?q=tyrannosaurus"
# Dinosaur detail (Korean)
curl "https://dinofyi.com/api/dinosaurs/tyrannosaurus-rex/?lang=ko"
# Database stats
curl https://dinofyi.com/api/stats/
# Random dinosaur
curl https://dinofyi.com/api/random/
# Compare two dinosaurs
curl "https://dinofyi.com/api/compare/?a=tyrannosaurus-rex&b=triceratops"

Python

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

Weitere Ressourcen