Skip to content
AddHunt

REST API

Create products and launch them on AddHunt and the rest of the network from your own code or an AI agent.

Overview

The API lives at https://api.addhunt.com/api/v1. Requests and responses are JSON, times are ISO 8601 in UTC and money is in whole cents (USD). Every site of the network answers the same API; calls that need a site (like plans and prices) default to the site you send them to — here, AddHunt.

A typical launch: create the product from its URL, add a logo, then launch it — for free in the weekly queue, or paid from your prepaid balance with no checkout step.

Using ChatGPT, Claude, Claude Code or Cursor instead of code? Connect an AI agent in 2 minutes.

Quick start

Quick start: create and launch a product
export LN_API_KEY="ln_live_…"

# 1. Create a product from its website (name, tagline and text are read from the page)
curl -X POST "https://api.addhunt.com/api/v1/products" \
  -H "Authorization: Bearer $LN_API_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'

# 2. Launch it on AddHunt (paid from your balance)
curl -X POST "https://api.addhunt.com/api/v1/products/<product id>/launches" \
  -H "Authorization: Bearer $LN_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: launch-example-1" \
  -d '{"sites":["addhunt"],"plan":"standard"}'

Authentication

Send your API key in the Authorization header of every request:

Authorization header
Authorization: Bearer ln_live_…

Create a key in your dashboard under API keys. It is shown once — store it as a secret and never put it in client-side code. A missing or wrong key gets 401 unauthorized. Revoke a key there at any time.

Rate limits

Up to 60 requests per minute per API key and 120 per client IP address. Above that the API answers 429 rate_limited with a Retry-After header (seconds): wait that long and try again.

Idempotency

Anything that spends money takes an Idempotency-Key header — required for launches, optional for top-up links. Use a new key for every launch you mean; if the network drops or you are not sure the call went through, send the same request with the same key again: you get the first result and are charged once.

The same key with a different request body is refused with 409 idempotency_mismatch. Keys belong to your account, so another account may use the same string.

Webhooks

Add up to 5 https endpoints with POST /webhooks/endpoints and we POST the events of your products and orders to them: launch.approved, launch.published, launch.rejected, launch.withdrawn, order.paid, order.refunded. The body is {id, type, createdAt, data}; the signing secret is shown once, when you add the endpoint.

Check every call: X-Webhook-Signature is v1= and the hex HMAC-SHA256 of X-Webhook-Id + "." + X-Webhook-Timestamp + "." + raw body with your secret. Answer 2xx within 5 seconds; otherwise we retry after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h with the same X-Webhook-Id — use it to skip repeats. After 20 failures in a row the endpoint is switched off and we email you.

Verify a webhook (Node.js)
import { createHmac, timingSafeEqual } from 'node:crypto'

export function verify(secret, headers, rawBody) {
  const id = headers['x-webhook-id']
  const ts = headers['x-webhook-timestamp']
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false // older than 5 min
  const mac = createHmac('sha256', secret).update(`${id}.${ts}.${rawBody}`).digest('hex')
  const expected = Buffer.from(`v1=${mac}`)
  const got = Buffer.from(String(headers['x-webhook-signature'] ?? ''))
  return got.length === expected.length && timingSafeEqual(got, expected)
}

Errors

Every error has the same shape:

Error shape
{
  "error": {
    "code": "validation_failed",
    "message": "invalid input",
    "issues": [
      {
        "path": "tagline",
        "message": "too long"
      }
    ]
  }
}
StatusCodeMeaning
400bad_requestThe request could not be read (e.g. malformed JSON).
401unauthorizedMissing or invalid API key.
402payment_requiredBalance too low; `paymentUrl` is a top-up link for a human, `requiredCents` the amount.
403forbiddenThe key may not do this.
404not_foundUnknown resource — also for someone else's products and launches.
409idempotency_mismatch, …A conflict: the Idempotency-Key was used with another request, a state that does not allow the action, …
422validation_failedInvalid input; `issues` lists the fields.
429rate_limitedToo many requests; wait `Retry-After` seconds.
500internalOur fault; quote `requestId` when you contact us.

