example-data.com
Menu
Browse docs and collections

Overview

restaurants / #69

Armstrong - Rau

indian · Uptonshire · $ · ★ 3.9 (2280)

1134 Mill Lane

Phone
+1 202-555-0168 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 69,
  "name": "Armstrong - Rau",
  "slug": "armstrong-rau-69",
  "cuisine": "indian",
  "priceRange": "$",
  "rating": 3.9,
  "ratingCount": 2280,
  "countryAlpha2": "FI",
  "city": "Uptonshire",
  "neighborhood": "Central",
  "address": "1134 Mill Lane",
  "phone": "+1 202-555-0168 ext 1",
  "website": null,
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -2.34049,
  "longitude": 96.042954,
  "createdAt": "2026-05-16T08:30:01.466Z",
  "updatedAt": "2026-05-16T08:30:01.466Z"
}