example-data.com
Menu
Browse docs and collections

Overview

addresses / #233

other

userId
Kaleb Schmidt @kaleb.schmidt
label
other
recipient
Ian Volkman
street1
225 Mandy Forge
street2
city
Hodkiewiczport
region
South Carolina
postalCode
18076-9188
countryAlpha2
IL
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 233,
  "userId": 171,
  "label": "other",
  "recipient": "Ian Volkman",
  "street1": "225 Mandy Forge",
  "street2": null,
  "city": "Hodkiewiczport",
  "region": "South Carolina",
  "postalCode": "18076-9188",
  "countryAlpha2": "IL",
  "isDefault": true,
  "createdAt": "2025-07-22T20:36:16.356Z"
}