example-data.com
Menu
Browse docs and collections

Overview

addresses / #67

other

userId
Simeon Robel @simeon_robel12
label
other
recipient
Nicholas Cummings
street1
360 Turcotte Via
street2
Apt. 621
city
Alhambra
region
Connecticut
postalCode
43179-8040
countryAlpha2
AT
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/addresses/67"
);
const address = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/addresses.d.ts https://example-data.com/types/addresses.d.ts
import type { Address } from "./types/addresses";

const res = await fetch(
  "https://example-data.com/api/v1/addresses/67"
);
const address = (await res.json()) as Address;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/addresses/67"
)
addresse = res.json()

Response

{
  "id": 67,
  "userId": 55,
  "label": "other",
  "recipient": "Nicholas Cummings",
  "street1": "360 Turcotte Via",
  "street2": "Apt. 621",
  "city": "Alhambra",
  "region": "Connecticut",
  "postalCode": "43179-8040",
  "countryAlpha2": "AT",
  "isDefault": true,
  "createdAt": "2026-03-03T17:15:39.820Z"
}