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?
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 thesearch_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.links to explain relationships between credentials, victims, evidence, and files.
Smart Query Detection
Theq 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
Without Sessions (Not Recommended)
You can make API calls without initializing a session first:Quota Reset
Your daily lookup quota resets 24 hours after your first lookup of the day.Best Practices
Always Initialize Sessions
Always Initialize Sessions
For any investigation, always start with a session:
One Session Per Query
One Session Per Query
Create a new session for each distinct query you’re investigating:
Reuse Within Time Window
Reuse Within Time Window
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