example-data.com
Menu
Browse docs and collections

Overview

restaurants / #85

Ritchie - Rowe

american · Trompfort · $$$ · ★ 2.9 (2155)

70353 Flatley Ford

Phone
+1 202-555-0184 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 85,
  "name": "Ritchie - Rowe",
  "slug": "ritchie-rowe-85",
  "cuisine": "american",
  "priceRange": "$$$",
  "rating": 2.9,
  "ratingCount": 2155,
  "countryAlpha2": "PT",
  "city": "Trompfort",
  "neighborhood": "Highlands and Islands",
  "address": "70353 Flatley Ford",
  "phone": "+1 202-555-0184 ext 1",
  "website": null,
  "hasDelivery": false,
  "isOpen": true,
  "latitude": -19.884198,
  "longitude": -12.462147,
  "createdAt": "2025-10-03T10:58:06.659Z",
  "updatedAt": "2025-10-03T10:58:06.659Z"
}