example-data.com
Menu
Browse docs and collections

Overview

addresses / #251

billing

userId
Sammy Schmidt @sammy.schmidt
label
billing
recipient
Dr. Ismael Sipes III
street1
837 Grady Course
street2
Apt. 998
city
Bozeman
region
Michigan
postalCode
48866
countryAlpha2
CL
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 251,
  "userId": 186,
  "label": "billing",
  "recipient": "Dr. Ismael Sipes III",
  "street1": "837 Grady Course",
  "street2": "Apt. 998",
  "city": "Bozeman",
  "region": "Michigan",
  "postalCode": "48866",
  "countryAlpha2": "CL",
  "isDefault": true,
  "createdAt": "2026-04-22T00:23:19.633Z"
}