Skip to content

List org custom attributes for a domain

GET
/api/v1/extraction/attributes/{domain}
curl --request GET \
--url 'https://dashboard.justcrawl.io/api/v1/extraction/attributes/example?pageType=product' \
--header 'Authorization: Bearer <token>'
domain
required
string
pageType
string
default: product

Org-defined custom attributes for the domain + page type

Media type application/json

Org-scoped custom attributes. When no row exists, the API returns { attributes: [] } and other fields are omitted.

object
id
string format: uuid
orgId
string format: uuid
domain
string
pageType
string
attributes
required
Array<object>
object
name
required
string
xpaths
required
Array<string>
type
required
string
Allowed values: text number url boolean text[] url[]
description
string
nullable
antiPatterns
Array<string>
nullable
semanticType
string
nullable
Allowed values: brand_name review_count product_id product_image star_rating
validation
object
minLength
integer
maxLength
integer
min
number
max
number
pattern
string
createdAt
string format: date-time
updatedAt
string format: date-time
Example
{
"attributes": [
{
"type": "text",
"semanticType": "brand_name"
}
]
}