example-data.com
Menu
Browse docs and collections

Overview

addresses / #64

billing

userId
Hermina West @hermina.west3
label
billing
recipient
Kristina Langosh
street1
99476 Lesch Harbor
street2
city
Altamonte Springs
region
Colorado
postalCode
17965-2647
countryAlpha2
TH
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 64,
  "userId": 51,
  "label": "billing",
  "recipient": "Kristina Langosh",
  "street1": "99476 Lesch Harbor",
  "street2": null,
  "city": "Altamonte Springs",
  "region": "Colorado",
  "postalCode": "17965-2647",
  "countryAlpha2": "TH",
  "isDefault": false,
  "createdAt": "2026-03-23T01:11:44.996Z"
}