POST /holders/initialize
Create a pending holders order.
Reserves an order and returns paymentAddress + nRequiredSol. On
payment, a worker fans out buys across N fresh wallets to create
holders. Fixed tiers only; the price depends on eMode.
Use case
Boost holder count on a newly-launched token — pick a tier, pay once, worker spreads small buys across N wallets.
Body
| Field | Type | Required | Description |
|---|---|---|---|
sTokenAddress | string | yes | Token mint. |
sPoolId | string | yes | Pool id for the mint. |
ePoolChosen | enum | yes | RAYDIUM, METEORA, MOONSHOT, PUMPFUN, PUMPSWAP, LAUNCHLAB, DBC. MOONIT and HEAVEN are accepted by the enum but rejected with 400 in both modes. |
nHoldersCount | integer | yes | Must match one of the tiers of the chosen mode (500, 1000, 2500, 5000, 10000, 20000). |
eMode | enum | no | BASIC (default) or ORGANIC. See Holders. |
Pool checks
- The pool's quote token must be tradable against SOL. PumpFun cashback coins and PumpSwap cashback pools are not supported.
ORGANICalso requires the pool to have at least $4k liquidity. When Organic is temporarily unavailable for the chosen tier the call fails with503; try a smaller tier or later.
Singleton rule
Each user can have at most one order awaiting payment at a time.
409 if another is pending:
{
"message": "this user already has a pending Holders order — complete or cancel it before initializing another",
"pendingHoldersId": "66b4…"
}
Makers orders are paid to the same address, so a pending Makers order blocks a new Holders order as well:
{
"message": "this user has a pending Makers order paid to the same address — complete or cancel it first",
"pendingMakersId": "6731…"
}
Response 202
{
"holdersId": "66b4…",
"status": "PENDING_PAYMENT",
"paymentAddress": "…",
"nRequiredSol": 1.5,
"nHoldersCount": 500,
"eMode": "BASIC",
"sTokenAddress": "…",
"sPoolId": "…",
"ePoolChosen": "RAYDIUM"
}
sWarning is added only when the pool's price makes the ordered count
unreachable, for example:
{ "sWarning": "because of the price of this pool's quote token, the bot may create fewer holders than ordered" }
For ORGANIC the text names the token's high price and gives an
estimate (about N).
Pay the order with a plain transfer to paymentAddress, or with
POST /holders/pay.
Errors
| Status | Meaning |
|---|---|
400 | Invalid inputs, nHoldersCount not in the tier set of the mode, unsupported pool (HEAVEN, MOONIT, unsupported quote, cashback coin), or ORGANIC on a pool under $4k liquidity. |
409 | User already has a pending Holders or Makers order (also returned when two requests race). |
503 | ORGANIC only: temporarily unavailable for this tier, or pool liquidity could not be checked. Retry later or pick a smaller tier. |
Example
curl -X POST "$BASE_URL/holders/initialize" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID" \
-H "Content-Type: application/json" \
-d '{
"sTokenAddress": "…",
"sPoolId": "…",
"ePoolChosen": "RAYDIUM",
"nHoldersCount": 500,
"eMode": "BASIC"
}'