example-data.com

restaurants / #13

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/restaurants/13" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/restaurants/13"
);
const restaurant = await res.json();
import type { Restaurant } from "https://example-data.com/types/restaurants.d.ts";

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

res = requests.get(
    "https://example-data.com/api/v1/restaurants/13"
)
restaurant = res.json()
{
  "id": 13,
  "name": "Greenfelder LLC",
  "slug": "greenfelder-llc-13",
  "cuisine": "chinese",
  "priceRange": "$",
  "rating": 3.2,
  "ratingCount": 2643,
  "countryAlpha2": "AE",
  "city": "Jaydentown",
  "neighborhood": "Central",
  "address": "56418 St Mary's Road",
  "phone": "(913) 688-5780",
  "website": "https://greenfelder-llc-13.example.com",
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 3.676578,
  "longitude": -89.621484,
  "createdAt": "2026-04-18T15:55:34.683Z",
  "updatedAt": "2026-04-18T15:55:34.683Z"
}
Draftbit