example-data.com
Menu
Browse docs and collections

Overview

addresses / #146

work

userId
Vida Kunde-Koepp @vida_kunde-koepp95
label
work
recipient
Henry Pollich
street1
672 Abdiel Shoals
street2
city
West New York
region
California
postalCode
57402
countryAlpha2
IL
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 146,
  "userId": 109,
  "label": "work",
  "recipient": "Henry Pollich",
  "street1": "672 Abdiel Shoals",
  "street2": null,
  "city": "West New York",
  "region": "California",
  "postalCode": "57402",
  "countryAlpha2": "IL",
  "isDefault": true,
  "createdAt": "2025-07-09T13:02:19.865Z"
}