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

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
category
string
required

Category id or category URL whose tree (root path with children) to return

Minimum string length: 1
Examples:

"371965"

"https://www.hepsiburada.com/cep-telefonlari-c-371965"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@hepsiburada_category
name
string | null
alias
string | null
level
integer | null
url
string | null
children
Children · array