curl --request POST \
--url https://api.anysite.io/api/userbenchmark/components/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 750,
"timeout": 300,
"search": "<string>",
"brands": [
"<string>"
],
"sellers": [
"<string>"
],
"combo_filters": [
{
"values": [
"<string>"
]
}
],
"metric_ranges": [
{
"min": 123,
"max": 123
}
]
}
'import requests
url = "https://api.anysite.io/api/userbenchmark/components/search"
payload = {
"count": 750,
"timeout": 300,
"search": "<string>",
"brands": ["<string>"],
"sellers": ["<string>"],
"combo_filters": [{ "values": ["<string>"] }],
"metric_ranges": [
{
"min": 123,
"max": 123
}
]
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 750,
timeout: 300,
search: '<string>',
brands: ['<string>'],
sellers: ['<string>'],
combo_filters: [{values: ['<string>']}],
metric_ranges: [{min: 123, max: 123}]
})
};
fetch('https://api.anysite.io/api/userbenchmark/components/search', 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.anysite.io/api/userbenchmark/components/search",
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([
'count' => 750,
'timeout' => 300,
'search' => '<string>',
'brands' => [
'<string>'
],
'sellers' => [
'<string>'
],
'combo_filters' => [
[
'values' => [
'<string>'
]
]
],
'metric_ranges' => [
[
'min' => 123,
'max' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/userbenchmark/components/search"
payload := strings.NewReader("{\n \"count\": 750,\n \"timeout\": 300,\n \"search\": \"<string>\",\n \"brands\": [\n \"<string>\"\n ],\n \"sellers\": [\n \"<string>\"\n ],\n \"combo_filters\": [\n {\n \"values\": [\n \"<string>\"\n ]\n }\n ],\n \"metric_ranges\": [\n {\n \"min\": 123,\n \"max\": 123\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/userbenchmark/components/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 750,\n \"timeout\": 300,\n \"search\": \"<string>\",\n \"brands\": [\n \"<string>\"\n ],\n \"sellers\": [\n \"<string>\"\n ],\n \"combo_filters\": [\n {\n \"values\": [\n \"<string>\"\n ]\n }\n ],\n \"metric_ranges\": [\n {\n \"min\": 123,\n \"max\": 123\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/userbenchmark/components/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 750,\n \"timeout\": 300,\n \"search\": \"<string>\",\n \"brands\": [\n \"<string>\"\n ],\n \"sellers\": [\n \"<string>\"\n ],\n \"combo_filters\": [\n {\n \"values\": [\n \"<string>\"\n ]\n }\n ],\n \"metric_ranges\": [\n {\n \"min\": 123,\n \"max\": 123\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"@type": "UserbenchmarkComponent",
"id": "<string>",
"row_id": "<string>",
"component_type": "<string>",
"page_type": "<string>",
"rank": 123,
"name": "<string>",
"brand": "<string>",
"model": "<string>",
"alias": "<string>",
"url": "<string>",
"image": "<string>",
"is_stale": true,
"samples": 123,
"samples_text": "<string>",
"live_price": "<string>",
"live_price_seller": "<string>",
"is_hot_price": true,
"price": 123,
"price_text": "<string>",
"price_currency": "<string>",
"price_percentile": 123,
"user_rating": 123,
"user_rating_percentile": 123,
"value_rating": 123,
"value_rating_percentile": 123,
"avg_bench": 123,
"avg_bench_percentile": 123,
"avg_bench_low": 123,
"avg_bench_high": 123,
"market_share": 123,
"market_share_percentile": 123,
"age_months": 123,
"age_months_percentile": 123,
"extra_metrics": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/userbenchmark/components/search
Read UserBenchmark’s speed-rank table for one hardware class — processors, graphics cards, solid-state drives, hard drives, memory kits or USB drives — in the site’s own ranking order. Returns each entry’s brand and model, its rank, the number of user submissions behind it, the crowd user rating, the value rating, the average benchmark score with its 5th-95th percentile range, market share, age in months, the listed price, and the class-specific columns such as memory speed, capacity or write throughput.
Price: 20 credits per 50 results
⚠️ Common errors: 412: No component matched the class and filter combination, 422: A metric or facet key does not exist on the chosen component_type
curl --request POST \
--url https://api.anysite.io/api/userbenchmark/components/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 750,
"timeout": 300,
"search": "<string>",
"brands": [
"<string>"
],
"sellers": [
"<string>"
],
"combo_filters": [
{
"values": [
"<string>"
]
}
],
"metric_ranges": [
{
"min": 123,
"max": 123
}
]
}
'import requests
url = "https://api.anysite.io/api/userbenchmark/components/search"
payload = {
"count": 750,
"timeout": 300,
"search": "<string>",
"brands": ["<string>"],
"sellers": ["<string>"],
"combo_filters": [{ "values": ["<string>"] }],
"metric_ranges": [
{
"min": 123,
"max": 123
}
]
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 750,
timeout: 300,
search: '<string>',
brands: ['<string>'],
sellers: ['<string>'],
combo_filters: [{values: ['<string>']}],
metric_ranges: [{min: 123, max: 123}]
})
};
fetch('https://api.anysite.io/api/userbenchmark/components/search', 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.anysite.io/api/userbenchmark/components/search",
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([
'count' => 750,
'timeout' => 300,
'search' => '<string>',
'brands' => [
'<string>'
],
'sellers' => [
'<string>'
],
'combo_filters' => [
[
'values' => [
'<string>'
]
]
],
'metric_ranges' => [
[
'min' => 123,
'max' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/userbenchmark/components/search"
payload := strings.NewReader("{\n \"count\": 750,\n \"timeout\": 300,\n \"search\": \"<string>\",\n \"brands\": [\n \"<string>\"\n ],\n \"sellers\": [\n \"<string>\"\n ],\n \"combo_filters\": [\n {\n \"values\": [\n \"<string>\"\n ]\n }\n ],\n \"metric_ranges\": [\n {\n \"min\": 123,\n \"max\": 123\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/userbenchmark/components/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 750,\n \"timeout\": 300,\n \"search\": \"<string>\",\n \"brands\": [\n \"<string>\"\n ],\n \"sellers\": [\n \"<string>\"\n ],\n \"combo_filters\": [\n {\n \"values\": [\n \"<string>\"\n ]\n }\n ],\n \"metric_ranges\": [\n {\n \"min\": 123,\n \"max\": 123\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/userbenchmark/components/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 750,\n \"timeout\": 300,\n \"search\": \"<string>\",\n \"brands\": [\n \"<string>\"\n ],\n \"sellers\": [\n \"<string>\"\n ],\n \"combo_filters\": [\n {\n \"values\": [\n \"<string>\"\n ]\n }\n ],\n \"metric_ranges\": [\n {\n \"min\": 123,\n \"max\": 123\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"@type": "UserbenchmarkComponent",
"id": "<string>",
"row_id": "<string>",
"component_type": "<string>",
"page_type": "<string>",
"rank": 123,
"name": "<string>",
"brand": "<string>",
"model": "<string>",
"alias": "<string>",
"url": "<string>",
"image": "<string>",
"is_stale": true,
"samples": 123,
"samples_text": "<string>",
"live_price": "<string>",
"live_price_seller": "<string>",
"is_hot_price": true,
"price": 123,
"price_text": "<string>",
"price_currency": "<string>",
"price_percentile": 123,
"user_rating": 123,
"user_rating_percentile": 123,
"value_rating": 123,
"value_rating_percentile": 123,
"avg_bench": 123,
"avg_bench_percentile": 123,
"avg_bench_low": 123,
"avg_bench_high": 123,
"market_share": 123,
"market_share_percentile": 123,
"age_months": 123,
"age_months_percentile": 123,
"extra_metrics": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
cpu, gpu, ssd, hdd, ram, usb 1 <= x <= 150020 <= x <= 15001Show child attributes
Show child attributes
Show child attributes
Show child attributes
user_rating, value_rating, avg_bench Response
Successful Response
Show child attributes
Show child attributes