With too little balance a paid launch charges nothing and answers 402 with a paymentUrl: give the link to a human, then repeat the call with the same Idempotency-Key once they have paid.

Endpoints

Generated from the OpenAPI document (version 1.0.0): https://api.addhunt.com/api/v1/openapi.json — shown from a recent copy while the live document is unavailable.

Account

GET/api/v1/me

Who am I: the user and key of this request and the site of the Host

Requires an API key.

  • 200 The caller
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /me
curl "https://api.addhunt.com/api/v1/me" \
  -H "Authorization: Bearer $LN_API_KEY"

Sites

GET/api/v1/sites

Live sites of the network

Requires an API key.

  • 200 Sites
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /sites
curl "https://api.addhunt.com/api/v1/sites" \
  -H "Authorization: Bearer $LN_API_KEY"

GET/api/v1/sites/{slug}/categories

Categories of a site (use their slugs in categorySlugs)

Requires an API key.

ParameterInTypeDescription
slugpathstring
  • 200 Categories
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /sites/{slug}/categories
curl "https://api.addhunt.com/api/v1/sites/{slug}/categories" \
  -H "Authorization: Bearer $LN_API_KEY"

Plans

GET/api/v1/plans

Plans and prices on a site, with the next free launch date

Requires an API key.

ParameterInTypeDescription
sitequerystringSite slug (see GET /sites).
  • 200 Plans with prices
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /plans
curl "https://api.addhunt.com/api/v1/plans" \
  -H "Authorization: Bearer $LN_API_KEY"

Products

GET/api/v1/products

Your products, newest first, with images and launches

Requires an API key.

  • 200 Products
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /products
curl "https://api.addhunt.com/api/v1/products" \
  -H "Authorization: Bearer $LN_API_KEY"

POST/api/v1/products

Create a product from its URL (prefilled from the page) or from fields

Requires an API key.

JSON body

FieldTypeDescription
url?string (uri)Product website: fields are prefilled from the page.
name?string
websiteUrl?string
tagline?string
description?string
summary?string
categorySlugs?string[]
tagSlugs?string[]
pricingModel?"free" | "freemium" | "paid" | "open_source" | "unknown"
priceFromCents?integer | null
features?string[]
  • 201 Created
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: POST /products
curl -X POST "https://api.addhunt.com/api/v1/products" \
  -H "Authorization: Bearer $LN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Notely","websiteUrl":"https://notely.app","tagline":"Notes that write themselves","categorySlugs":["ai","productivity"],"pricingModel":"freemium","priceFromCents":900,"features":["Meeting notes","Search"]}'

GET/api/v1/products/{id}

One of your products

Requires an API key.

ParameterInTypeDescription
idpathstring
  • 200 Product
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /products/{id}
curl "https://api.addhunt.com/api/v1/products/{id}" \
  -H "Authorization: Bearer $LN_API_KEY"

PATCH/api/v1/products/{id}

Change fields of one of your products (the slug never changes)

Requires an API key.

ParameterInTypeDescription
idpathstring

JSON body

FieldTypeDescription
name?string
websiteUrl?string
tagline?string
description?string
summary?string
categorySlugs?string[]
tagSlugs?string[]
pricingModel?"free" | "freemium" | "paid" | "open_source" | "unknown"
priceFromCents?integer | null
features?string[]
  • 200 Updated product
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: PATCH /products/{id}
curl -X PATCH "https://api.addhunt.com/api/v1/products/{id}" \
  -H "Authorization: Bearer $LN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tagline":"Meeting notes in one click"}'

POST/api/v1/products/{id}/images

Add a logo or screenshot: multipart upload or { url } (public addresses only)

The image is checked and re-encoded to WebP (SVG and ICO are kept). One logo and up to six screenshots per product; ≤ 10 MB.

Requires an API key.

ParameterInTypeDescription
idpathstring

