Get Squid Details
Squid
Get Squid Details
Retrieve comprehensive details about a specific squid including configuration, status, and integrations
GET
Get Squid Details
This endpoint retrieves comprehensive details about a specific squid, including its configuration settings, operational status, integration options, run statistics, and associated crawler information.
Core Information Fields
string
Unique identifier for the squid. Example:
"c106a44a98044ef18acc59986ae10967"string
Display name of the squid. Example:
"Google Maps (1)"string
Timestamp when the squid was created. Example:
"2024-01-15T10:30:00Z"boolean
Whether the squid is active and can run. Example:
trueboolean
Whether the squid has tasks and is ready to run. Example:
truestring
Unique identifier of the associated crawler. Example:
"4734d096159ef05210e0e1677e8be823"string
Display name of the crawler. Example:
"Google Maps Search Export"string
URL to the crawler’s icon image. Example:
"https://cdn.lobstr.io/icons/google-maps.png"integer
Number of concurrent tasks the squid runs. Example:
2object
Crawler-specific parameter configuration object. Example:
{}boolean
Whether to stop after completing all tasks. Example:
falsestring
Important operational information or error messages. Example:
""Common Parameters
Theparams object contains crawler-specific settings. Most crawlers share these common parameters:
integer
Maximum results per task. null = unlimited. Example:
200integer
Maximum unique results across all tasks in a run. null = unlimited. Example:
nullstring
Stop scraping when items older than this threshold are reached. Accepts a relative duration (24h, 7d, 2w) or an absolute date (YYYY-MM-DD HH:MM). Example:
"7d"string
Timezone for interpreting an absolute
fetch_since date (e.g. "Europe/Paris"). Only applies when fetch_since is an absolute date — ignored for relative values like "24h" or "7d". Example: "Europe/Paris"string
Deprecated — stop scraping when items older than this date are reached. Use fetch_since instead. Example:
nullobject
Optional add-on features. Each key is a boolean toggle. Enabling incurs extra credits per row. Example:
{"details": true}Run Status & History Fields
string
Current status of the most recent run (DONE, RUNNING, ERROR, etc.). Example:
"DONE"string
ID of the most recent run. Example:
"abc123"string
Timestamp of the last execution. Example:
"2024-01-20T15:45:00Z"string
Why the run ended (tasks_done, credits_exhausted, user_stopped, error). Example:
"tasks_done"integer
Total number of runs executed for this squid. Example:
5string | null
Scheduled time for next run (null if not scheduled). Example:
"2024-01-21T10:00:00Z"Export & Download Fields
string | null
Temporary signed URL to download latest results (expires after a time period). Example:
nullboolean
Whether to export runs. Example:
trueboolean
Only export unique results, removing duplicates. Example:
trueboolean
Remove newlines from exported data. Example:
falseIntegration Configuration Fields
object | null
Google Sheets integration configuration (null if not configured). Contains is_active flag. Example:
nullobject | null
SFTP delivery settings (null if not configured). Contains is_active flag. Example:
nullobject | null
Amazon S3 export configuration (null if not configured). Contains is_active flag. Example:
nullobject | null
Webhook notifications setup (null if not configured). Contains is_active flag. Example:
nullobject | null
Slack integration settings (null if not configured). Contains is_active flag. Example:
nullScheduling Fields
object | null
Cron schedule object with expression and timezone (null if not scheduled). Example:
nullstring
Next scheduled execution time in human-readable format. Example:
"Daily at 10:00 AM"Notification Fields
string
Email address for notifications. Example:
"user@example.com"boolean
Whether notifications are enabled. Example:
trueobject
Notification configuration object containing run_notify setting (on_success, on_error, or null). Example:
{"run_notify": "on_success"}Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYQuery Parameters
string
required
The unique identifier (hash) of the squid. Example:
c106a44a98044ef18acc59986ae10967The ‘message’ field contains important operational information or error messages. Check this if a squid isn’t behaving as expected.
Use
fetch_since to stop scraping when older items are reached. Supports relative durations (24h, 7d, 2w) and absolute dates (YYYY-MM-DD HH:MM). When using an absolute date, set fetch_since_timezone to interpret it in the correct timezone (e.g. "Europe/Paris"). Replaces the older hours_back and max_date parameters.Code Examples
Response
200