POST /api/userbenchmark/components/search
Price: 20 credits
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.
`metric_ranges` bounds are named the way the response names the field, so `avg_bench` bounds the `avg_bench` column; the source's sliders are whole-unit, so a fractional bound is widened outwards to the enclosing integer rather than dropping rows the caller asked for. A class-specific column arrives as an `extra_metrics` entry whose `key` is the source's own column code, and that code is accepted as a `metric_ranges` key too, so a row's own `extra_metrics[].key` can be fed straight back as a bound. Two kinds of row come back and `page_type` tells them apart: a `rating` row is an aggregated product carrying an `id` that /userbenchmark/components resolves, while a `speedtest` row is a submission the site never aggregated, so its `id` is null and only its `url` opens. Most of a class is `speedtest`, so filter on `page_type` before assuming an id is there. `metric_ranges` and `combo_filters` are keyed by column, and a key belongs to exactly one component_type, so a cpu key with an ssd class is rejected rather than ignored; capacity bounds are in GB even though the column prints TB. `brands`, `sellers` and `combo_filters` take the source's own spellings ('2x16GB', 'C30', 'M.2'), several values widen the set to their union, and an unknown spelling matches nothing rather than erroring. `search` matches word tokens, so a model number fragment also matches longer numbers containing it. `price` is a live marketplace quote in the currency of the exit the call happened to use, so it and `value_rating` move between identical calls, and a null price means no current listing rather than a free part.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)component_type string required — Hardware class whose speed-rank table to read; each class is a separate ranking (one of: "cpu", "gpu", "ssd", "hdd", "ram", "usb"; examples: "cpu", "gpu")search string nullable — Keyword matched against the product name inside the class table (examples: "ryzen", "RTX 50", "980 pro"; minLength: 1)brands array nullable — Manufacturers as the source spells them; several values widen the result set to their union (examples: ["Intel"], ["Intel","AMD"])sellers array nullable — Marketplaces the price is quoted from; several values widen the result setcombo_filters array nullable — Class-specific facets such as SSD form factor, RAM latency or USB media typekey string required — Class-specific facet; each one exists on exactly one component_type (one of: "ssd_form_factor", "ram_latency", "ram_sticks", "usb_media")values array required — Facet values, matched as the source spells them; several values widen the set (minItems: 1)metric_ranges array nullable — Numeric bounds on ranked columns; each column narrows the set independentlykey string required — Ranked column to bound; the column must exist on the chosen component_type (one of: "user_rating", "value_rating", "avg_bench", "market_share", "age_months", "price", "cpu_memory_points", "cpu_8_core_points", "ssd_capacity", "ssd_write", "hdd_capacity", "hdd_write", "ram_frequency", "ram_multi_core_points", "usb_capacity", "usb_write", "usb_4k_write")min number nullable — Lower bound in the column's own units. The source's sliders move in whole units, so a fractional bound is widened outwards to the enclosing integer and the answer can include rows just below itmax number nullable — Upper bound in the column's own units. The source's sliders move in whole units, so a fractional bound is widened outwards to the enclosing integer and the answer can include rows just above itsort string nullable — Column to rank by, descending; the source's own default is user rating (one of: "user_rating", "value_rating", "avg_bench")count integer required — Max number of ranked components to return (min: 1; max: 1500)@type string (default: "UserbenchmarkComponent")id string nullablerow_id string nullablecomponent_type string nullablepage_type string nullablerank integer nullablename string nullablebrand string nullablemodel string nullablealias string nullableurl string nullableimage string nullableis_stale boolean nullablesamples integer nullablesamples_text string nullablelive_price string nullablelive_price_seller string nullableis_hot_price boolean nullableprice number nullableprice_text string nullableprice_currency string nullableprice_percentile integer nullableuser_rating number nullableuser_rating_percentile integer nullablevalue_rating number nullablevalue_rating_percentile integer nullableavg_bench number nullableavg_bench_percentile integer nullableavg_bench_low number nullableavg_bench_high number nullablemarket_share number nullablemarket_share_percentile integer nullableage_months integer nullableage_months_percentile integer nullableextra_metrics array (default: [])@type string (default: "UserbenchmarkMetric")key string nullablelabel string nullablevalue number nullablevalue_text string nullablepercentile integer nullablerange_low number nullablerange_high number nullable422 — A metric or facet key does not exist on the chosen component_type Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No component matched the class and filter combination Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.