Skip to main content
GET
/
scrape-logs
/
{uuid}
Get Scrape Log Details
curl --request GET \
  --url https://api.spidra.io/api/scrape-logs/{uuid} \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "data": {
    "uuid": "log-uuid-1",
    "status": "success",
    "started_at": "2025-06-07T15:00:00Z",
    "finished_at": "2025-06-07T15:00:05Z",
    "urls": [
      {
        "url": "https://example.com"
      }
    ],
    "extraction_prompt": "Get the main content",
    "tokens_used": 1500,
    "result_data": {
      "title": "Example Domain",
      "content": "This domain is for examples."
    }
  }
}
This endpoint returns everything about a single scrape operation. Unlike the list endpoint, it includes the result_data field containing the full extracted content. Use this when you need to inspect or retrieve the output of a specific scrape job.

Example Request

curl https://api.spidra.io/api/scrape-logs/log-uuid-1 \
  -H "x-api-key: YOUR_API_KEY"

Response Fields

FieldTypeDescription
uuidstringUnique identifier for this log record
statusstringsuccess, error, or in_progress
started_atstringISO 8601 timestamp when the scrape started
finished_atstring or nullISO 8601 timestamp when the scrape completed
error_messagestring or nullDetails about the failure if status is error
urlsarrayThe list of URLs that were scraped, matching the original request
extraction_promptstring or nullThe AI prompt that was used, if any
input_tokensnumber or nullInput tokens consumed by the AI
output_tokensnumber or nullOutput tokens generated by the AI
tokens_usednumber or nullTotal tokens consumed
captcha_solved_countnumber or nullNumber of CAPTCHAs solved during this request
scraped_sites_countnumber or nullNumber of URLs successfully scraped
latency_msnumber or nullTotal duration of the scrape in milliseconds
credits_usednumber or nullCredits deducted from your account
result_dataobject or string or nullThe full extracted content. The shape depends on whether you used a prompt and what output format was set

Example Response

{
  "status": "success",
  "data": {
    "uuid": "log-uuid-1",
    "status": "success",
    "started_at": "2025-12-17T15:00:00Z",
    "finished_at": "2025-12-17T15:00:05Z",
    "error_message": null,
    "urls": [
      { "url": "https://example.com/products/laptop" }
    ],
    "extraction_prompt": "Extract the product name, price, and availability",
    "input_tokens": 1240,
    "output_tokens": 86,
    "tokens_used": 1326,
    "captcha_solved_count": 0,
    "scraped_sites_count": 1,
    "latency_ms": 4820,
    "credits_used": 2,
    "result_data": {
      "product_name": "ProBook 15 Laptop",
      "price": 899.99,
      "availability": "In stock"
    }
  }
}
The list endpoint (GET /scrape-logs) excludes result_data to keep responses fast when you are loading many records. Always use this single-record endpoint when you need the actual scraped content.

Authorizations

x-api-key
string
header
required

Path Parameters

uuid
string
required

UUID of the scrape log

Response

Full scrape log details

status
enum<string>
Available options:
success
data
object

Full scrape log details including result data