example-data.com
Menu
Browse docs and collections

Overview

restaurants / #32

Walker - Botsford

chinese · Zulaufburgh · $$$$ · ★ 3.7 (2173)

928 Main Street S

Phone
+1 202-555-0131 ext 1

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/restaurants/32" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/restaurants/32"
);
const restaurant = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/restaurants.d.ts https://example-data.com/types/restaurants.d.ts
import type { Restaurant } from "./types/restaurants";

const res = await fetch(
  "https://example-data.com/api/v1/restaurants/32"
);
const restaurant = (await res.json()) as Restaurant;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/restaurants/32"
)
restaurant = res.json()

Response

{
  "id": 32,
  "name": "Walker - Botsford",
  "slug": "walker-botsford-32",
  "cuisine": "chinese",
  "priceRange": "$$$$",
  "rating": 3.7,
  "ratingCount": 2173,
  "countryAlpha2": "TR",
  "city": "Zulaufburgh",
  "neighborhood": "Gwynedd County",
  "address": "928 Main Street S",
  "phone": "+1 202-555-0131 ext 1",
  "website": null,
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 41.335771,
  "longitude": 123.342184,
  "createdAt": "2025-08-18T09:27:09.979Z",
  "updatedAt": "2025-08-18T09:27:09.979Z"
}