Hepsiburada Category
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"category": "371965"
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories"
payload = { "category": "371965" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({category: '371965'})
};
fetch('https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'category' => '371965'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories"
payload := strings.NewReader("{\n \"category\": \"371965\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"category\": \"371965\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"category\": \"371965\"\n}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "hepsiburada_category",
"category": "371965",
"human": "# Hepsiburada category\n\n- **Category:** 371965\n- **Proxy traffic:** 2.62 MB\n- **Name:** Cep Telefonu\n- **Subcategories:** 5",
"machine": {
"total_items": 1,
"items": [
{
"@type": "HepsiburadaCategory",
"id": "2147483642",
"name": "Telefon",
"alias": "telefonlar",
"level": 1,
"url": "https://www.hepsiburada.com/telefonlar-c-2147483642",
"children": [
{
"@type": "HepsiburadaCategory",
"id": "371965",
"name": "Cep Telefonu",
"alias": "cep-telefonlari",
"level": 2,
"url": "https://www.hepsiburada.com/cep-telefonlari-c-371965",
"children": [
{
"@type": "HepsiburadaCategory",
"id": "60005201",
"name": "Android Telefonlar",
"alias": "android-telefonlar",
"level": 3,
"url": "https://www.hepsiburada.com/android-telefonlar-c-60005201",
"children": []
},
{
"@type": "HepsiburadaCategory",
"id": "60005202",
"name": "iPhone iOS Telefonlar",
"alias": "iphone-ios-telefonlar",
"level": 3,
"url": "https://www.hepsiburada.com/iphone-ios-telefonlar-c-60005202",
"children": []
}
]
}
]
}
],
"response_bytes": 2752501
},
"total_points": 5
}E-commerce & Marketplaces
Hepsiburada Category
Get the Hepsiburada category tree for a category id or URL: the path from the top-level department down to the category, with its nested children (id, name, alias, level, url). Flat 5 points per successful run.
POST
/
functions
/
v1
/
run-hepsiburada-categories
Hepsiburada Category
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"category": "371965"
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories"
payload = { "category": "371965" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({category: '371965'})
};
fetch('https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'category' => '371965'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories"
payload := strings.NewReader("{\n \"category\": \"371965\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"category\": \"371965\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-hepsiburada-categories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"category\": \"371965\"\n}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "hepsiburada_category",
"category": "371965",
"human": "# Hepsiburada category\n\n- **Category:** 371965\n- **Proxy traffic:** 2.62 MB\n- **Name:** Cep Telefonu\n- **Subcategories:** 5",
"machine": {
"total_items": 1,
"items": [
{
"@type": "HepsiburadaCategory",
"id": "2147483642",
"name": "Telefon",
"alias": "telefonlar",
"level": 1,
"url": "https://www.hepsiburada.com/telefonlar-c-2147483642",
"children": [
{
"@type": "HepsiburadaCategory",
"id": "371965",
"name": "Cep Telefonu",
"alias": "cep-telefonlari",
"level": 2,
"url": "https://www.hepsiburada.com/cep-telefonlari-c-371965",
"children": [
{
"@type": "HepsiburadaCategory",
"id": "60005201",
"name": "Android Telefonlar",
"alias": "android-telefonlar",
"level": 3,
"url": "https://www.hepsiburada.com/android-telefonlar-c-60005201",
"children": []
},
{
"@type": "HepsiburadaCategory",
"id": "60005202",
"name": "iPhone iOS Telefonlar",
"alias": "iphone-ios-telefonlar",
"level": 3,
"url": "https://www.hepsiburada.com/iphone-ios-telefonlar-c-60005202",
"children": []
}
]
}
]
}
],
"response_bytes": 2752501
},
"total_points": 5
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Category ID or URL. e.g. 371965
Response
Run completed.