Get Crawler Parameters
Crawler
Get Crawler Parameters
Retrieve the list of configurable input parameters for a specific crawler
GET
Get Crawler Parameters
This endpoint returns all configurable input parameters for a specific crawler. The response is organized into two main sections:
task and squid.
Response Structure
The response contains:- task: Object containing task-level parameters (parameter name as key)
- squid: Object containing squid-level parameters and functions
- squid.functions: Optional add-on features with extra credit costs
Task-level Parameter Fields
string
Data type (string, int, boolean, etc.). Example:
"string"string
Logical grouping (e.g., “url”, “location”). Example:
"url"string
Validation pattern for string inputs. Example:
"^https?://.*"boolean
Whether the parameter is mandatory. Example:
truestring | number | boolean | null
Default value if not provided. Example:
nullstring
Internal attribute name. Example:
"url"boolean
Whether it’s used for URL parameter generation. Example:
trueSquid-level Parameter Fields
string
Data type of the parameter. Example:
"string"array
Array of valid values (for enum types). Example:
["en", "es", "fr"]string | number | boolean | null
Default value if not provided. Example:
"en"boolean
Whether the parameter is mandatory. Example:
falsestring
Internal attribute name. Example:
"language"Functions (Optional Add-ons) Fields
integer
Display order of the function. Example:
1boolean
Whether the function is enabled by default. Example:
falsenumber
Extra credits charged per row when this function is enabled. Example:
0.5Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYstring
default:"application/json"
Content type of the request. Value:
application/jsonQuery Parameters
string
required
The unique identifier (hash/id) of the crawler. Example:
4734d096159ef05210e0e1677e8be823Functions under squid.functions are optional add-ons. Each function has a credits_per_function cost applied per result row when enabled.
Code Examples
Response
200