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
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: 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.
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": {
"code": "validation_failed",
"message": "invalid input",
"issues": [
{
"path": "tagline",
"message": "too long"
}
]
}
}| Status | Code | Meaning |
|---|---|---|
400 | bad_request | The request could not be read (e.g. malformed JSON). |
401 | unauthorized | Missing or invalid API key. |
402 | payment_required | Balance too low; `paymentUrl` is a top-up link for a human, `requiredCents` the amount. |
403 | forbidden | The key may not do this. |
404 | not_found | Unknown resource — also for someone else's products and launches. |
409 | idempotency_mismatch, … | A conflict: the Idempotency-Key was used with another request, a state that does not allow the action, … |
422 | validation_failed | Invalid input; `issues` lists the fields. |
429 | rate_limited | Too many requests; wait `Retry-After` seconds. |
500 | internal | Our 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.
200The caller401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
200Sites401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
slug | path | string |
200Categories401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
site | query | string | Site slug (see GET /sites). |
200Plans with prices401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
200Products401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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
| Field | Type | Description |
|---|---|---|
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[] |
201Created401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string |
200Product401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string |
JSON body
| Field | Type | Description |
|---|---|---|
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[] |
200Updated product401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string |
JSON body
| Field | Type | Description |
|---|---|---|
kind | "logo" | "screenshot" | |
url | string (uri) | |
alt? | string |
201Stored and attached401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string | |
idempotency-key | header | string | Required. Same key + same body → the same result, charged once; same key + another body → 409. |
JSON body
| Field | Type | Description |
|---|---|---|
sites | string[] | "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? | object | Per-site tagline/description, keyed by site slug. |
201Launched (or the stored result of the same request)401Missing or invalid API key402Not enough balance404Not found (also: someone else’s resource, unknown Host)409Idempotency-Key reused with another request, or still running422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string |
200Launch401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string | |
plan? | query | "sidebar_week" | "newsletter_spot" | "relaunch" | Only this boost (default: all of them). |
startAt? | query | string (date-time) | Wished start of a sidebar / newsletter window (default: now). |
200Boosts with prices and dates401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
id | path | string | |
idempotency-key | header | string | Required. Same key + same body → the same result, charged once; same key + another body → 409. |
JSON body
| Field | Type | Description |
|---|---|---|
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. |
201Bought (or the stored result of the same request)401Missing or invalid API key402Not enough balance404Not found (also: someone else’s resource, unknown Host)409The launch is not live, a relaunch is too soon or booked, or the Idempotency-Key was reused with another request422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
200Balance401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
idempotency-key? | header | string |
JSON body
| Field | Type | Description |
|---|---|---|
pack | string | Credit pack code (see GET /plans). |
201Checkout link401Missing or invalid API key404Not found (also: someone else’s resource, unknown Host)422Invalid input429Too many requests (60/min per key, 120/min per IP)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
q | query | string | Words in the name, tagline or summary (matched by their beginning). |
category? | query | string | Only this category (slug from GET /catalog/categories). |
pricing? | query | "free" | "freemium" | "paid" | "open_source" | "unknown" | |
limit? | query | integer | 1–20, default 10. |
200Matching launches400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
slug | path | string |
200The product400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
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.
200Categories400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
slug | path | string | |
page? | query | integer | 1–50, 20 per page. |
200A page of the category400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
date | path | string |
200The day400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
isoWeek | path | string |
200The week400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
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.
| Parameter | In | Type | Description |
|---|---|---|---|
slugs | query | string | 2–5 product slugs, comma separated. |
200The comparison400Invalid input404Not found (also: not live on this site, unknown Host)422Invalid input429Too many requests: without a key 60 a minute and 2 000 a day per IP (Retry-After says when to try again)
curl "https://api.addhunt.com/api/v1/catalog/compare"