JSON body

FieldTypeDescription
kind"logo" | "screenshot"
urlstring (uri)
alt?string
  • 201 Stored and attached
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: POST /products/{id}/images
curl -X POST "https://api.addhunt.com/api/v1/products/{id}/images" \
  -H "Authorization: Bearer $LN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"logo","url":"https://notely.app/logo.png"}'

POST/api/v1/products/{id}/launches

Launch a product on sites: free (queue) or paid from your balance

Free: each site gets a date in its weekly free queue; the launch waits for review. Paid (standard, featured, network): one order paid from the balance — with too little balance the answer is 402 with `paymentUrl` for a human to top up. Requires `Idempotency-Key`.

Requires an API key.

ParameterInTypeDescription
idpathstring
idempotency-keyheaderstringRequired. Same key + same body → the same result, charged once; same key + another body → 409.

JSON body

FieldTypeDescription
sitesstring[] | "network"Site slugs, or "network" for every live site (the network plan always covers all).
plan"free" | "standard" | "featured" | "network"
launchAt?string (date-time)Paid plans: wished launch day (aligned to the site launch hour).
copy?objectPer-site tagline/description, keyed by site slug.
  • 201 Launched (or the stored result of the same request)
  • 401 Missing or invalid API key
  • 402 Not enough balance
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 409 Idempotency-Key reused with another request, or still running
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: POST /products/{id}/launches
curl -X POST "https://api.addhunt.com/api/v1/products/{id}/launches" \
  -H "Authorization: Bearer $LN_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"sites":["addhunt"],"plan":"standard"}'

Launches

GET/api/v1/launches/{id}

Status of a launch: review, queue date, public URL once live

Requires an API key.

ParameterInTypeDescription
idpathstring
  • 200 Launch
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /launches/{id}
curl "https://api.addhunt.com/api/v1/launches/{id}" \
  -H "Authorization: Bearer $LN_API_KEY"

GET/api/v1/launches/{id}/boosts

Boosts for a live launch: sidebar spot, newsletter spot, relaunch — price and when

For one of your launches: what each boost costs on its site, whether it can be bought now and from when it would run (the earliest free sidebar / newsletter window, or when a relaunch becomes possible — at least 90 days after the last launch).

Requires an API key.

ParameterInTypeDescription
idpathstring
plan?query"sidebar_week" | "newsletter_spot" | "relaunch"Only this boost (default: all of them).
startAt?querystring (date-time)Wished start of a sidebar / newsletter window (default: now).
  • 200 Boosts with prices and dates
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /launches/{id}/boosts
curl "https://api.addhunt.com/api/v1/launches/{id}/boosts" \
  -H "Authorization: Bearer $LN_API_KEY"

POST/api/v1/launches/{id}/boosts

Buy a boost for a live launch, paid from your balance

Same rules as a paid launch: charged to the balance; with too little balance the answer is 402 with `paymentUrl` for a human to top up. 409 when the launch is not live (`boost_needs_live_launch`) or a relaunch is not possible yet (`relaunch_too_soon`, `relaunch_already_booked`). Requires `Idempotency-Key`.

Requires an API key.

ParameterInTypeDescription
idpathstring
idempotency-keyheaderstringRequired. Same key + same body → the same result, charged once; same key + another body → 409.

JSON body

FieldTypeDescription
plan"sidebar_week" | "newsletter_spot" | "relaunch"
startAt?string (date-time)Sidebar / newsletter: wished start (the earliest free window from then is booked). Relaunch: when to launch again (default: the next launch hour). At most 90 days ahead.
  • 201 Bought (or the stored result of the same request)
  • 401 Missing or invalid API key
  • 402 Not enough balance
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 409 The launch is not live, a relaunch is too soon or booked, or the Idempotency-Key was reused with another request
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: POST /launches/{id}/boosts
curl -X POST "https://api.addhunt.com/api/v1/launches/{id}/boosts" \
  -H "Authorization: Bearer $LN_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"plan":"sidebar_week"}'

