---
title: "Retrieve Product Hunt product alternatives"
method: GET
path: "/producthunt/product/{id}/alternatives"
tags: ["ProductHunt"]
---

# Retrieve Product Hunt product alternatives

`GET /producthunt/product/{id}/alternatives`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/producthunt/product/{id}/alternatives`
- Auth: API key in header `x-api-key`

Lists alternatives to a Product Hunt product, looked up by its slug in `id`. `first` sets the page size (default 10), `order` defaults to `most_relevant`, and `tags` takes comma-separated tag slugs. Returns alternative items with ratings, badges and scores, alternative tags with counts, and related discussions. Use `end_cursor` as `cursor` for the next page.

## Path parameters

- `id` string, required

## Query parameters

- `first` integer
- `cursor` string
- `order` string
- `tags` string

## Headers

- `x-api-key` string, required

## Response `200`

Wrapped alternatives payload

- ProducthuntAlternativesResponseDoc
  - `code` integer
  - `data` ProducthuntProductAlternativesPage
    - `alternative_tags` ProducthuntProductAlternativeTag[]
      - `count` integer
      - `name` string
    - `alternatives_markdown_description` string
    - `categories` string[]
    - `discussions` ProducthuntProductAlternativeDiscussion[]
      - `comments_count` integer: Number of comments on the discussion.
      - `created_at` string: ISO 8601 timestamp of when the discussion was created.
      - `description_preview` string: Short preview of the discussion's opening text.
      - `has_voted` boolean: Whether the viewer has upvoted the discussion.
      - `id` string: Product Hunt ID of the discussion.
      - `path` string: Product Hunt path of the discussion.
      - `pinned` boolean: Whether the discussion is pinned.
      - `primary_forum` ProducthuntProductAlternativeDiscussionForum
        - `id` string: Product Hunt id of the discussion forum.
        - `slug` string: URL slug of the discussion forum.
        - `subject_id` string: Product Hunt id of the product the forum belongs to.
        - `subject_name` string: Name of the product the forum belongs to.
      - `slug` string: URL slug of the discussion.
      - `title` string: Title of the discussion.
      - `user` ProducthuntProductAlternativeDiscussionUser
        - `avatar_url` string: URL of the user's profile picture.
        - `id` string: Product Hunt id of the user who started the discussion.
        - `name` string: Display name of the user.
        - `username` string: Product Hunt username of the user.
      - `votes_count` integer: Number of upvotes on the discussion.
    - `discussions_has_next_page` boolean
    - `end_cursor` string
    - `followers_count` integer
    - `has_next_page` boolean
    - `items` ProducthuntProductAlternativeItem[]
      - `category_score` number
      - `category_weight` number
      - `combined_score` number
      - `embedding_score` number
      - `embedding_weight` number
      - `id` string
      - `product` ProducthuntProductAlternativeProduct
        - `badges` ProducthuntProductAlternativeBadge[]
          - `date` string: Date the badge was awarded.
          - `id` string: Product Hunt ID of the badge.
          - `period` string: Leaderboard period of the badge, for example `daily` or `weekly`.
          - `position` integer: Leaderboard position the badge was awarded for.
          - `post_name` string: Name of the launch post the badge was awarded for.
          - `post_slug` string: URL slug of the launch post the badge was awarded for.
        - `categories` string[]
        - `followers_count` integer
        - `id` string
        - `is_subscribed` boolean
        - `is_top_product` boolean
        - `logo_uuid` string
        - `name` string
        - `reviews_count` integer
        - `reviews_rating` number
        - `slug` string
        - `structured_data` ProducthuntProductAlternativeStructuredData
          - `application_category` string: Schema.org application category of the product.
          - `context` string: Schema.org context URL of the product's structured data block.
          - `date_modified` string: Date the product page was last modified.
          - `date_published` string: Date the product was published on Product Hunt.
          - `description` string: Product description as given in its structured data.
          - `id` string: Identifier of the product in its structured data block.
          - `image` string: URL of the product's main image.
          - `name` string: Product name as given in its structured data.
          - `operating_system` string: Operating systems the product runs on, as listed in its structured data.
          - `screenshot` string[]: URLs of the product's screenshots.
          - `url` string: Product Hunt page URL of the product.
        - `tagline` string
        - `tags` string[]
      - `rating_score` number
      - `rating_weight` number
    - `name` string
    - `product_id` string
    - `slug` string
    - `total_count` integer
  - `msg` string

## Other responses

- `400`: Missing or invalid parameters
- `404`: Product not found
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
