Fake API

Beeceptor's Fake API server offers a range of hosted, free REST APIs available to anyone in need of simulated data for their applications or demonstrations. This resource is perfect for populating your sandbox environments, prototypes, or conducting API testing and unit tests without requiring your own server setup.

Fake API is your solution to frontend-first development! No backend delays – focus on rapid prototyping. Perfect for demos, teaching, interviews. Always online, always available. Empower your creativity today!

Fake API server is up and running!

We have set up the mock routes to ensure a smooth adoption. Copy the URL below and set it as the API base URL in your code, and instantly harness the full potential of mocked Fake API APIs.

https://fake-json-api.mock.beeceptor.com



200
GET  /users/{user_id}
Retrieve a user's detail. You get a unique user object everytime. ID remains same as sent in URL.
N/A
N/A
{
  "Content-Type": "application/json"
}
{
    "id": {{pathParam 'user_id'}},
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
}
200
GET  /users
Generate fake users (names, address, profile photo, phone, etc). Each time you get new user objects.
N/A
N/A
{
  "Content-Type": "application/json"
}
[
  {
    "id": 1,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 2,
    "name": "{{faker 'person.firstName'}} {{faker 'person.astName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 3,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 4,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 5,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 6,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 7,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  },
  {
    "id": 8,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 9,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }, 
  {
    "id": 10,
    "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}",
    "company": "{{faker 'company.name'}}",
    "username": "{{faker 'internet.userName'}}",
    "email": "{{faker 'internet.email'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "state": "{{faker 'location.state'}}",
    "country": "{{faker 'location.country'}}",
    "phone": "{{faker 'phone.number'}}",
    "photo": "https://json-server.dev/ai-profiles/{{faker 'number.int' '100'}}.png"
  }
]
200
GET  /companies/{company_id}
Retrieve details about a company by passing company ID. (company-name, market capital, domain, etc.)
N/A
N/A
{
  "Content-Type": "application/json"
}
{
    "id": {{pathParam 'company_id'}},
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
}
200
GET  /companies
Each time you call this API, you get unique ten company objects.
N/A
N/A
{
  "Content-Type": "application/json"
}
[
  {
    "id": 1,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 2,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 3,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 4,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 4,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 5,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 6,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 7,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 8,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 9,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  },
  {
    "id": 10,
    "name": "{{faker 'company.name'}}",
    "address": "{{faker 'location.streetAddress'}}",
    "zip": "{{faker 'location.zipCode'}}",
    "country": "{{faker 'location.country'}}",
    "employeeCount": {{faker 'number.int' '10000'}},
    "industry": "Technology",
    "marketCap": {{faker 'number.int' '{min:1000000, max:10000000000}'}},
    "domain": "{{faker 'internet.domainName'}}",
    "logo": "https://example.com/logo1.png",
    "ceoName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}"
  }
]
200
GET  /customers
Get a list of customers with username, password, full address, created date for an e-comm example.
N/A
N/A
{
  "Content-Type": "application/json"
}
[
  {
    "id": 1,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 2,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 3,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 4,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 5,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 6,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 7,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 8,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 9,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  },
  {
    "id": 10,
    "username": "{{faker 'internet.userName'}}",
    "password": "{{faker 'internet.password'}}",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "123-456-7890",
    "address": {
      "street": "{{faker 'location.streetAddress'}}",
      "city": "{{faker 'location.state'}}",
      "country": "{{faker 'location.country'}}",
      "zipcode": "{{faker 'location.zipCode'}}"
    },
    "created_at": "{{faker 'date.past' '1'}}"
  }
]
200
GET  /notifications
Get a list of notifications to show to a user. You can see find title, message, read status, type.
N/A
N/A
{
  "Content-Type": "application/json"
}
[
  {
    "id": 1,
    "title": "New Product Arrival",
    "message": "Explore our latest collection of tech gadgets!",
    "timestamp": "2023-10-25T10:30:00Z",
    "type": "announcement",
    "read": false
  },
  {
    "id": 2,
    "title": "Flash Sale Alert",
    "message": "Hurry! 24-hour flash sale on fashion items starts now.",
    "timestamp": "2023-10-24T15:45:00Z",
    "type": "promotion",
    "read": true
  },
  {
    "id": 3,
    "title": "Order Shipped",
    "message": "Your order #123456 has been shipped and is on its way!",
    "timestamp": "2023-10-22T09:15:00Z",
    "type": "order",
    "read": false
  },
  {
    "id": 4,
    "title": "Special Offer",
    "message": "Get 20% off on all home appliances this weekend.",
    "timestamp": "2023-10-21T18:00:00Z",
    "type": "promotion",
    "read": false
  },
  {
    "id": 5,
    "title": "Product Restocked",
    "message": "The popular 'Smartphone X' is back in stock!",
    "timestamp": "2023-10-19T14:20:00Z",
    "type": "announcement",
    "read": true
  },
  {
    "id": 6,
    "title": "Order Delivered",
    "message": "Your order #987654 has been successfully delivered.",
    "timestamp": "2023-10-18T11:10:00Z",
    "type": "order",
    "read": true
  },
  {
    "id": 7,
    "title": "Sneak Peek",
    "message": "Here's a sneak peek of our upcoming fashion line.",
    "timestamp": "2023-10-17T17:30:00Z",
    "type": "announcement",
    "read": false
  },
  {
    "id": 8,
    "title": "New Review",
    "message": "A customer has left a review for 'Smartwatch Y'.",
    "timestamp": "2023-10-16T20:05:00Z",
    "type": "review",
    "read": false
  },
  {
    "id": 9,
    "title": "Exclusive VIP Sale",
    "message": "VIP members get early access to our holiday sale.",
    "timestamp": "2023-10-14T08:45:00Z",
    "type": "promotion",
    "read": true
  },
  {
    "id": 10,
    "title": "Customer Support",
    "message": "Our customer support team is available 24/7 to assist you.",
    "timestamp": "2023-10-12T12:00:00Z",
    "type": "service",
    "read": true
  }
]
200
GET  /
Default response. Responds with the meta information about this endpoint.
N/A
N/A
{
  "Content-Type": "application/json"
}
{
  "status": "Awesome! You have reached the Fake JSON APIs provided by Beeceptor. Go to https://beeceptor.com/mock-server/json-placeholder and find the request paths you want to use. If you are using trailing slashes and this came up, please remove those to see the actual response.",
  "paths" : [
    "https://fake-json-api.mock.beeceptor.com/users",
    "https://fake-json-api.mock.beeceptor.com/users/1",
    "https://fake-json-api.mock.beeceptor.com/companies",
    "https://fake-json-api.mock.beeceptor.com/companies/1",
    "https://fake-json-api.mock.beeceptor.com/customers"    
  ]
}