example-data.com
Menu
Browse docs and collections

Overview

restaurants / #16

Mohr - Harvey

vietnamese · South Kayachester · $ · ★ 4.8 (447)

27592 Parisian Freeway

Phone
+1 202-555-0115 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 16,
  "name": "Mohr - Harvey",
  "slug": "mohr-harvey-16",
  "cuisine": "vietnamese",
  "priceRange": "$",
  "rating": 4.8,
  "ratingCount": 447,
  "countryAlpha2": "ET",
  "city": "South Kayachester",
  "neighborhood": "Lancashire",
  "address": "27592 Parisian Freeway",
  "phone": "+1 202-555-0115 ext 1",
  "website": null,
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -34.756237,
  "longitude": -43.551071,
  "createdAt": "2025-08-21T08:00:33.133Z",
  "updatedAt": "2025-08-21T08:00:33.133Z"
}