Balance

GET/api/v1/balance

Your prepaid balance (cents, USD)

Requires an API key.

  • 200 Balance
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: GET /balance
curl "https://api.addhunt.com/api/v1/balance" \
  -H "Authorization: Bearer $LN_API_KEY"

POST/api/v1/balance/topup

Checkout link to buy a credit pack (a human pays by card)

Requires an API key.

ParameterInTypeDescription
idempotency-key?headerstring

JSON body

FieldTypeDescription
packstringCredit pack code (see GET /plans).
  • 201 Checkout link
  • 401 Missing or invalid API key
  • 404 Not found (also: someone else’s resource, unknown Host)
  • 422 Invalid input
  • 429 Too many requests (60/min per key, 120/min per IP)
Example: POST /balance/topup
curl -X POST "https://api.addhunt.com/api/v1/balance/topup" \
  -H "Authorization: Bearer $LN_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"pack":"credit_100"}'

catalog

GET/api/v1/catalog/search

Search the launches of this site (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply. Matches words in the name, this site's tagline and the summary by their beginning; name matches first, then by upvotes. Up to 20.

No API key needed.

ParameterInTypeDescription
qquerystringWords in the name, tagline or summary (matched by their beginning).
category?querystringOnly this category (slug from GET /catalog/categories).
pricing?query"free" | "freemium" | "paid" | "open_source" | "unknown"
limit?queryinteger1–20, default 10.
  • 200 Matching launches
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/search
curl "https://api.addhunt.com/api/v1/catalog/search"

GET/api/v1/catalog/products/{slug}

One launched product: summary, features, facts, pricing, FAQ, review (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply. 404 for a product that is not live on this site.

No API key needed.

ParameterInTypeDescription
slugpathstring
  • 200 The product
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/products/{slug}
curl "https://api.addhunt.com/api/v1/catalog/products/{slug}"

GET/api/v1/catalog/categories

Categories of this site with their launch counts (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply.

No API key needed.

  • 200 Categories
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/categories
curl "https://api.addhunt.com/api/v1/catalog/categories"

GET/api/v1/catalog/categories/{slug}

Launches of one category, newest first, 20 a page (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply.

No API key needed.

ParameterInTypeDescription
slugpathstring
page?queryinteger1–50, 20 per page.
  • 200 A page of the category
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/categories/{slug}
curl "https://api.addhunt.com/api/v1/catalog/categories/{slug}"

GET/api/v1/catalog/days/{date}

Launches of one launch day (YYYY-MM-DD), most upvoted first (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply. A launch day starts at the site's launch hour (UTC).

No API key needed.

ParameterInTypeDescription
datepathstring
  • 200 The day
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/days/{date}
curl "https://api.addhunt.com/api/v1/catalog/days/{date}"

GET/api/v1/catalog/weeks/{isoWeek}

Launches of one ISO week (YYYY-Www), most upvoted first (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply.

No API key needed.

ParameterInTypeDescription
isoWeekpathstring
  • 200 The week
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/weeks/{isoWeek}
curl "https://api.addhunt.com/api/v1/catalog/weeks/{isoWeek}"

GET/api/v1/catalog/compare

2–5 launched products side by side (no key)

Open catalogue: read without a key. Every launch that is live on this site (the Host decides the site), with links to its page here and to its own website. Paid placements carry a label; `indexable` says whether search engines index the page. 60 requests a minute and 2 000 a day per IP without a key; with an API key the key’s own limits apply. One row per fact (tagline, pricing, categories, features, the products' own facts, launch date, upvotes, website). Only what the product pages say — no ratings.

No API key needed.

ParameterInTypeDescription
slugsquerystring2–5 product slugs, comma separated.
  • 200 The comparison
  • 400 Invalid input
  • 404 Not found (also: not live on this site, unknown Host)
  • 422 Invalid input
  • 429 Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
Example: GET /catalog/compare
curl "https://api.addhunt.com/api/v1/catalog/compare"