Dummy JSON

Sample JSON data for testing your applications and tools. Copy and use these templates for your projects.

Person

A simple person object with basic information

{
  "id": 1,
  "firstName": "John",
  "lastName": "Doe",
  "email": "john.doe@example.com",
  "phone": "+1-555-123-4567",
  "address": {
    "street": "123 Main St",
    "city": "Anytown",
    "state": "CA",
    "zipCode": "12345",
    "country": "USA"
  },
  "dateOfBirth": "1990-01-01",
  "isActive": true
}
Use the DummyJSON REST API to fetch placeholder JSON data for your projects. It's perfect for testing, prototyping, or learning without setting up a backend. Below are examples of common API endpoints and how to use them.

Rest Api GET

:

http://formatjsononline.com/api/person

How to Use Dummy JSON

These sample JSON objects can be used for various testing and development purposes:

  • Testing API integrations
  • Populating UI components with sample data
  • Practicing JSON parsing and manipulation
  • Creating documentation examples
  • Testing JSON validation tools

Simply click the "Copy" button next to any example to copy it to your clipboard, then paste it into your application or tool.

Frequently Asked Questions