/v1/users
Fake user profiles
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/mockdata-api/v1/users" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mockdata-api/v1/users", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mockdata-api/v1/users");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/mockdata-api/v1/users",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 5,
"results": [
{
"id": "f969ca74-ef17-46f9-8557-7680a20365f0",
"email": "[email protected]",
"phone": "722.622.6135 x5231",
"avatar": "https://cdn.jsdelivr.net/gh/faker-js/assets-person-portrait/male/512/85.jpg",
"gender": "female",
"address": {
"zip": "92554",
"city": "Anchorage",
"state": "Tennessee",
"street": "373 E Central Avenue",
"country": "Turkey"
},
"username": "Sabrina.Bauch32",
"birthdate": "1964-06-23",
"full_name": "Sabrina Bauch",
"job_title": "Regional Interactions Producer",
"last_name": "Bauch",
"first_name": "Sabrina"
},
{
"id": "8d7ff7ff-63f8-41ed-8be3-a124fcee7585",
"email": "[email protected]",
"phone": "1-716-261-4126 x12039",
"avatar": "https://cdn.jsdelivr.net/gh/faker-js/assets-person-portrait/male/512/90.jpg",
"gender": "male",
"address": {
"zip": "31618-2031",
"city": "East Alexiestead",
"state": "Kansas",
"street": "296 Howard Road",
"country": "Eritrea"
},
"username": "Timmy_McDermott",
"birthdate": "2005-01-09",
"full_name": "Timmy McDermott",
"job_title": "Central Accounts Engineer",
"last_name": "McDermott",
"first_name": "Timmy"
},
{
"id": "4073e259-7db2-47a3-8a59-815ee731d5ef",
"email": "[email protected]",
"phone": "1-856-393-0490 x186",
"avatar": "https://cdn.jsdelivr.net/gh/faker-js/assets-person-portrait/female/512/27.jpg",
"gender": "male",
"address": {
"zip": "24983-1885",
"city": "Watsicashire",
"state": "Oregon",
"street": "525 Market Square",
"country": "Tonga"
},
"username": "Jeffery.White87",
"birthdate": "1986-05-08",
"full_name": "Jeffery White",
"job_title": "Chief Security Developer",
"last_name": "White",
"first_name": "Jeffery"
},
{
"id": "906d553c-2200-4c67-9a50-412753da32cb",
"email": "[email protected]",
"phone": "737.327.7556 x3675",
"avatar": "https://avatars.githubusercontent.com/u/18638252",
"gender": "male",
"address": {
…