example-data.com
Menu
Browse docs and collections

Overview

addresses / #113

billing

userId
Phyllis Hyatt @phyllis_hyatt83
label
billing
recipient
Shawn Harber
street1
13413 Dayton Cliff
street2
Apt. 672
city
Canton
region
New Jersey
postalCode
96186
countryAlpha2
FI
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 113,
  "userId": 84,
  "label": "billing",
  "recipient": "Shawn Harber",
  "street1": "13413 Dayton Cliff",
  "street2": "Apt. 672",
  "city": "Canton",
  "region": "New Jersey",
  "postalCode": "96186",
  "countryAlpha2": "FI",
  "isDefault": false,
  "createdAt": "2025-11-06T11:49:04.308Z"
}