example-data.com
Menu
Browse docs and collections

accounts

accounts

Browse 507 accounts records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

Travel Card

userId
Amina King @amina_king41
name
Travel Card
type
credit_card
balance
-3399.7
currency
JPY
isActive
false
createdAt

Everyday Checking

userId
Amina King @amina_king41
name
Everyday Checking
type
checking
balance
315.9
currency
CHF
isActive
true
createdAt

Showing first 6 of 24 on this page.

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/accounts?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/accounts?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/accounts?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Account>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/accounts",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 1,
      "userId": 1,
      "name": "Emergency Fund",
      "type": "savings",
      "balance": 5751.77,
      "currency": "EUR",
      "isActive": true,
      "createdAt": "2025-09-16T19:40:55.373Z"
    },
    {
      "id": 2,
      "userId": 1,
      "name": "Rewards Card",
      "type": "credit_card",
      "balance": -2669.95,
      "currency": "GBP",
      "isActive": true,
      "createdAt": "2025-07-21T13:56:30.180Z"
    },
    {
      "id": 3,
      "userId": 1,
      "name": "Everyday Checking",
      "type": "checking",
      "balance": 4936.13,
      "currency": "JPY",
      "isActive": true,
      "createdAt": "2024-09-12T12:06:42.598Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 507,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/accounts?page=1",
    "first": "/api/v1/accounts?page=1",
    "last": "/api/v1/accounts?page=21",
    "next": "/api/v1/accounts?page=2",
    "prev": null
  }
}

View full response →