Get Crawler Attributes
Crawler
Get Crawler Attributes
Retrieve the list of output attributes (result fields) for a specific crawler
GET
Get Crawler Attributes
This endpoint returns all output attributes (result fields) for a specific crawler. Each attribute describes a field that may appear in your scraping results, along with its data type, an example value, and the function it belongs to.
This is useful for understanding the shape of data a crawler produces before you start scraping, or for building dynamic result parsers.
Attribute Fields
The field name as it appears in result objects. Example:
"name"Data type of the field (string, integer, float, boolean, text, json). Example:
"string"Example value for the field. May be null for optional fields. Example:
"Blues Billard Club"The crawler function this attribute belongs to. Example:
"Export Local Businesses"Whether this attribute is included by default (true) or requires enabling a function (false). Example:
trueHuman-readable description of what this field contains. Example:
"Business name as listed on Google Maps"Main vs Function Attributes
Attributes are divided into two categories:- Main attributes (
is_main: true): Always included in results by default. - Function attributes (
is_main: false): Only included when their parent function is enabled on your squid (e.g., “Collect Business Details”, “Extract Emails from Website”).
Headers
Content type of the request. Value:
application/jsonQuery Parameters
The unique identifier (hash/id) of the crawler. Example:
4734d096159ef05210e0e1677e8be823Attributes with is_main: false only appear in results when their parent function is enabled on your squid. Check the function field to see which add-on controls each attribute.
Code Examples
Response
200