API Ninja Hub is a REST API that provides fake data for testing and prototyping. It is a free to use service that provides a REST API to generate random and mock data without any restrictions. It provides endpoints for generating random user data, random data for posts, todos, comments, and much more.
The /api/users
endpoint provides a list of users with randomly generated data. The data includes the user's name, email, address, phone number, and website. The data is generated randomly and is not based on any real user data. The data is generated using the API Ninja Hub Users package.
The user object is a JSON object that contains the following properties:
id
- The unique identifier for the user.name
- The name of the user.username
- The username of the user.email
- The email address of the user.address
- The address of the user.street
- The street address of the user.suite
- The suite number of the user.city
- The city of the user.zipcode
- The zip code of the user.geo
- The geo location of the user.lat
- The latitude of the user.lng
- The longitude of the user.phone
- The phone number of the user.website
- The website of the user.company
- The company of the user.catchPhrase
- The catch phrase of the user.bs
- The bs of the user.Result of an APIhttps://api.mandorakannu.xyz/api/users/1
[ { "id": 1, "name": "John Doe", "username": "johndoe", "email": "johndoe@example.com", "address": { "street": "123 Main Street", "suite": "Apt 4", "city": "New York", "zipcode": "10001", "geo": { "lat": "40.7128", "lng": "-74.0060" } }, "phone": "555-123-4567", "website": "johndoe.com", "company": { "name": "ABC Company", "catchPhrase": "Providing innovative solutions", "bs": "Technology" } } ]
Result of an APIhttps://api.mandorakannu.xyz/api/users/
[ { "id": 1, "name": "John Doe", "username": "johndoe", "email": "johndoe@example.com", "address": { "street": "123 Main Street", "suite": "Apt 4", "city": "New York", "zipcode": "10001", "geo": { "lat": "40.7128", "lng": "-74.0060" } }, "phone": "555-123-4567", "website": "johndoe.com", "company": { "name": "ABC Company", "catchPhrase": "Providing innovative solutions", "bs": "Technology" } }, { "id": 2, "name": "Jane Smith", "username": "janesmith", "email": "janesmith@example.com", "address": { "street": "456 Elm Street", "suite": "Apt 10", "city": "Los Angeles", "zipcode": "90001", "geo": { "lat": "34.0522", "lng": "-118.2437" } }, "phone": "555-987-6543", "website": "janesmith.com", "company": { "name": "XYZ Corporation", "catchPhrase": "Empowering businesses", "bs": "Finance" } }, { "id": 3, "name": "Michael Johnson", "username": "michaeljohnson", "email": "michaeljohnson@example.com", "address": { "street": "789 Oak Street", "suite": "Apt 7", "city": "Chicago", "zipcode": "60601", "geo": { "lat": "41.8781", "lng": "-87.6298" } }, "phone": "555-555-5555", "website": "michaeljohnson.com", "company": { "name": "DEF Industries", "catchPhrase": "Transforming industries", "bs": "Manufacturing" } } ].
.
.
.
Upto 10 Posts.
/api/posts
endpoint.The /api/posts
endpoint provides a list of posts with randomly generated data. The data includes the user's id, id, title and body. The data is generated randomly and is not based on any real user data. The data is generated using the API Ninja Hub Posts package.
The post object is a JSON object that contains the following properties:
userId
- The user's id.id
- The post's id.title
- The post's title.body
- The post's body.Result of an APIhttps://api.mandorakannu.xyz/api/posts/1
[ { "userId": 1, "id": 1, "title": "Post 1", "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit." } ]
Result of an APIhttps://api.mandorakannu.xyz/api/posts/
[ { "userId": 1, "id": 1, "title": "Post 1", "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit." }, { "userId": 1, "id": 2, "title": "Post 2", "body": "Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." }, { "userId": 1, "id": 3, "title": "Post 3", "body": "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris." } ].
.
.
.
Upto 100 Posts.
/api/todos
endpoint.The /api/todos
endpoint provides a list of todos with randomly generated data. The data includes the todo's id, userId, title and completed. The data is generated randomly and is not based on any real todo data. The data is generated using the API Ninja Hub Todos package.
The todo object is a JSON object that contains the following properties:
id
- The id of the todo.userId
- The id of the user that the todo belongs to.title
- The title of the todo.completed
- Whether or not the todo is completed.Result of an APIhttps://api.mandorakannu.xyz/api/todos/1
[ { "userId": 1, "id": 1, "title": "Todo 1", "completed": true } ]
Result of an APIhttps://api.mandorakannu.xyz/api/todos/
[ { "userId": 1, "id": 1, "title": "Todo 1", "completed": true }, { "userId": 1, "id": 2, "title": "Todo 2", "completed": false }, { "userId": 1, "id": 3, "title": "Todo 3", "completed": false } ].
.
.
.
Upto 100 Todos.
/api/comment
endpoint.The /api/Comment
endpoint provides a list of Comment with randomly generated data. The data includes the comment's id, postId, name, email, body. The data is generated randomly and is not based on any real todo data. The data is generated using the API Ninja Hub Comment package.
The todo object is a JSON object that contains the following properties:
postId
- The id of the post.id
- The id of the comment.name
- The name of the comment.email
- The email of the comment.body
- The body of the comment.Result of an APIhttps://api.mandorakannu.xyz/api/comments/1
[ { "postId": 1, "id": 1, "name": "John Doe", "email": "john.doe@example.com", "body": "This is the first comment." } ]
Result of an APIhttps://api.mandorakannu.xyz/api/comments/
[ { "postId": 1, "id": 1, "name": "John Doe", "email": "john.doe@example.com", "body": "This is the first comment." }, { "postId": 2, "id": 2, "name": "Jane Smith", "email": "jane.smith@example.com", "body": "Great post! Thanks for sharing." }, { "postId": 3, "id": 3, "name": "Michael Johnson", "email": "michael.johnson@example.com", "body": "I have a question regarding this topic..." } ].
.
.
.
Upto 100 Comment.
/api/photos
endpoint.The /api/photos
endpoint provides a list of photos with randomly generated data. The data includes the photo's albumId, id, title, url, thumbnailUrl. The data is generated randomly and is not based on any real todo data. The data is generated using the API Ninja Hub Photos package.
The todo object is a JSON object that contains the following properties:
albumId
- The id of the album the photo belongs to.id
- The id of the photo.title
- The title of the photo.url
- The url of the photo.thumbnailUrl
- The thumbnail url of the photo.Result of an APIhttps://api.mandorakannu.xyz/api/photos/1
[ { "albumId": 1, "id": 1, "title": "string", "url": "https://via.placeholder.com/600/92c952", "thumbnailUrl": "https://via.placeholder.com/150/92c952" } ]
Result of an APIhttps://api.mandorakannu.xyz/api/photos/
[ { "albumId": 1, "id": 1, "title": "string", "url": "https://via.placeholder.com/600/92c952", "thumbnailUrl": "https://via.placeholder.com/150/92c952" }, { "albumId": 1, "id": 2, "title": "string", "url": "https://via.placeholder.com/600/771796", "thumbnailUrl": "https://via.placeholder.com/150/771796" }, { "albumId": 1, "id": 3, "title": "string", "url": "https://via.placeholder.com/600/24f355", "thumbnailUrl": "https://via.placeholder.com/150/24f355" } ].
.
.
.
Upto 100 Photos.
/api/albums
endpoint.The /api/albums
endpoint provides a list of albums with randomly generated data. The data includes the photo's userId, id, title. The data is generated randomly and is not based on any real todo data. The data is generated using the API Ninja Hub Albums package.
The todo object is a JSON object that contains the following properties:
albumId
- The id of the album the photo belongs to.id
- The id of the photo.title
- The title of the photo.url
- The url of the photo.thumbnailUrl
- The thumbnail url of the photo.Result of an APIhttps://api.mandorakannu.xyz/api/albums/1
[ { "userId": 1, "id": 1, "title": "quidem molestiae enim" } ]
Result of an APIhttps://api.mandorakannu.xyz/api/albums/
[ { "userId": 1, "id": 1, "title": "quidem molestiae enim" }, { "userId": 1, "id": 2, "title": "sunt qui excepturi placeat culpa" }, { "userId": 1, "id": 3, "title": "omnis laborum odio" } ].
.
.
.
Upto 100 Albums.
The /api/products
endpoint provides a list of products with randomly generated data. The data includes the user's id, title, price, description, category, image, rating, rate and count. The data is generated randomly and is not based on any real product data. The data is generated using the API Ninja Hub Products package.
The product object is a JSON object that contains the following properties:
id
- The unique identifier for the product.title
- The title of the product.price
- The price of the product.description
- The description of the product.category
- The category of the product.image
- The image of the product.rating
- The rating of the product.rate
- The rate of the product.count
- The count of the product.Result of an APIhttps://api.mandorakannu.xyz/api/users/1
[ { "id": 1, "title": "Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops", "price": 109.95, "description": "Your perfect pack for everyday use and walks in the forest. Stash your laptop (up to 15 inches) in the padded sleeve, your everyday", "category": "men's clothing", "image": "http://api.mandorakannu.xyz/images/bags.webp", "rating": { "rate": 3.9, "count": 120 } } ]
Result of an APIhttps://api.mandorakannu.xyz/api/products/
[ { "id": 1, "title": "Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops", "price": 109.95, "description": "Your perfect pack for everyday use and walks in the forest. Stash your laptop (up to 15 inches) in the padded sleeve, your everyday", "category": "men's clothing", "image": "http://api.mandorakannu.xyz/images/bags.webp", "rating": { "rate": 3.9, "count": 120 } }, { "id": 2, "title": "Mens Casual Premium Slim Fit T-Shirts ", "price": 22.3, "description": "Slim-fitting style, contrast raglan long sleeve, three-button henley placket, light weight & soft fabric for breathable and comfortable wearing. And Solid stitched shirts with round neck made for durability and a great fit for casual fashion wear and diehard baseball fans. The Henley style round neckline includes a three-button placket.", "category": "men's clothing", "image": "http://api.mandorakannu.xyz/images/half_shirt.webp", "rating": { "rate": 4.1, "count": 259 } }, { "id": 3, "title": "Mens Cotton Jacket", "price": 55.99, "description": "great outerwear jackets for Spring/Autumn/Winter, suitable for many occasions, such as working, hiking, camping, mountain/rock climbing, cycling, traveling or other outdoors. Good gift choice for you or your family member. A warm hearted love to Father, husband or son in this thanksgiving or Christmas Day.", "category": "men's clothing", "image": "http://api.mandorakannu.xyz/images/brown_shirt.webp", "rating": { "rate": 4.7, "count": 500 } } ].
.
.
.
Upto 20 Posts.