- Takes: URL
- Takes: Username
- Passive: the target is not contacted
- Plan: Pro
Returns a search session whose results stream over SSE from the sseEndpointUrl. Plain text input returns inputType TEXT_SEARCH with no session. The scan continues in the background after the stream closes.
Request body (JSON) · 1ShowHide
query
An @handle, channel URL or video URL or ID
Response fields · 5ShowHide
searchSessionId
Session ID for the stream
sseEndpointUrl
URL of the SSE stream
inputType
How the input was read, for example TEXT_SEARCH
query
The query received
sourceVideoId
Video ID, for video input
curl -X POST 'https://tube.archivarix.net/api/search' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"query":"@examplechannel"}'{
"searchSessionId": "session-0001",
"sseEndpointUrl": "/api/search/session-0001/stream",
"inputType": "HANDLE",
"query": "@examplechannel"
}