example-data.com
Menu
Browse docs and collections

Overview

addresses / #269

home

userId
Frederic Armstrong @frederic_armstrong96
label
home
recipient
Barry Carter
street1
4390 East Road
street2
city
West Clinton
region
Arizona
postalCode
55848-1753
countryAlpha2
KE
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 269,
  "userId": 199,
  "label": "home",
  "recipient": "Barry Carter",
  "street1": "4390 East Road",
  "street2": null,
  "city": "West Clinton",
  "region": "Arizona",
  "postalCode": "55848-1753",
  "countryAlpha2": "KE",
  "isDefault": true,
  "createdAt": "2026-03-21T01:36:43.241Z"
}