example-data.com
Menu
Browse docs and collections

Overview

addresses / #261

billing

userId
Rosemary Krajcik @rosemary_krajcik
label
billing
recipient
Shelley Walter
street1
7316 Nelson Road
street2
Apt. 907
city
Kellyview
region
South Carolina
postalCode
87796
countryAlpha2
AE
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 261,
  "userId": 191,
  "label": "billing",
  "recipient": "Shelley Walter",
  "street1": "7316 Nelson Road",
  "street2": "Apt. 907",
  "city": "Kellyview",
  "region": "South Carolina",
  "postalCode": "87796",
  "countryAlpha2": "AE",
  "isDefault": true,
  "createdAt": "2026-04-10T00:27:01.093Z"
}