Para IA

Product Hunt API: top launches

3 Product Hunt endpoints covering products, from $0.003 a call. No Product Hunt account or cookie needed.

Empieza gratis Try top launches
Conecta tu IA

Pega esto en tu agente

Lee https://okdata.online/agents.md y configura okdata por mí; mi clave está en la variable de entorno OKDATA_API_KEY.

Claude Code, Cursor, Codex y otros agentes que pueden abrir un enlace se configuran solos a partir de él.

Servidor MCPhttps://api.okdata.online/mcp

Ask about Product Hunt from Claude, Cursor and other agents: the Product Hunt MCP page

Endpoints
3 endpoints
En 1 grupos, un solo formato de respuesta · 2 próximamente
Precio más bajo
Desde $0.003
Una llamada, pagada con saldo prepago
Actualidad
En directo
Leído de la plataforma cuando llamas
Cuota mensual
$0
Sin suscripción ni gasto mínimo

Every Product Hunt endpoint

Una fila por endpoint: la solicitud, lo que se devuelve y lo que cuesta una llamada.

What people do with Product Hunt data

Cada tarea tiene su propia página con los endpoints que usa, un ejemplo resuelto y su coste.

Empieza en tres pasos

The example is Product Hunt top launches; every Product Hunt endpoint is called the same way and answers in the same shape.

  1. Obtener una clave

    Crea una cuenta y una clave en la consola. Cada clave nueva incluye $0.20 para probar, sin tarjeta.

    Abrir la consola

  2. Conecta tu IA o llámala tú mismo

    Pega esta frase en Claude Code, Cursor, Codex u otro agente que pueda abrir un enlace, y se configurará solo. O envía la solicitud de abajo con tu clave en el encabezado Authorization.

    Configura okdata por mí siguiendo https://okdata.online/agents.md. Esta es mi clave de API de okdata: okd_…. Guárdala bien y úsala en todas tus llamadas a okdata.

    Sustituye el marcador por tu propia clave, o inicia sesión y cópialo con la clave ya incluida.

  3. Haz la primera llamada

    Los elementos llegan en data.items (un objeto en data.item), la página siguiente en page.next_cursor y lo que se te cobró en meta.billing.amount.

    cURL

    curl "https://api.okdata.online/v1/producthunt/products/trending" \
      -H "Authorization: Bearer $OKDATA_API_KEY"

    Python

    import os
    import requests
    
    resp = requests.get(
        "https://api.okdata.online/v1/producthunt/products/trending",
        headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"},
        params={},
        timeout=60,
    )
    body = resp.json()
    if body["code"] != "ok":
        raise RuntimeError(f"{body['code']}: {body['message']} (charged: {body['charged']})")
    
    for row in body["data"]["items"]:
        print(row["id"], row["metrics"]["likes"], row["text"][:60])
    print("cost: $" + body["meta"]["billing"]["amount"])

    TypeScript

    const url = new URL('https://api.okdata.online/v1/producthunt/products/trending');
    
    const res = await fetch(url, {
      headers: {
        Authorization: `Bearer ${process.env.OKDATA_API_KEY}`,
      },
    });
    const body = await res.json();
    if (body.code !== 'ok') throw new Error(`${body.code}: ${body.message}`);
    
    for (const row of body.data.items) {
      console.log(row.id, row.metrics.likes, row.text.slice(0, 60));
    }
    console.log('cost: $' + body.meta.billing.amount);

    MCPtools/call

    {
      "name": "call",
      "arguments": {
        "capability": "producthunt.products.trending"
      }
    }

Questions about the Product Hunt API

What does the Product Hunt API cost?

Each of the 3 endpoints has its own price, from $0.003 to $0.006 a call; the cheapest is Product Hunt top launches at $0.003. You pay per call from a prepaid balance, with no subscription. A call that reaches the platform is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.

Do I need a Product Hunt account or cookie?

No. You call https://api.okdata.online with one okdata key and get public Product Hunt data back; you never use your own Product Hunt account, cookie or QR login.

¿Qué tan actualizados están los datos?

A request reads Product Hunt when you call, unless the same request was answered a short while ago: then the answer can come from the result cache, with meta.cached: true and meta.fetched_at saying when it was read (lists and searches up to 30 minutes old, one post or product up to 1 hour, profiles up to 6 hours).

Can my AI agent use the Product Hunt API?

Sí. Conecta el servidor MCP en https://api.okdata.online/mcp: su herramienta find lista estos 3 endpoints con sus precios, y su herramienta call los ejecuta con tu key.

¿Puedo probarlo gratis?

New accounts get $0.20 of trial credit with no card: enough for 66 calls to Product Hunt top launches.

Conéctate una vez y luego solo pregunta.

Cada clave nueva incluye $0.20 para probar. Una frase conecta tu agente.

Empieza gratis
Conecta tu IA

Pega esto en tu agente

Lee https://okdata.online/agents.md y configura okdata por mí; mi clave está en la variable de entorno OKDATA_API_KEY.

Claude Code, Cursor, Codex y otros agentes que pueden abrir un enlace se configuran solos a partir de él.

Servidor MCPhttps://api.okdata.online/mcp