Market
Your Algrow Market orders — YouTube accounts and phone numbers — and the verification codes their numbers receive. Read-only: nothing here buys, renews or spends. The one write is your own note on an order. Every call is scoped to the orders of the account the API key belongs to.
5 endpoints on this page
| GET /api/market/orders | The authenticated user's Algrow Market orders |
| GET /api/market/orders/:id | One order with its delivery |
| GET /api/market/orders/:id/code | The latest SMS verification code on one of the order's numbers |
| PATCH /api/market/orders/:id | Set or clear your own note on an order |
| GET /api/market/stock | Every product on the Algrow Market with the units you can buy right now |
GET/api/market/orders
The authenticated user's Algrow Market orders (YouTube accounts and phone numbers), newest first, with the phone numbers each one delivered. Login details are not on the list — fetch one order for those. Read-only: nothing on this API buys or renews.
No daily limit.
GET/api/market/orders/:id
One order with its delivery: the login lines exactly as the order page shows them (email, password, recovery, 2FA link), two_factor (each account's current 2FA code, seconds left and 2FA key), the numbers on it, and your note. delivery is empty and numbers_only is true for a phone-number-only order. Verification codes are not in the delivery — use the code endpoint.
No daily limit.
404 Not on this account
GET/api/market/orders/:id/code
The latest SMS verification code on one of the order's numbers, read live from the provider. status is waiting until a text arrives, received once code is set, expired when the number no longer takes texts. Texts from before the order was delivered are never returned. Poll every few seconds while verifying, not in a loop.
No daily limit.
Query Parameters
| indexinteger · optional · default 0 | Which number on the order, 0-based, from the order's numbers list. Most orders have one. |
| 404 | Not on this account |
| 429 | More than 40 reads a minute on one number |
PATCH/api/market/orders/:id
Set or clear your own note on an order — which channel it's used for. Shown on your order list and order page; only you see it. Content-Type application/json. Returns the updated order.
No daily limit.
Body
| notestring | null · required | Up to 120 characters. null or an empty string clears the note. |
| 400 | Missing or non-string note |
| 404 | Not on this account |
GET/api/market/stock
Every product on the Algrow Market with the units you can buy right now. stock is the exact count; band is ok, low (3 or fewer left) or out. To watch for a restock, read this about once a minute and compare with your last reading: a product is restocked when its stock goes from 0 to above 0. On a 503 keep your last reading. It means the count could not be read, not that the shelf is empty. Read-only: nothing here buys or reserves.
No daily limit.
503 Stock could not be read
