example-data.com
Menu
Browse docs and collections

Overview

addresses / #219

billing

userId
Amparo Dietrich @amparo.dietrich
label
billing
recipient
Mr. Armando Wisoky
street1
30241 Hahn Orchard
street2
city
Gerholdside
region
Rhode Island
postalCode
36443
countryAlpha2
KR
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 219,
  "userId": 159,
  "label": "billing",
  "recipient": "Mr. Armando Wisoky",
  "street1": "30241 Hahn Orchard",
  "street2": null,
  "city": "Gerholdside",
  "region": "Rhode Island",
  "postalCode": "36443",
  "countryAlpha2": "KR",
  "isDefault": false,
  "createdAt": "2025-12-09T10:39:33.408Z"
}