example-data.com
Menu
Browse docs and collections

Overview

addresses / #164

home

userId
Telly Sanford @telly.sanford
label
home
recipient
Frederick Sawayn V
street1
96533 Erdman Spurs
street2
city
Aufderharworth
region
Connecticut
postalCode
71980-1073
countryAlpha2
AE
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 164,
  "userId": 123,
  "label": "home",
  "recipient": "Frederick Sawayn V",
  "street1": "96533 Erdman Spurs",
  "street2": null,
  "city": "Aufderharworth",
  "region": "Connecticut",
  "postalCode": "71980-1073",
  "countryAlpha2": "AE",
  "isDefault": true,
  "createdAt": "2026-02-11T05:39:18.218Z"
}