Skip to main content
POST
/
api
/
petsplace
/
categories
/petsplace/categories
curl --request POST \
  --url https://api.anysite.io/api/petsplace/categories \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "timeout": 300,
  "parent": "Hond"
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "level": 123,
    "@type": "@petsplace_category",
    "parent_category_id": "<string>",
    "product_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
parent
string | null

Restrict to leaf categories under a single top-level group. Leave empty to return the full taxonomy (top-level groups and all their leaf categories).

Example:

"Hond"

Response

Successful Response

id
string
required
name
string
required
level
integer
required
@type
string
default:@petsplace_category
parent_category_id
string | null
product_count
integer | null