Crescent Bay of Kenya
beach · Nairobi · ★ 3.6 (2813)
Overview
places / #84
beach · Nairobi · ★ 3.6 (2813)
Request
curl example
curl -sS \ "https://example-data.com/api/v1/places/84" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/places/84" ); const place = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/places.d.ts https://example-data.com/types/places.d.ts
import type { Place } from "./types/places";
const res = await fetch(
"https://example-data.com/api/v1/places/84"
);
const place = (await res.json()) as Place; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/places/84"
)
place = res.json() Response
{
"id": 84,
"name": "Crescent Bay of Kenya",
"slug": "crescent-bay-of-kenya-84",
"kind": "beach",
"city": "Nairobi",
"countryAlpha2": "KE",
"latitude": 6.919331,
"longitude": 23.717219,
"rating": 3.6,
"ratingCount": 2813,
"description": "Ago veritatis ab strues. Cicuta paens cura cognomen atqui talus tumultus volva tricesimus cupiditate. Caries eos compono odit alius velit undique.",
"imageUrl": "https://picsum.photos/seed/place-84/1200/800",
"createdAt": "2025-11-27T07:17:00.261Z"
}