Run eBay Categories
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-ebay-category \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.neuralverge.ai/functions/v1/run-ebay-category"
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-ebay-category', 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-ebay-category",
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-ebay-category"
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-ebay-category")
.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-ebay-category")
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": "ebay_category",
"human": "# eBay category tree\n\n- **Categories returned:** 1496\n- **Proxy traffic:** 36.2 KB",
"machine": {
"total_items": 1496,
"categories": [
{
"id": "6000",
"name": "eBay Motors",
"alias": "Auto-Parts-and-Vehicles",
"category_id": "6000",
"url": "https://www.ebay.com/b/Auto-Parts-and-Vehicles/6000/bn_1865334",
"parent_id": null
},
{
"id": "6028",
"name": "Parts & Accessories",
"alias": "Auto-Parts-Accessories",
"category_id": "6028",
"url": "https://www.ebay.com/b/Auto-Parts-Accessories/6028/bn_569479",
"parent_id": "6000"
},
{
"id": "6030",
"name": "Car & Truck Parts & Accessories",
"alias": "Car-Truck-Parts-Accessories",
"category_id": "6030",
"url": "https://www.ebay.com/b/Car-Truck-Parts-Accessories/6030/bn_562630",
"parent_id": "6028"
}
],
"proxy_traffic_bytes": 37056
},
"total_points": 5
}E-commerce & Marketplaces
Run eBay Categories
Returns the full eBay browse category tree: every department, category, and subcategory with its category ID. Takes no input. Flat 5 points per successful lookup.
POST
/
functions
/
v1
/
run-ebay-category
Run eBay Categories
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-ebay-category \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.neuralverge.ai/functions/v1/run-ebay-category"
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-ebay-category', 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-ebay-category",
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-ebay-category"
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-ebay-category")
.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-ebay-category")
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": "ebay_category",
"human": "# eBay category tree\n\n- **Categories returned:** 1496\n- **Proxy traffic:** 36.2 KB",
"machine": {
"total_items": 1496,
"categories": [
{
"id": "6000",
"name": "eBay Motors",
"alias": "Auto-Parts-and-Vehicles",
"category_id": "6000",
"url": "https://www.ebay.com/b/Auto-Parts-and-Vehicles/6000/bn_1865334",
"parent_id": null
},
{
"id": "6028",
"name": "Parts & Accessories",
"alias": "Auto-Parts-Accessories",
"category_id": "6028",
"url": "https://www.ebay.com/b/Auto-Parts-Accessories/6028/bn_569479",
"parent_id": "6000"
},
{
"id": "6030",
"name": "Car & Truck Parts & Accessories",
"alias": "Car-Truck-Parts-Accessories",
"category_id": "6030",
"url": "https://www.ebay.com/b/Car-Truck-Parts-Accessories/6030/bn_562630",
"parent_id": "6028"
}
],
"proxy_traffic_bytes": 37056
},
"total_points": 5
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The body is of type object.