example-data.com
Menu
Browse docs and collections

Overview

addresses / #295

home

userId
Ressie Howell-Hodkiewicz @ressie_howell-hodkiewicz35
label
home
recipient
William Rodriguez
street1
89105 Osinski Extension
street2
city
D'Amorefort
region
Maryland
postalCode
99031-3218
countryAlpha2
CN
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 295,
  "userId": 214,
  "label": "home",
  "recipient": "William Rodriguez",
  "street1": "89105 Osinski Extension",
  "street2": null,
  "city": "D'Amorefort",
  "region": "Maryland",
  "postalCode": "99031-3218",
  "countryAlpha2": "CN",
  "isDefault": false,
  "createdAt": "2025-07-19T13:59:05.959Z"
}