/api/parksReturns a list of all national parks and reserves.
{
"parks": [
{
"id": 1,
"name": "Maasai Mara National Reserve",
"location": "Narok County, Kenya",
"description": "...",
"famousFor": "Big Five, Wildebeest Migration",
"imageUrl": "..."
},
...
]
}/api/parks/{id}Returns details for a specific park by ID.
{
"id": 1,
"name": "Maasai Mara National Reserve",
"location": "Narok County, Kenya",
"description": "...",
"famousFor": "Big Five, Wildebeest Migration",
"imageUrl": "...",
"animals": ["Lion", "Elephant", "Buffalo", "Leopard", "Rhino"],
"bestTimeToVisit": "July to October",
"entranceFees": {
"foreignAdult": "$80",
"foreignChild": "$45",
"residentAdult": "KES 1,200",
"residentChild": "KES 600"
}
}All API requests require an API key. Include your API key in the request headers:
Authorization: Bearer YOUR_API_KEY
To obtain an API key, please register for an account on our developer portal.
API requests are limited to:
Rate limit information is included in the response headers:
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 95 X-RateLimit-Reset: 1619012345