Get Search Log Details
curl --request GET \
--url https://api.spidra.io/api/search-logs/{uuid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spidra.io/api/search-logs/{uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spidra.io/api/search-logs/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.spidra.io/api/search-logs/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.spidra.io/api/search-logs/{uuid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spidra.io/api/search-logs/{uuid}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spidra.io/api/search-logs/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"uuid": "<string>",
"status": "success",
"started_at": "<string>",
"finished_at": "<string>",
"query": "<string>",
"sources": "<string>",
"country": "<string>",
"result_limit": 123,
"error_message": "<string>",
"latency_ms": 123,
"credits_used": 123,
"scraping_channel": "<string>",
"result_data": {}
}
}{
"status": "error",
"message": "Search log not found"
}Logs
Get Search Log Details
Retrieve the full details of a single search log, including the original query and the complete result set.
GET
/
search-logs
/
{uuid}
Get Search Log Details
curl --request GET \
--url https://api.spidra.io/api/search-logs/{uuid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spidra.io/api/search-logs/{uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spidra.io/api/search-logs/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.spidra.io/api/search-logs/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.spidra.io/api/search-logs/{uuid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spidra.io/api/search-logs/{uuid}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spidra.io/api/search-logs/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"uuid": "<string>",
"status": "success",
"started_at": "<string>",
"finished_at": "<string>",
"query": "<string>",
"sources": "<string>",
"country": "<string>",
"result_limit": 123,
"error_message": "<string>",
"latency_ms": 123,
"credits_used": 123,
"scraping_channel": "<string>",
"result_data": {}
}
}{
"status": "error",
"message": "Search log not found"
}This endpoint returns everything about a single search.
Example Request
curl https://api.spidra.io/api/search-logs/log-uuid-1 \
-H "Authorization: Bearer YOUR_API_KEY"
import requests
response = requests.get(
"https://api.spidra.io/api/search-logs/log-uuid-1",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
const response = await fetch(
"https://api.spidra.io/api/search-logs/log-uuid-1",
{ headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
Response Fields
| Field | Type | Description |
|---|---|---|
uuid | string | Unique identifier for this log record |
status | string | success, error, or in_progress |
started_at | string | ISO 8601 timestamp when the search started |
finished_at | string or null | ISO 8601 timestamp when the search completed |
query | string | The original search query |
sources | string or null | Comma-separated list of sources requested (e.g. "web,news") |
country | string or null | The country value from the original request, if any |
result_limit | number or null | The limit value from the original request |
error_message | string or null | Details about the failure if status is error |
latency_ms | number or null | Total duration of the search in milliseconds |
credits_used | number | Credits deducted from your account |
result_data | object or null | The full result set, shaped like result.data in the job-status response |
Example Response
{
"status": "success",
"data": {
"uuid": "log-uuid-1",
"status": "success",
"started_at": "2026-09-13T23:10:17Z",
"finished_at": "2026-09-13T23:10:21Z",
"query": "how do airplanes fly",
"sources": "web",
"country": null,
"result_limit": 10,
"error_message": null,
"latency_ms": 4041,
"credits_used": 1,
"result_data": {
"web": [
{ "title": "Dynamics of Flight", "url": "https://www.grc.nasa.gov/...", "position": 1 }
]
}
}
}
Authorizations
BearerAuthApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Was this page helpful?

