Mock CSV & Excel Spreadsheet Exports
Instantly stream or download any Playground API resource as standard RFC 4180 compliant CSV text or native Microsoft Excel (.xlsx) binary workbooks. Features automatic nested object flattening, relational filtering, and custom collection support.
One-Click Resource Downloads
Live Sandbox StatePost IDs, user associations, title, and body content.
Flattened contact, street address, and company metadata.
Feedback records with author email and post relationship.
Task checklists, completion booleans, and user ownership.
3 Ways to Request Exports
URL Extension Route
Append .csv or .xlsx directly to any collection endpoint URL.
Query Parameter
Pass ?_format=csv or ?_format=xlsx alongside sorting and relational filters.
HTTP Accept Header
Use standard HTTP content negotiation with the Accept header.
Automatic Nested Object Flattening
Standard CSV and spreadsheet engines cannot natively represent hierarchical JSON trees. Playground API automatically unrolls nested sub-objects into clean, dot-notated column headers:
Relational Sub-Resources & Custom Collections
All filtering, ordering, relational parameters, and dynamic custom collections fully support spreadsheet exports:
Export all posts written by User #1 as CSV
GET /api/v1/users/1/posts.csvExport custom seeded products collection to Excel
GET /api/v1/custom/products.xlsxExport incomplete todos sorted by title in descending order
GET /api/v1/todos.csv?completed=false&_sort=title&_order=desc