Skip to main content
A temporary search runs exactly like a normal search: the same modules, leak sources, and account checks, executed the same way, with results arriving as soon as each one is found. The difference is that Osintly does not create a search record or store the results, and they stream directly in the HTTP response. When the response ends, Osintly has nothing left to return: save what you need in your own system as it arrives. Use it when an investigation should leave no searchable trace on Osintly’s side, or when your integration already processes results as they stream. Send the same body as Create Search to POST /search/temporary, and keep the connection open:
Temporary searches only run through this endpoint. POST /search rejects a temporary field with 400 USE_TEMPORARY_ENDPOINT, so a request meant to be temporary can never be stored by mistake. The request goes through the same authentication, plan limits, concurrency check, and blocklist as a normal search, and counts toward your API usage in the same way. Search options behave as they do on POST /search. For example, features.registered_accounts: "only" runs only the registered-account check, without modules, leak sources, or breached accounts, and leaks.custom_mapping selects the leak record format. Leak sources still require their API add-ons.

Response

A successful request returns 200 with a Server-Sent Events stream instead of a JSON body.

Events

Events have the same names and fields as in the normal stream, including leak.page.ready. The only addition is on module.result, which carries a unique result_id: several cards from one module can share a timestamp, and temporary results cannot be fetched again, so use result_id to tell them apart. As in the normal stream, search.finished is the last event. If some modules failed, it still has status completed, with an error such as partial failures: 3 module(s). status is failed only when the search could not run.

Leak records

Leak records are loaded page by page, as for a normal search, with the same API key that started the search: {id} is the X-Search-Id of the stream. Send X-Osintly-Progressive-Leaks: 1 to read pages as soon as leak.page.ready arrives. These records are available for one hour after the search ends, then deleted.

Differences from the normal stream

  • There is no BYOK event, since temporary searches do not accept byok.
  • The stream cannot be resumed. If the connection drops, the results that had not arrived yet are lost; start a new search to try again.
  • GET /search/{id}, /results, /results/leaks, and /stream do not know temporary searches; use the leak endpoints above. The search cannot be deleted because it was never stored.

What Osintly does not keep

  • No search record, history entry, or search ID that can be fetched later
  • No stored module results, leak records, registered accounts, or breached accounts
While the search runs, its events and leak pages are held in the run’s working state so they can be streamed and paged to you. That state is deleted automatically one hour after the search ends. Usage accounting records the search type and the leak sources you requested, so your plan usage stays accurate. It does not record the searched value.

Limits and errors

Other errors, such as an invalid API key or an exceeded plan limit, are the same as for POST /search. Sending temporary to POST /search instead returns 400 USE_TEMPORARY_ENDPOINT and starts no search.
In the Osintly app, temporary search is a separate option on the Search page. See Temporary search.