Sample JSON Files & Free Test API

Realistic JSON datasets you can download or fetch directly - users, products, nested orders, reference data, and large files for performance testing. Every dataset is also served as a free, CORS-enabled endpoint: no signup, no API key, no rate limits.

fetch("https://jsonconsole.com/api/users.json")
  .then(res => res.json())
  .then(users => console.log(users.length, "users"));

Sample Users JSON

Sixty realistic user records with names, emails, usernames, ages, locations, roles, and registration timestamps - the dataset you need for auth flows, user tables, and profile UIs.

60 records20 KB/api/users.json

Sample Products JSON

Sixty e-commerce product records with names, SKUs, categories, prices, stock levels, ratings, and tags - everything a catalog, cart, or product-grid prototype needs.

60 records16 KB/api/products.json

Sample Orders JSON (Nested)

Forty order records with nested line-item arrays, computed totals, statuses, and foreign keys to the users dataset - deliberately nested for testing code that traverses structure.

40 records20 KB/api/orders.json

Sample Employees JSON

Fifty employee records with departments, titles, salaries, hire dates, remote flags, and self-referencing manager IDs - a classic HR dataset for org charts and reporting exercises.

50 records12 KB/api/employees.json

Sample Todos JSON

Sixty todo items with titles, completion flags, priorities, due dates, and user references - the canonical tutorial dataset, ready for every todo-app walkthrough ever written.

60 records9 KB/api/todos.json

Sample Posts JSON

Forty blog-post records with titles, lorem bodies, author references, tags, like counts, and publication timestamps - for feeds, cards, and CMS-style prototypes.

40 records17 KB/api/posts.json

Sample Countries JSON

Twenty countries with ISO codes, capitals, continents, real population figures, and currencies - reference-style data for dropdowns, maps, and localization exercises.

20 records3 KB/api/countries.json

Sample Config JSON (Deeply Nested)

A single deeply nested configuration object - app metadata, server settings with nested CORS, database pools, cache clusters, feature flags with nested rate limits, and logging destinations. Built for testing anything that walks structure.

1 object, 6 sections1 KB/api/config.json

Large JSON File - 1 MB Sample

Roughly 1,600 nested records (~1.1 MB minified) combining user and product objects - sized for testing how parsers, editors, virtual-scrolling tables, and upload flows behave beyond toy payloads.

~1,600 records1.1 MB/api/large-1mb.json

Large JSON File - 5 MB Sample

Roughly 7,200 nested records (~5 MB minified) - the stress-test tier. If your tool, parser, or UI virtualization survives this file smoothly, typical production payloads are easy.

~7,200 records5.0 MB/api/large-5mb.json

The free test API

Every dataset lives at https://jsonconsole.com/api/<name>.json with Access-Control-Allow-Origin: *, so it works from any web page, tutorial, CodePen, or classroom exercise. Endpoints are read-only (GET), served from a global CDN, and stable - safe to hard-code in READMEs and course material.

# curl
curl https://jsonconsole.com/api/products.json

# httpie
http https://jsonconsole.com/api/todos.json
# Python
import requests
users = requests.get(
    "https://jsonconsole.com/api/users.json"
).json()

Need a different shape?

Looking for small copy-paste snippets instead? See JSON Examples. Generate custom mock records with the Mock JSON Generator, convert any dataset with JSON to CSV or JSON to SQL, or explore structure in the JSON Viewer.