Trendyol categories
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-trendyol-categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.neuralverge.ai/functions/v1/run-trendyol-categories"
payload = {}
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({})
};
fetch('https://api.neuralverge.ai/functions/v1/run-trendyol-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-trendyol-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([
]),
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-trendyol-categories"
payload := strings.NewReader("{}")
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-trendyol-categories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-trendyol-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 = "{}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "trendyol_categories",
"category": null,
"human": "# Trendyol categories\n\n- **Category filter:** (none - full tree)\n- **Categories returned:** 1141\n- **Proxy traffic:** 698.0 KB",
"machine": {
"total_items": 10,
"first_item": {
"id": "1",
"name": "Kadın",
"alias": "kadin",
"parent_category_id": null,
"url": "https://www.trendyol.com/butik/liste/1/kadin",
"image": null,
"children": [
{
"id": "82",
"name": "Giyim",
"alias": "kadin-giyim",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-giyim-x-g1-c82",
"image": null,
"children": [
{
"id": "56",
"name": "Elbise",
"alias": "elbise",
"parent_category_id": "82",
"url": "https://www.trendyol.com/elbise-x-c56",
"image": null,
"children": []
},
{
"id": "73",
"name": "Tişört",
"alias": "kadin-t-shirt",
"parent_category_id": "82",
"url": "https://www.trendyol.com/kadin-t-shirt-x-g1-c73",
"image": null,
"children": []
}
]
},
{
"id": "114",
"name": "Ayakkabı",
"alias": "kadin-ayakkabi",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-ayakkabi-x-g1-c114",
"image": null,
"children": [
{
"id": "107",
"name": "Topuklu Ayakkabı",
"alias": "kadin-topuklu-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-topuklu-ayakkabi-x-g1-c107",
"image": null,
"children": []
},
{
"id": "1172",
"name": "Sneaker",
"alias": "kadin-sneaker",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-sneaker-x-g1-c1172",
"image": null,
"children": []
}
]
}
]
},
"items": [
{
"id": "1",
"name": "Kadın",
"alias": "kadin",
"parent_category_id": null,
"url": "https://www.trendyol.com/butik/liste/1/kadin",
"image": null,
"children": [
{
"id": "82",
"name": "Giyim",
"alias": "kadin-giyim",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-giyim-x-g1-c82",
"image": null,
"children": [
{
"id": "56",
"name": "Elbise",
"alias": "elbise",
"parent_category_id": "82",
"url": "https://www.trendyol.com/elbise-x-c56",
"image": null,
"children": []
},
{
"id": "73",
"name": "Tişört",
"alias": "kadin-t-shirt",
"parent_category_id": "82",
"url": "https://www.trendyol.com/kadin-t-shirt-x-g1-c73",
"image": null,
"children": []
}
]
},
{
"id": "114",
"name": "Ayakkabı",
"alias": "kadin-ayakkabi",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-ayakkabi-x-g1-c114",
"image": null,
"children": [
{
"id": "107",
"name": "Topuklu Ayakkabı",
"alias": "kadin-topuklu-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-topuklu-ayakkabi-x-g1-c107",
"image": null,
"children": []
},
{
"id": "1172",
"name": "Sneaker",
"alias": "kadin-sneaker",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-sneaker-x-g1-c1172",
"image": null,
"children": []
}
]
}
]
},
{
"id": "2",
"name": "Erkek",
"alias": "erkek",
"parent_category_id": null,
"url": "https://www.trendyol.com/butik/liste/2/erkek",
"image": null,
"children": [
{
"id": "82",
"name": "Giyim",
"alias": "erkek-giyim",
"parent_category_id": "2",
"url": "https://www.trendyol.com/erkek-giyim-x-g2-c82",
"image": null,
"children": [
{
"id": "73",
"name": "Tişört",
"alias": "erkek-t-shirt",
"parent_category_id": "82",
"url": "https://www.trendyol.com/erkek-t-shirt-x-g2-c73",
"image": null,
"children": []
},
{
"id": "119",
"name": "Şort",
"alias": "erkek-sort",
"parent_category_id": "82",
"url": "https://www.trendyol.com/erkek-sort-x-g2-c119",
"image": null,
"children": []
}
]
},
{
"id": "114",
"name": "Ayakkabı",
"alias": "erkek-ayakkabi",
"parent_category_id": "2",
"url": "https://www.trendyol.com/erkek-ayakkabi-x-g2-c114",
"image": null,
"children": [
{
"id": "109",
"name": "Spor Ayakkabı",
"alias": "erkek-spor-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/erkek-spor-ayakkabi-x-g2-c109",
"image": null,
"children": []
},
{
"id": "1352",
"name": "Günlük Ayakkabı",
"alias": "erkek-gunluk-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/erkek-gunluk-ayakkabi-x-g2-c1352",
"image": null,
"children": []
}
]
}
]
}
],
"proxy_traffic_bytes": 714705
},
"total_points": 5
}E-commerce & Marketplaces
Trendyol categories
Trendyol category tree: 10 departments with nested subcategories (id, name, alias, parent id, URL). Pass a category id or alias to get just that subtree. 5 point per returned record.
POST
/
functions
/
v1
/
run-trendyol-categories
Trendyol categories
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-trendyol-categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.neuralverge.ai/functions/v1/run-trendyol-categories"
payload = {}
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({})
};
fetch('https://api.neuralverge.ai/functions/v1/run-trendyol-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-trendyol-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([
]),
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-trendyol-categories"
payload := strings.NewReader("{}")
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-trendyol-categories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-trendyol-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 = "{}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "trendyol_categories",
"category": null,
"human": "# Trendyol categories\n\n- **Category filter:** (none - full tree)\n- **Categories returned:** 1141\n- **Proxy traffic:** 698.0 KB",
"machine": {
"total_items": 10,
"first_item": {
"id": "1",
"name": "Kadın",
"alias": "kadin",
"parent_category_id": null,
"url": "https://www.trendyol.com/butik/liste/1/kadin",
"image": null,
"children": [
{
"id": "82",
"name": "Giyim",
"alias": "kadin-giyim",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-giyim-x-g1-c82",
"image": null,
"children": [
{
"id": "56",
"name": "Elbise",
"alias": "elbise",
"parent_category_id": "82",
"url": "https://www.trendyol.com/elbise-x-c56",
"image": null,
"children": []
},
{
"id": "73",
"name": "Tişört",
"alias": "kadin-t-shirt",
"parent_category_id": "82",
"url": "https://www.trendyol.com/kadin-t-shirt-x-g1-c73",
"image": null,
"children": []
}
]
},
{
"id": "114",
"name": "Ayakkabı",
"alias": "kadin-ayakkabi",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-ayakkabi-x-g1-c114",
"image": null,
"children": [
{
"id": "107",
"name": "Topuklu Ayakkabı",
"alias": "kadin-topuklu-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-topuklu-ayakkabi-x-g1-c107",
"image": null,
"children": []
},
{
"id": "1172",
"name": "Sneaker",
"alias": "kadin-sneaker",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-sneaker-x-g1-c1172",
"image": null,
"children": []
}
]
}
]
},
"items": [
{
"id": "1",
"name": "Kadın",
"alias": "kadin",
"parent_category_id": null,
"url": "https://www.trendyol.com/butik/liste/1/kadin",
"image": null,
"children": [
{
"id": "82",
"name": "Giyim",
"alias": "kadin-giyim",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-giyim-x-g1-c82",
"image": null,
"children": [
{
"id": "56",
"name": "Elbise",
"alias": "elbise",
"parent_category_id": "82",
"url": "https://www.trendyol.com/elbise-x-c56",
"image": null,
"children": []
},
{
"id": "73",
"name": "Tişört",
"alias": "kadin-t-shirt",
"parent_category_id": "82",
"url": "https://www.trendyol.com/kadin-t-shirt-x-g1-c73",
"image": null,
"children": []
}
]
},
{
"id": "114",
"name": "Ayakkabı",
"alias": "kadin-ayakkabi",
"parent_category_id": "1",
"url": "https://www.trendyol.com/kadin-ayakkabi-x-g1-c114",
"image": null,
"children": [
{
"id": "107",
"name": "Topuklu Ayakkabı",
"alias": "kadin-topuklu-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-topuklu-ayakkabi-x-g1-c107",
"image": null,
"children": []
},
{
"id": "1172",
"name": "Sneaker",
"alias": "kadin-sneaker",
"parent_category_id": "114",
"url": "https://www.trendyol.com/kadin-sneaker-x-g1-c1172",
"image": null,
"children": []
}
]
}
]
},
{
"id": "2",
"name": "Erkek",
"alias": "erkek",
"parent_category_id": null,
"url": "https://www.trendyol.com/butik/liste/2/erkek",
"image": null,
"children": [
{
"id": "82",
"name": "Giyim",
"alias": "erkek-giyim",
"parent_category_id": "2",
"url": "https://www.trendyol.com/erkek-giyim-x-g2-c82",
"image": null,
"children": [
{
"id": "73",
"name": "Tişört",
"alias": "erkek-t-shirt",
"parent_category_id": "82",
"url": "https://www.trendyol.com/erkek-t-shirt-x-g2-c73",
"image": null,
"children": []
},
{
"id": "119",
"name": "Şort",
"alias": "erkek-sort",
"parent_category_id": "82",
"url": "https://www.trendyol.com/erkek-sort-x-g2-c119",
"image": null,
"children": []
}
]
},
{
"id": "114",
"name": "Ayakkabı",
"alias": "erkek-ayakkabi",
"parent_category_id": "2",
"url": "https://www.trendyol.com/erkek-ayakkabi-x-g2-c114",
"image": null,
"children": [
{
"id": "109",
"name": "Spor Ayakkabı",
"alias": "erkek-spor-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/erkek-spor-ayakkabi-x-g2-c109",
"image": null,
"children": []
},
{
"id": "1352",
"name": "Günlük Ayakkabı",
"alias": "erkek-gunluk-ayakkabi",
"parent_category_id": "114",
"url": "https://www.trendyol.com/erkek-gunluk-ayakkabi-x-g2-c1352",
"image": null,
"children": []
}
]
}
]
}
],
"proxy_traffic_bytes": 714705
},
"total_points": 5
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Category id or alias (optional). e.g. e.g. elektronik or 5 — leave empty for the full tree
Response
Run completed.