PhantAuth
phantauth · Company
Random User Generator + OpenID Connect Provider. Like Lorem Ipsum, but for user accounts and authentication. The PhantAuth API documentation is available on the following API documentation sites: - [apiary](https://phantauth.docs.apiary.io) (primary source) - [speca](https://speca.io/phantauth/phantauth) - [PhantAuth Developer Portal](https://www.phantauth.net/api) ### TL;DR **PhantAuth was designed to simplify testing for applications using OpenID Connect authentication by making use of r
Authentication
Sample Requests
Use this endpoint to generate a random client. The client is generated in a deterministic way, on the bases of the client ID given as a path parameter. In the case of identical client IDs, the endpoint will generate the same client object. The properties of the generated client object are randomly g
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/client/{client_id}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/phantauth.net/1.0.0/client/{client_id}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/phantauth.net/1.0.0/client/{client_id}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/client/{client_id}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/phantauth.net/1.0.0/client/{client_id}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/client/{client_id}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));This endpoint allows you to get the data of a given PhantAuth domain. To use the PhantAuth services, you don't need this endpoint. It is, therefore, mainly used for debug/diagnostic purposes in tenant customization. Domainname is the fully qualified DNS name of the domain you get (e.g. *phantauth.n
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/domain/{domainname}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/phantauth.net/1.0.0/domain/{domainname}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/phantauth.net/1.0.0/domain/{domainname}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/domain/{domainname}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/phantauth.net/1.0.0/domain/{domainname}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/domain/{domainname}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Use this endpoint to generate a random group of clients. The feleet is generated in a deterministic way, on the basis of a fleet name given as a path parameter. In the case of identical fleet names, the endpoint will generate the same fleet object. The properties of the generated fleet object are ra
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/fleet/{fleetname}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/phantauth.net/1.0.0/fleet/{fleetname}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/phantauth.net/1.0.0/fleet/{fleetname}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/fleet/{fleetname}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/phantauth.net/1.0.0/fleet/{fleetname}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/phantauth.net/1.0.0/fleet/{fleetname}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with PhantAuth?
PhantAuth is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. PhantAuth is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?