example-data.com
Menu
Browse docs and collections

Overview

restaurants / #78

Medhurst, Effertz and Brown

italian · Franeckiburgh · $$$$ · ★ 3.2 (389)

3922 Hawthorn Close

Phone
+1 202-555-0177 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 78,
  "name": "Medhurst, Effertz and Brown",
  "slug": "medhurst-effertz-and-brown-78",
  "cuisine": "italian",
  "priceRange": "$$$$",
  "rating": 3.2,
  "ratingCount": 389,
  "countryAlpha2": "NG",
  "city": "Franeckiburgh",
  "neighborhood": "County Londonderry",
  "address": "3922 Hawthorn Close",
  "phone": "+1 202-555-0177 ext 1",
  "website": null,
  "hasDelivery": false,
  "isOpen": true,
  "latitude": 7.398285,
  "longitude": 126.313715,
  "createdAt": "2026-01-25T11:50:30.373Z",
  "updatedAt": "2026-01-25T11:50:30.373Z"
}