Loading documentation...
Complete guide to using void.api — free & open for everyone
https://xvoid.vercel.appvoid.api is a free and open API service for everyone. No API key needed, no registration required. All endpoints are ready to use instantly for development, testing, or production.
Simply select an endpoint, fill in parameters (if any), and send the request. All responses are in consistent JSON format.
All void.api endpoints are public and require no API key, token, or authentication headers. You can use them right away.
Every response follows a standard format with status field, data (for success), and message (for errors).
{
"success": true,
"data": { ... }
}{
"success": false,
"message": "Error description here"
}/api/usersGet list of users
fetch('https://xvoid.vercel.app/api/users')
.then(res => res.json())
.then(data => console.log(data));{
"success": true,
"data": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com"
},
{
"id": 2,
"name": "Jane Doe",
"email": "jane@example.com"
}
]
}/api/users/:idGet user by ID
| Parameters | Description |
|---|---|
idrequired | User ID |
fetch('https://xvoid.vercel.app/api/users/1')
.then(res => res.json())
.then(data => console.log(data));{
"success": true,
"data": {
"id": 1,
"name": "John Doe",
"email": "john@example.com"
}
}/api/usersCreate new user
| Parameters | Description |
|---|---|
namerequired | User full name |
emailrequired | User email address |
fetch('https://xvoid.vercel.app/api/users', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'Jane Doe',
email: 'jane@example.com'
})
}).then(res => res.json());{
"success": true,
"message": "User created successfully",
"data": {
"id": 3,
"name": "Jane Doe",
"email": "jane@example.com"
}
}/api/users/:idUpdate user data
| Parameters | Description |
|---|---|
idrequired | User ID |
nameoptional | New name |
emailoptional | New email |
fetch('https://xvoid.vercel.app/api/users/1', {
method: 'PUT',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name: 'John Updated' })
}).then(res => res.json());{
"success": true,
"message": "User updated successfully",
"data": {
"id": 1,
"name": "John Updated",
"email": "john@example.com"
}
}/api/users/:idDelete user
| Parameters | Description |
|---|---|
idrequired | User ID |
fetch('https://xvoid.vercel.app/api/users/1', {
method: 'DELETE'
}).then(res => res.json());{
"success": true,
"message": "User deleted successfully"
}Each IP is limited to 100 requests per minute. If exceeded, you will receive a 429 Too Many Requests response.
All errors are returned in consistent JSON format with success: false and a message field explaining the error.