> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /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



## OpenAPI

````yaml /openapi/hardware-benchmarks.json post /api/userbenchmark/components/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/userbenchmark/components/search:
    post:
      tags:
        - /userbenchmark
      summary: /userbenchmark/components/search
      description: >-
        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
      operationId: __api_userbenchmark_components_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserbenchmarkComponentsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserbenchmarkComponent'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UserbenchmarkComponentsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        component_type:
          $ref: '#/components/schemas/UserbenchmarkComponentType'
        search:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        brands:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        sellers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        combo_filters:
          anyOf:
            - items:
                $ref: '#/components/schemas/UserbenchmarkComboFilter'
              type: array
            - type: 'null'
        metric_ranges:
          anyOf:
            - items:
                $ref: '#/components/schemas/UserbenchmarkMetricRange'
              type: array
            - type: 'null'
        sort:
          anyOf:
            - $ref: '#/components/schemas/UserbenchmarkSortKey'
            - type: 'null'
        count:
          type: integer
          maximum: 1500
          minimum: 1
      type: object
      required:
        - component_type
        - count
    UserbenchmarkComponent:
      properties:
        '@type':
          type: string
          default: UserbenchmarkComponent
        id:
          anyOf:
            - type: string
            - type: 'null'
        row_id:
          anyOf:
            - type: string
            - type: 'null'
        component_type:
          anyOf:
            - type: string
            - type: 'null'
        page_type:
          anyOf:
            - type: string
            - type: 'null'
        rank:
          anyOf:
            - type: integer
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        model:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_stale:
          anyOf:
            - type: boolean
            - type: 'null'
        samples:
          anyOf:
            - type: integer
            - type: 'null'
        samples_text:
          anyOf:
            - type: string
            - type: 'null'
        live_price:
          anyOf:
            - type: string
            - type: 'null'
        live_price_seller:
          anyOf:
            - type: string
            - type: 'null'
        is_hot_price:
          anyOf:
            - type: boolean
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        price_text:
          anyOf:
            - type: string
            - type: 'null'
        price_currency:
          anyOf:
            - type: string
            - type: 'null'
        price_percentile:
          anyOf:
            - type: integer
            - type: 'null'
        user_rating:
          anyOf:
            - type: number
            - type: 'null'
        user_rating_percentile:
          anyOf:
            - type: integer
            - type: 'null'
        value_rating:
          anyOf:
            - type: number
            - type: 'null'
        value_rating_percentile:
          anyOf:
            - type: integer
            - type: 'null'
        avg_bench:
          anyOf:
            - type: number
            - type: 'null'
        avg_bench_percentile:
          anyOf:
            - type: integer
            - type: 'null'
        avg_bench_low:
          anyOf:
            - type: number
            - type: 'null'
        avg_bench_high:
          anyOf:
            - type: number
            - type: 'null'
        market_share:
          anyOf:
            - type: number
            - type: 'null'
        market_share_percentile:
          anyOf:
            - type: integer
            - type: 'null'
        age_months:
          anyOf:
            - type: integer
            - type: 'null'
        age_months_percentile:
          anyOf:
            - type: integer
            - type: 'null'
        extra_metrics:
          items:
            $ref: '#/components/schemas/UserbenchmarkMetric'
          type: array
          default: []
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    UserbenchmarkComponentType:
      type: string
      enum:
        - cpu
        - gpu
        - ssd
        - hdd
        - ram
        - usb
    UserbenchmarkComboFilter:
      properties:
        key:
          $ref: '#/components/schemas/UserbenchmarkComboKey'
        values:
          items:
            type: string
          type: array
          minItems: 1
      type: object
      required:
        - key
        - values
    UserbenchmarkMetricRange:
      properties:
        key:
          $ref: '#/components/schemas/UserbenchmarkMetricKey'
        min:
          anyOf:
            - type: number
            - type: 'null'
        max:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - key
    UserbenchmarkSortKey:
      type: string
      enum:
        - user_rating
        - value_rating
        - avg_bench
    UserbenchmarkMetric:
      properties:
        '@type':
          type: string
          default: UserbenchmarkMetric
        key:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
        value:
          anyOf:
            - type: number
            - type: 'null'
        value_text:
          anyOf:
            - type: string
            - type: 'null'
        percentile:
          anyOf:
            - type: integer
            - type: 'null'
        range_low:
          anyOf:
            - type: number
            - type: 'null'
        range_high:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    UserbenchmarkComboKey:
      type: string
      enum:
        - ssd_form_factor
        - ram_latency
        - ram_sticks
        - usb_media
    UserbenchmarkMetricKey:
      type: string
      enum:
        - 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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````