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

# Get the leaderboard

> Fetch a ranked daily, weekly, or monthly leaderboard, optionally filtered by topic.



## OpenAPI

````yaml get /v1/product-hunt/leaderboard
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/product-hunt/leaderboard:
    get:
      tags:
        - Product Hunt
      summary: Get the Product Hunt leaderboard
      description: >-
        Retrieves the Product Hunt leaderboard for a given period. Plain render
        returns the first ~19 products; pass `full_list=true` to scroll and load
        the complete list (extra cost). Self-hosted extraction behind a
        Cloudflare bypass. Requires a Starter plan or higher.
      operationId: getProductHuntLeaderboard
      parameters:
        - name: period
          in: query
          required: false
          schema:
            description: Leaderboard window (default daily)
            type: string
            enum:
              - daily
              - weekly
              - monthly
        - name: date
          in: query
          required: false
          schema:
            description: >-
              Date the leaderboard is anchored to (YYYY-MM-DD, daily/weekly
              only). Defaults to today.
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
        - name: category
          in: query
          required: false
          schema:
            description: Topic slug to filter by, e.g. 'artificial-intelligence'
            type: string
            minLength: 1
        - name: full_list
          in: query
          required: false
          schema:
            description: >-
              Scroll to load the full list instead of just the first ~19
              products (default false, extra cost)
            anyOf:
              - type: boolean
              - type: string
                enum:
                  - 'true'
                  - 'false'
      responses:
        '200':
          description: Structured Product Hunt leaderboard.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductHuntLeaderboardResponse'
        '400':
          description: Invalid period, date, or category.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Product Hunt dedicated endpoints require a Starter plan or higher.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Daily credit cap exceeded, or the upstream provider rate-limited the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Product Hunt upstream failed or returned an unusable response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Product Hunt execution backend unavailable or unconfigured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://api.scrapio.dev/v1/product-hunt/leaderboard?period=daily" \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    ProductHuntLeaderboardResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - product_hunt
        page_type:
          type: string
          enum:
            - leaderboard
        snapshot_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        period:
          type: string
          enum:
            - daily
            - weekly
            - monthly
        date:
          anyOf:
            - type: string
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        products:
          type: array
          items:
            type: object
            properties:
              rank:
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              slug:
                type: string
              name:
                type: string
              tagline:
                anyOf:
                  - type: string
                  - type: 'null'
              url:
                type: string
                format: uri
              upvotes:
                anyOf:
                  - type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  - type: 'null'
              comment_count:
                anyOf:
                  - type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  - type: 'null'
              topics:
                type: array
                items:
                  type: string
              makers:
                type: array
                items:
                  type: string
              thumbnail:
                anyOf:
                  - type: string
                  - type: 'null'
            required:
              - rank
              - slug
              - name
              - tagline
              - url
              - upvotes
              - comment_count
              - topics
              - makers
              - thumbnail
            additionalProperties: false
        truncated:
          type: boolean
        url:
          type: string
          format: uri
      required:
        - provider
        - page_type
        - snapshot_at
        - period
        - date
        - category
        - products
        - truncated
        - url
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````