API Documentation

Endpoints

/search

Performs a search in the database based on query parameters. Supports multiple types of searches including text, breach, and URL searches, with optional integration with SnusAPI for enhanced data retrieval.

Search Types:

  • Text: Searches for plain text across specified text fields.
  • Breach: Searches for entries related to data breaches including usernames, emails, and passwords.
  • URL: Searches for URLs to find related data entries.

SnusAPI Integration:

Optionally, include SnusAPI in your search to retrieve additional data related to emails, usernames, or IP addresses. This can provide enriched context such as breach data or historical user information.

Request Example:

curl -X POST https://oathnet.ru/api/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
    "query": "example",
    "type": "text",  // Can be "text", "breach", or "url"
    "includeSnus": true  // Set to true to include SnusAPI data
}'
                

Expected Response:

{
    "Search Provided by": "OathNet",
    "COUNT": 1,
    "QUERY": "example",
    "LIMIT": 75,
    "ELAPSED": "0.0023 seconds",
    "LOGS": [...]
}
                

Example Usage:

Here are examples of how to use each search type with optional SnusAPI integration:

  • Text Search: Search for any text like a name or address. Include SnusAPI to check if the text appears in breach databases.
  • Breach Search: Search using an email to find breach incidents. SnusAPI can provide additional breach details.
  • URL Search: Search by entering a URL to find related information. SnusAPI can reveal if the URL is associated with known security threats.

/ip-info

Retrieves information about an IP address.

curl -X GET https://oathnet.ru/api/ip-info?ip=192.168.1.1 -H "Authorization: Bearer YOUR_API_KEY"
                

Expected Response:

{
    "status": "success",
    "country": "Country Name",
    "city": "City Name",
    "isp": "ISP Name",
    ...
}
                

/roblox-userinfo

Fetches user information from Roblox by username.

curl -X GET https://oathnet.ru/api/roblox-userinfo?username=exampleUser -H "Authorization: Bearer YOUR_API_KEY"
                

Expected Response:

{
    "Current Username": "exampleUser",
    "Old Usernames": "OldUsername1, OldUsername2",
    "Display Name": "Example Display Name",
    ...
}
                

/discord-to-roblox

Maps a Discord ID to a Roblox account.

curl -X GET https://oathnet.ru/api/discord-to-roblox?discordid=123456789012345678 -H "Authorization: Bearer YOUR_API_KEY"
                

Expected Response:

{
    "displayName": "RobloxDisplayName",
    "created": "Account Creation Date",
    "description": "Account Description",
    ...
}
                

/holhe

Retrieves OSINT data based on email addresses.

curl -X GET https://oathnet.ru/api/[email protected] -H "Authorization: Bearer YOUR_API_KEY"
                

Expected Response:

{
    "email": "[email protected]",
    "domains": ["tellonym.me", "taringa.net", "plurk.com", "twitter.com", "bitmoji.com", "snapchat.com", "patreon.com", "ok.ru", "discord.com", "imgur.com", "instagram.com", "pinterest.com", "myspace.com", "tumblr.com", "crevado.com", "xing.com", "parler.com", "fanpop.com", "wattpad.com", "strava.com", "vsco.co", "strava.com"]
}
                

/ghunt

Performs OSINT lookup for Google accounts.

curl -X POST https://oathnet.ru/api/ghunt -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"email":"[email protected]"}'
                

Expected Response:

{
    "status": "success",
    "data": {
        "maps": "https://www.google.com/maps/contrib/....",
        "photos": "https://lh3.googleusercontent.com/a-/ALV-UjUaCs-UaQJ5zFQ7kSk...",
        "profile": {
            "Gaia ID": "...",
            "Last Update": "2024-07-21 14:57:47 UTC",
            "Name": "Not Available",
            "Profile Picture": "https://lh3.googleusercontent.com/a-/ALV-UjUaCs-U..M2V_"
        },
        "reviews": "https://www.google.com/maps/contrib/....",
        "stats": "https://web.archive.org/web/*/plus.google.com/...."
    }
}