example-data.com
Menu
Browse docs and collections

Overview

addresses / #54

other

userId
Della Labadie @della_labadie
label
other
recipient
Kim Kassulke IV
street1
82374 Brandyn Row
street2
—
city
East Ethel
region
Florida
postalCode
46588
countryAlpha2
FR
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 54,
  "userId": 46,
  "label": "other",
  "recipient": "Kim Kassulke IV",
  "street1": "82374 Brandyn Row",
  "street2": null,
  "city": "East Ethel",
  "region": "Florida",
  "postalCode": "46588",
  "countryAlpha2": "FR",
  "isDefault": false,
  "createdAt": "2025-04-17T20:01:54.042Z"
}