# getFeaturedCollections

**Identifier:** `producthunt_getFeaturedCollections`

**Provider:** [Product Hunt](https://kirha.com/providers/producthunt.md)

Get featured collections from Product Hunt. Featured collections are curated lists highlighted by Product Hunt.

## Run it with the CLI

```bash
kirha tools run producthunt_getFeaturedCollections \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "producthunt_getFeaturedCollections",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "after": {
      "description": "Cursor for pagination",
      "type": "string"
    },
    "first": {
      "default": 20,
      "description": "Number of results (max 20)",
      "maximum": 20,
      "minimum": 1,
      "type": "number"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "collections": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "coverImage": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "featuredAt": {
            "type": "string"
          },
          "followersCount": {
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "user": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "username": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "username"
            ],
            "type": "object"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "followersCount",
          "createdAt",
          "user"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "pageInfo": {
      "additionalProperties": false,
      "properties": {
        "endCursor": {
          "type": "string"
        },
        "hasNextPage": {
          "type": "boolean"
        }
      },
      "required": [
        "hasNextPage"
      ],
      "type": "object"
    },
    "totalCount": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "totalCount",
    "pageInfo",
    "collections"
  ],
  "type": "object"
}
```

-----

[All Product Hunt tools](https://kirha.com/providers/producthunt.md) · [< Back to tools list](https://kirha.com/tools.md)