Breach Search
Search Breach Database
Searches across breach databases for leaked credentials and data.
Response fields vary depending on the breach source. Common fields include:
email,username,password,ip,domain,source,date,dbname
Pagination: Use nextCursorMark as cursor for next page.
GET
https://oathnet.org/api
/
service
/
search-breach
Search Breach Database
curl --request GET \
--url https://oathnet.org/api/service/search-breach \
--header 'x-api-key: <api-key>'import requests
url = "https://oathnet.org/api/service/search-breach"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://oathnet.org/api/service/search-breach', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://oathnet.org/api/service/search-breach",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://oathnet.org/api/service/search-breach"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://oathnet.org/api/service/search-breach")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://oathnet.org/api/service/search-breach")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Request completed successfully",
"data": {
"results": [
{
"dbname": "deezer.com",
"country": [
"US"
],
"date_birth": [
"2004-01-01 00:00:00.0000000"
],
"email": "user@gmail.com",
"gender": "F",
"language": "us",
"created_at": "2017-04-16 00:00:00.0000000",
"username": [
"WinterFox"
],
"id": "09c1df9ddb7b657fa7f2d6778e40ac0a",
"_version_": 1845592909587415000
},
{
"dbname": "myfitnesspal.com",
"username": [
"winterfox"
],
"email": "user@yahoo.com",
"password": "secretpass",
"ip": "50.55.69.203",
"id": "35bbbad520e113b431e470e5407d3041",
"_version_": 1845387329024295000
}
],
"results_found": 150,
"results_shown": 25,
"nextCursorMark": "AoE..."
}
}Authorizations
API key for authentication (lowercase header name)
Query Parameters
Search query (email, username, domain, etc.)
Pagination cursor from previous response
Search session ID from /service/search/init
Filter to specific breach databases (comma-separated or single)
⌘I
Search Breach Database
curl --request GET \
--url https://oathnet.org/api/service/search-breach \
--header 'x-api-key: <api-key>'import requests
url = "https://oathnet.org/api/service/search-breach"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://oathnet.org/api/service/search-breach', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://oathnet.org/api/service/search-breach",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://oathnet.org/api/service/search-breach"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://oathnet.org/api/service/search-breach")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://oathnet.org/api/service/search-breach")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Request completed successfully",
"data": {
"results": [
{
"dbname": "deezer.com",
"country": [
"US"
],
"date_birth": [
"2004-01-01 00:00:00.0000000"
],
"email": "user@gmail.com",
"gender": "F",
"language": "us",
"created_at": "2017-04-16 00:00:00.0000000",
"username": [
"WinterFox"
],
"id": "09c1df9ddb7b657fa7f2d6778e40ac0a",
"_version_": 1845592909587415000
},
{
"dbname": "myfitnesspal.com",
"username": [
"winterfox"
],
"email": "user@yahoo.com",
"password": "secretpass",
"ip": "50.55.69.203",
"id": "35bbbad520e113b431e470e5407d3041",
"_version_": 1845387329024295000
}
],
"results_found": 150,
"results_shown": 25,
"nextCursorMark": "AoE..."
}
}