Skip to main content
POST
/
api
/
trendyol
/
categories
/trendyol/categories
curl --request POST \
  --url https://api.anysite.io/api/trendyol/categories \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "timeout": 300,
  "category": "elektronik"
}
'
[
  {
    "id": "<string>",
    "@type": "@trendyol_category",
    "name": "<string>",
    "alias": "<string>",
    "parent_category_id": "<string>",
    "url": "<string>",
    "image": "<string>",
    "children": []
  }
]

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
category
string | null

Category id or alias to return as the subtree root; omit to get the full top-level tree

Example:

"elektronik"

Response

Successful Response

id
string
required
@type
string
default:@trendyol_category
name
string | null
alias
string | null
parent_category_id
string | null
url
string | null
image
string | null
children
Children · array