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

# /pcpartpicker/products/search

> Search one PCPartPicker component category — CPUs, coolers, motherboards, memory, storage, video cards, power supplies, cases, case fans, monitors, keyboards, mice, headphones, speakers, webcams, sound and network cards, fan controllers, thermal paste, optical drives, operating systems and UPS units. Narrows by any option filter the category publishes (manufacturer, chipset, socket, memory type, form factor, colour, rating and the rest), by numeric ranges such as price, capacity, clock speed, wattage, length and port counts, and by a keyword matched against product names. Returns each product with its PCPartPicker code, name, image, the category's own spec columns, the current cheapest price and the community star rating.

**Price:** 20 credits per 100 results

**⚠️ Common errors:** 412: The category page did not come back with a product table, 422: A filter group, an option label or a sort value that this category does not publish



## OpenAPI

````yaml /openapi/price-comparison.json post /api/pcpartpicker/products/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/pcpartpicker/products/search:
    post:
      tags:
        - /pcpartpicker
      summary: /pcpartpicker/products/search
      description: >-
        Search one PCPartPicker component category — CPUs, coolers,
        motherboards, memory, storage, video cards, power supplies, cases, case
        fans, monitors, keyboards, mice, headphones, speakers, webcams, sound
        and network cards, fan controllers, thermal paste, optical drives,
        operating systems and UPS units. Narrows by any option filter the
        category publishes (manufacturer, chipset, socket, memory type, form
        factor, colour, rating and the rest), by numeric ranges such as price,
        capacity, clock speed, wattage, length and port counts, and by a keyword
        matched against product names. Returns each product with its
        PCPartPicker code, name, image, the category's own spec columns, the
        current cheapest price and the community star rating.


        **Price:** 20 credits per 100 results


        **⚠️ Common errors:** 412: The category page did not come back with a
        product table, 422: A filter group, an option label or a sort value that
        this category does not publish
      operationId: __api_pcpartpicker_products_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PcpartpickerProductsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PcpartpickerProductCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PcpartpickerProductsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        category:
          $ref: '#/components/schemas/PcpartpickerCategory'
        region:
          $ref: '#/components/schemas/PcpartpickerRegion'
          default: us
        search:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        filters:
          anyOf:
            - items:
                $ref: '#/components/schemas/PcpartpickerFilterSelection'
              type: array
            - type: 'null'
        ranges:
          anyOf:
            - items:
                $ref: '#/components/schemas/PcpartpickerRangeSelection'
              type: array
            - type: 'null'
        sort:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        count:
          type: integer
          maximum: 20000
          minimum: 1
      type: object
      required:
        - category
        - count
    PcpartpickerProductCard:
      properties:
        '@type':
          type: string
          default: PcpartpickerProductCard
        id:
          type: string
        internal_id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        specs:
          items:
            $ref: '#/components/schemas/PcpartpickerSpec'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PcpartpickerCategory:
      type: string
      enum:
        - cpu
        - cpu-cooler
        - motherboard
        - memory
        - internal-hard-drive
        - video-card
        - power-supply
        - case
        - headphones
        - keyboard
        - mouse
        - speakers
        - webcam
        - monitor
        - os
        - sound-card
        - wired-network-card
        - wireless-network-card
        - case-fan
        - fan-controller
        - thermal-paste
        - external-hard-drive
        - optical-drive
        - ups
    PcpartpickerRegion:
      type: string
      enum:
        - au
        - at
        - be
        - ca
        - cz
        - dk
        - fi
        - fr
        - de
        - hu
        - ie
        - it
        - nl
        - nz
        - 'no'
        - pl
        - pt
        - ro
        - sa
        - sk
        - es
        - se
        - uk
        - us
    PcpartpickerFilterSelection:
      properties:
        name:
          type: string
          minLength: 1
        values:
          items:
            type: string
          type: array
          minItems: 1
      type: object
      required:
        - name
        - values
    PcpartpickerRangeSelection:
      properties:
        name:
          type: string
          minLength: 1
        minimum:
          anyOf:
            - type: number
            - type: 'null'
        maximum:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - name
    PcpartpickerSpec:
      properties:
        '@type':
          type: string
          default: PcpartpickerSpec
        name:
          type: string
        value:
          type: string
      type: object
      required:
        - name
        - value
    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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````