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.
/api/users.jsonSample 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.
/api/products.jsonSample 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.
/api/orders.jsonSample 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.
/api/employees.jsonSample 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.
/api/todos.jsonSample 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.
/api/posts.jsonSample Countries JSON
Twenty countries with ISO codes, capitals, continents, real population figures, and currencies - reference-style data for dropdowns, maps, and localization exercises.
/api/countries.jsonSample 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.
/api/config.jsonLarge 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.
/api/large-1mb.jsonLarge 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.
/api/large-5mb.jsonThe 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.