example-data.com
Menu
Browse docs and collections

Overview

addresses / #328

home

userId
Roosevelt Ullrich @roosevelt.ullrich75
label
home
recipient
Wm Langosh
street1
401 Adolphus Highway
street2
—
city
Rio Rancho
region
North Dakota
postalCode
15132
countryAlpha2
IE
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 328,
  "userId": 237,
  "label": "home",
  "recipient": "Wm Langosh",
  "street1": "401 Adolphus Highway",
  "street2": null,
  "city": "Rio Rancho",
  "region": "North Dakota",
  "postalCode": "15132",
  "countryAlpha2": "IE",
  "isDefault": true,
  "createdAt": "2025-06-23T11:46:16.402Z"
}