example-data.com
Menu
Browse docs and collections

Overview

restaurants / #39

Stroman - Wolf

thai · Hoboken · $$ · ★ 3.7 (165)

463 Bahringer Underpass

Phone
+1 202-555-0138 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 39,
  "name": "Stroman - Wolf",
  "slug": "stroman-wolf-39",
  "cuisine": "thai",
  "priceRange": "$$",
  "rating": 3.7,
  "ratingCount": 165,
  "countryAlpha2": "TH",
  "city": "Hoboken",
  "neighborhood": "Shropshire",
  "address": "463 Bahringer Underpass",
  "phone": "+1 202-555-0138 ext 1",
  "website": null,
  "hasDelivery": false,
  "isOpen": true,
  "latitude": 56.713901,
  "longitude": -179.728554,
  "createdAt": "2025-08-23T12:42:00.216Z",
  "updatedAt": "2025-08-23T12:42:00.216Z"
}