example-data.com
Menu
Browse docs and collections

Overview

restaurants / #17

Simonis, Reynolds and Harber

ethiopian · Dahliastead · $$$ · ★ 3.5 (1270)

59154 Florian Parkway

Phone
+1 202-555-0116 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 17,
  "name": "Simonis, Reynolds and Harber",
  "slug": "simonis-reynolds-and-harber-17",
  "cuisine": "ethiopian",
  "priceRange": "$$$",
  "rating": 3.5,
  "ratingCount": 1270,
  "countryAlpha2": "CL",
  "city": "Dahliastead",
  "neighborhood": "Marion County",
  "address": "59154 Florian Parkway",
  "phone": "+1 202-555-0116 ext 1",
  "website": null,
  "hasDelivery": true,
  "isOpen": true,
  "latitude": 3.457806,
  "longitude": -96.429656,
  "createdAt": "2025-07-23T14:35:39.215Z",
  "updatedAt": "2025-07-23T14:35:39.215Z"
}