A simple REST API for ordering Discord decorations, nameplates and bundles. Price an item, place an order, poll for the gift link.
Charged from your balance at your reseller rate. Get API access.
Grab your key from the dashboard, place an order, then poll until it is delivered.
Send your key in the X-API-Key header on every request. Find and rotate it in the dashboard. A planless or expired key returns 403. Keep the key server-side; it can spend your balance.
Price one or more items at your reseller rate. No charge, nothing ordered.
| Body field | Type | Description |
|---|---|---|
| links required | string | One or more items, newline-separated. Each line is a shop URL or a bare SKU id. |
| Response | Type | Description |
|---|---|---|
| items | array | Priced items: sku, name, price (your rate, EUR). |
| total | number | Sum of item prices. |
| errors | array | Links that could not be priced (unknown or blacklisted SKU). |
Charges your balance and queues the gifts. One item per line. The call returns once the charge clears; poll the status endpoint for the gift links.
| Body field | Type | Description |
|---|---|---|
| links required | string | Items to order, newline-separated. Same format as quote. |
| Response | Type | Description |
|---|---|---|
| order_id | string | Pass it to the status endpoint. |
| total | number | Amount charged to your balance (EUR). |
| status | string | paid, queued for fulfillment. |
Poll until the status is delivered, partial or failed, then read the gift links from codes. You can only read your own orders.
| Response | Type | Description |
|---|---|---|
| id | string | The order id. |
| status | string | See statuses below. |
| codes | array | Delivered discord.gift links. Empty until delivered. |
| total | number | Amount charged (EUR). |
Get random items at your price — decorations, nameplates, effects and frames (never bundles), preferring ones already in stock. ?n= how many, ?basis= limits to a single Discord price tier, e.g. 4.99.
| Query | Type | Description |
|---|---|---|
| n | number | How many to return (default 1). |
| basis | number | Optional. Only items from this Discord price tier. |
Order random items in one call: POST /api/v1/order with { "random": 5 } (optionally "basis": 4.99) charges your balance and queues 5 random items.
delivered, partial and failed are terminal. Stop polling at any of them.
Errors return a non-2xx status and a JSON body with an err string.
| Status | err | Meaning |
|---|---|---|
| 400 | no valid items | Nothing priced. Check errors in the body. |
| 401 | invalid api key | Missing or wrong X-API-Key. |
| 403 | API access requires a plan | Key is valid but the plan is inactive or expired. |
| 402 | insufficient balance | Top up. The shortfall is in needed. |
| 404 | not found | Unknown order id, or not one of yours. |
| 429 | slow down | Rate limited. Back off and retry. |
| 503 | maintenance | Buying is paused. Retry shortly. |
A few requests per second is fine. On a 429, back off and retry. Orders fulfil one at a time, so polling faster than once a second per order does not speed anything up.
Building with an AI agent? The whole API in one plain-text file, written for LLMs: decos.gift/llms.txt. Need a higher limit, or stuck? Message us on Telegram @chamanog.