example-data.com
Menu
Browse docs and collections

Overview

addresses / #339

shipping

userId
Lawrence Rogahn @lawrence_rogahn33
label
shipping
recipient
Toni Christiansen
street1
371 Somerset Road
street2
city
Citrus Heights
region
Washington
postalCode
32733-7002
countryAlpha2
NO
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 339,
  "userId": 245,
  "label": "shipping",
  "recipient": "Toni Christiansen",
  "street1": "371 Somerset Road",
  "street2": null,
  "city": "Citrus Heights",
  "region": "Washington",
  "postalCode": "32733-7002",
  "countryAlpha2": "NO",
  "isDefault": true,
  "createdAt": "2026-04-27T03:21:18.049Z"
}