example-data.com
Menu
Browse docs and collections

Overview

addresses / #211

other

userId
Brad Wisoky @brad.wisoky41
label
other
recipient
Willie Ruecker
street1
789 Church Street
street2
city
Levittown
region
Massachusetts
postalCode
12359
countryAlpha2
EG
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/addresses/211"
);
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/211"
);
const address = (await res.json()) as Address;

Python example

import requests

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

Response

{
  "id": 211,
  "userId": 154,
  "label": "other",
  "recipient": "Willie Ruecker",
  "street1": "789 Church Street",
  "street2": null,
  "city": "Levittown",
  "region": "Massachusetts",
  "postalCode": "12359",
  "countryAlpha2": "EG",
  "isDefault": true,
  "createdAt": "2025-09-01T02:46:13.550Z"
}