example-data.com
Menu
Browse docs and collections

Overview

users / #73

Ryan Conroy

Ryan Conroy

@ryan_conroy

philosopher, artist, inventor

Phone
+1 202-555-0172 ext 1
Joined
3/31/2025

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/users/73"
);
const user = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/users.d.ts https://example-data.com/types/users.d.ts
import type { User } from "./types/users";

const res = await fetch(
  "https://example-data.com/api/v1/users/73"
);
const user = (await res.json()) as User;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/users/73"
)
user = res.json()

Response

{
  "id": 73,
  "firstName": "Ryan",
  "lastName": "Conroy",
  "fullName": "Ryan Conroy",
  "username": "ryan_conroy",
  "email": "ryan_conroy@example.com",
  "phone": "+1 202-555-0172 ext 1",
  "bio": "philosopher, artist, inventor",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-73",
  "thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-73&size=128",
  "coverImageUrl": "https://picsum.photos/seed/user-cover-73/1200/400",
  "emailVerified": true,
  "isActive": true,
  "twitterHandle": null,
  "createdAt": "2025-03-31T10:39:47.839Z",
  "updatedAt": "2025-08-25T15:33:40.624Z"
}