Piloterr

ProductHunt Product Info

GET
/v2/producthunt/product/info

Retrieve product data from ProductHunt, including tagline, categories, screenshots, reviews rating, and social links.

Status: Degraded

Credit cost: 1 credit per call

Autorização

ApiKeyAuth
x-api-key<token>

Your API key. Include it in the x-api-key header for every request.

In: header

Parâmetros de consulta

query*string

A ProductHunt product URL or product slug.

Examples:

https://www.producthunt.com/products/miro

Both the full ProductHunt URL and the product slug are accepted.

Corpo da resposta

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/producthunt/product/info?query=string"
{  "id": "111772",  "logo": "https://ph-files.imgix.net/01cca4e0-cc5d-4b42-931e-c76756e76f07.jpeg",  "name": "Miro",  "slug": "miro",  "tagline": "The visual collaboration platform for every team",  "categories": [    {      "id": "46",      "name": "Productivity"    }  ],  "description": "Miro enables you to engage all your collocated, distributed, or remote teams across formats, tools, channels, and time zones, without the constraints of physical location, meeting space, and whiteboards.",  "posts_count": 25,  "screenshots": [    "https://ph-files.imgix.net/b8d40ef8-32f7-474f-90b9-b29801ae04a5.jpeg",    "https://ph-files.imgix.net/7718a5c1-a635-4804-a605-4543f506e77a.png"  ],  "pricing_type": null,  "social_links": {    "website": "https://miro.com/"  },  "reviews_rating": 4.85,  "reviewers_count": 342}
{  "error": "Bad Request"}
{  "error": "Invalid API Key"}
{  "error": "Payment required"}
{  "error": "Rate limit exceeded for the API key: quota monthly"}
{  "error": "Internal Error"}