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

> Search the completed PC builds people have published on PCPartPicker. Narrows by build price, publication period, CPU socket, video card chipset, cooler type, case type, whether the CPU is overclocked and whether the build is featured, and orders by date, community rating or price. Returns each build with its code, name, author, cover photo, headline CPU and GPU, total price, upvotes and comment count.

**Price:** 20 credits per 20 results

**⚠️ Common errors:** 412: The build feed came back without any cards, 422: A filter group, an option label or a sort value the build feed does not publish



## OpenAPI

````yaml /openapi/price-comparison.json post /api/pcpartpicker/builds/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/builds/search:
    post:
      tags:
        - /pcpartpicker
      summary: /pcpartpicker/builds/search
      description: >-
        Search the completed PC builds people have published on PCPartPicker.
        Narrows by build price, publication period, CPU socket, video card
        chipset, cooler type, case type, whether the CPU is overclocked and
        whether the build is featured, and orders by date, community rating or
        price. Returns each build with its code, name, author, cover photo,
        headline CPU and GPU, total price, upvotes and comment count.


        **Price:** 20 credits per 20 results


        **⚠️ Common errors:** 412: The build feed came back without any cards,
        422: A filter group, an option label or a sort value the build feed does
        not publish
      operationId: __api_pcpartpicker_builds_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PcpartpickerBuildsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PcpartpickerBuildCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PcpartpickerBuildsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        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: 4800
          minimum: 1
      type: object
      required:
        - count
    PcpartpickerBuildCard:
      properties:
        '@type':
          type: string
          default: PcpartpickerBuildCard
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - type: string
            - type: 'null'
        author_url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        key_parts:
          items:
            type: string
          type: array
          default: []
        total_price:
          anyOf:
            - type: number
            - type: 'null'
        price_is_partial:
          anyOf:
            - type: boolean
            - type: 'null'
        upvotes:
          anyOf:
            - type: integer
            - type: 'null'
        comment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    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
    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

````