example-data.com
Menu
Browse docs and collections

Overview

restaurants / #100

Walsh LLC

thai · Predovicville · $$$$ · ★ 4.8 (2126)

4324 Mary Street

Phone
+1 202-555-0199 ext 1

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 100,
  "name": "Walsh LLC",
  "slug": "walsh-llc-100",
  "cuisine": "thai",
  "priceRange": "$$$$",
  "rating": 4.8,
  "ratingCount": 2126,
  "countryAlpha2": "EG",
  "city": "Predovicville",
  "neighborhood": "Crawford County",
  "address": "4324 Mary Street",
  "phone": "+1 202-555-0199 ext 1",
  "website": null,
  "hasDelivery": true,
  "isOpen": true,
  "latitude": -48.566871,
  "longitude": -5.978467,
  "createdAt": "2025-11-11T15:57:07.027Z",
  "updatedAt": "2025-11-11T15:57:07.027Z"
}