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
Data type (string, int, boolean, etc.). Example:
"string"Logical grouping (e.g., “url”, “location”). Example:
"url"Validation pattern for string inputs. Example:
"^https?://.*"Whether the parameter is mandatory. Example:
trueDefault value if not provided. Example:
nullInternal attribute name. Example:
"url"Whether it’s used for URL parameter generation. Example:
trueSquid-level Parameter Fields
Data type of the parameter. Example:
"string"Array of valid values (for enum types). Example:
["en", "es", "fr"]Default value if not provided. Example:
"en"Whether the parameter is mandatory. Example:
falseInternal attribute name. Example:
"language"Functions (Optional Add-ons) Fields
Display order of the function. Example:
1Whether the function is enabled by default. Example:
falseExtra credits charged per row when this function is enabled. Example:
0.5Headers
Your API authentication token. Value:
Token YOUR_API_KEYContent type of the request. Value:
application/jsonQuery Parameters
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