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

# /producthunt/forums/search

> Search Product Hunt (producthunt.com) forum threads — global trending/recent feed, per-forum listing, or keyword-filtered search

**Price:** 5 credits per 25 results

**⚠️ Common errors:** 422: Invalid forum input or `forum` combined with `keyword`



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/producthunt/forums/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/producthunt/forums/search:
    post:
      tags:
        - /producthunt
      summary: /producthunt/forums/search
      description: >-
        Search Product Hunt (producthunt.com) forum threads — global
        trending/recent feed, per-forum listing, or keyword-filtered search


        **Price:** 5 credits per 25 results


        **⚠️ Common errors:** 422: Invalid forum input or `forum` combined with
        `keyword`
      operationId: __api_producthunt_forums_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductHuntForumsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductHuntForumsSearchThread'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProductHuntForumsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        forum:
          anyOf:
            - type: string
              pattern: >-
                ^(?:https?://[^\s]+|//[^\s]+|(?:www\.)?producthunt\.com[^\s]*|[A-Za-z0-9][A-Za-z0-9._-]*)$
            - type: 'null'
        keyword:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        sort:
          $ref: '#/components/schemas/ProductHuntForumsSortOrder'
          default: trending
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - count
    ProductHuntForumsSearchThread:
      properties:
        '@type':
          type: string
          default: ProductHuntForumsSearchThread
        id:
          type: string
        alias:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        url:
          type: string
        author:
          anyOf:
            - $ref: '#/components/schemas/ProductHuntForumUser'
            - type: 'null'
        forum:
          anyOf:
            - $ref: '#/components/schemas/ProductHuntForum'
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        vote_count:
          anyOf:
            - type: integer
            - type: 'null'
        comment_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_featured:
          anyOf:
            - type: boolean
            - type: 'null'
        is_pinned:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
      required:
        - id
        - alias
        - title
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ProductHuntForumsSortOrder:
      type: string
      enum:
        - trending
        - recent
    ProductHuntForumUser:
      properties:
        '@type':
          type: string
          default: ProductHuntForumUser
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_verified:
          anyOf:
            - type: boolean
            - type: 'null'
        is_ambassador:
          anyOf:
            - type: boolean
            - type: 'null'
        is_prominent:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    ProductHuntForum:
      properties:
        '@type':
          type: string
          default: ProductHuntForum
        id:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        category_id:
          anyOf:
            - type: string
            - type: 'null'
        category_alias:
          anyOf:
            - type: string
            - type: 'null'
        category_name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - alias
    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

````