example-data.com
Menu
Browse docs and collections

Overview

restaurants / #89

Weimann, Herzog and Wisoky

thai · Grahamberg · $$$ · ★ 3.2 (1023)

31280 Joey Burg

Phone
+1 202-555-0188 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/restaurants/89"
);
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/89"
);
const restaurant = (await res.json()) as Restaurant;

Python example

import requests

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

Response

{
  "id": 89,
  "name": "Weimann, Herzog and Wisoky",
  "slug": "weimann-herzog-and-wisoky-89",
  "cuisine": "thai",
  "priceRange": "$$$",
  "rating": 3.2,
  "ratingCount": 1023,
  "countryAlpha2": "KR",
  "city": "Grahamberg",
  "neighborhood": "Cumbria",
  "address": "31280 Joey Burg",
  "phone": "+1 202-555-0188 ext 1",
  "website": null,
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -10.077446,
  "longitude": -72.871538,
  "createdAt": "2025-07-31T20:37:05.127Z",
  "updatedAt": "2025-07-31T20:37:05.127Z"
}