Welcome! You can use All-APIs endpoints directly in your projects without signup or authentication. Our APIs provide dummy data for users, pets, products, posts, and more.
Simply make a GET request to the endpoint you want. The API returns JSON data directly.
/users – Get a list of dummy users/pets – Get a list of dummy pets/products – Get a list of dummy products/posts – Get sample postsYou can fetch API data directly in your frontend project like this:
fetch('https://all-apis.com/users')
.then(response => response.json())
.then(data => console.log(data))
.catch(err => console.error(err));
Create a simple HTML page and display API data:
<!DOCTYPE html>
<html>
<head></head>
<body>
<h1>Users</h1>
<ul id="users"></ul>
<script>
fetch('https://all-apis.com/users')
.then(res => res.json())
.then(users => {
const list = document.getElementById('users');
users.forEach(user => {
const li = document.createElement('li');
li.textContent = `${user.name} - ${user.email}`;
list.appendChild(li);
});
});
</script>
</body>
</html>
You can create a small project with all endpoints. Example:
// HTML file
<h2>Products</h2>
<ul id="products"></ul>
<script>
fetch('https://all-apis.com/products')
.then(res => res.json())
.then(products => {
const list = document.getElementById('products');
products.forEach(product => {
const li = document.createElement('li');
li.textContent = `${product.name} - $${product.price}`;
list.appendChild(li);
});
});
</script>
That’s it! You can now fetch and use dummy data directly from All-APIs.