Skip to main content

What are Search Sessions?

Search sessions are a way to maximize the value of each lookup in your plan. When you initialize a search session, you can perform multiple searches across different services (breach, stealer, OSINT) for the same query while only consuming a single lookup from your daily quota.
The same search_id flow works with simple GET requests, POST-based structured filters, investigation search, victim details, file metadata, Phonebook, and raw file/text downloads.

View Plan Quotas

Check how many lookups are included in each plan

Why Use Search Sessions?

Without a search session: Each API call deducts 1 lookup from your daily quota.With a search session: Multiple calls for the same query consume only 1 lookup (within the session quota).

Example Comparison

Each plan has a session quota that determines how many searches you can perform within a single session. See pricing for details.

Creating a Session

Initialize a session before making related queries:

Using a Session

Pass the session ID using the search_id parameter to subsequent API calls:

Multi-Section Investigation Example

Create a session first, then send a multi-section investigation request. This lets one flow ask for credentials, victims, evidence, files, and related credentials together.
Keep each section separate in your UI or script. Use links to explain relationships between credentials, victims, evidence, and files.

Smart Query Detection

The q parameter uses smart query detection to automatically determine the type of your search:
Highlighted Feature: You don’t need to specify the query type - OathNet automatically detects it based on the format of your query.

Session Duration

  • Sessions are valid for 60 minutes from creation
  • After expiration, you need to create a new session
  • Each new session for a different query consumes a lookup
You can make API calls without initializing a session first:
This approach is not recommended as you’ll consume more lookups from your quota. Always use search sessions for better value.

Quota Reset

Your daily lookup quota resets 24 hours after your first lookup of the day.

Best Practices

For any investigation, always start with a session:
Create a new session for each distinct query you’re investigating:
Sessions last 60 minutes - reuse them for follow-up searches on the same query:

Next Steps

Pagination

Handle large result sets

Error Handling

Handle errors gracefully