example-data.com
Menu
Browse docs and collections

Overview

addresses / #10

billing

userId
Einar Volkman @einar_volkman69
label
billing
recipient
Adrian Schmitt
street1
76305 Daugherty Trafficway
street2
city
New Myleston
region
New Mexico
postalCode
66415
countryAlpha2
VN
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 10,
  "userId": 7,
  "label": "billing",
  "recipient": "Adrian Schmitt",
  "street1": "76305 Daugherty Trafficway",
  "street2": null,
  "city": "New Myleston",
  "region": "New Mexico",
  "postalCode": "66415",
  "countryAlpha2": "VN",
  "isDefault": false,
  "createdAt": "2026-02-18T01:07:38.836Z"
}