Authentication
Pass your API key as the query parameter clientKey. Create keys in AccountCopy productId from any product card (short number like 3) when calling buy or filtering stock.
Every successful response uses this envelope:
{
"code": 0,
"success": true,
"message": "success",
"data": "…",
"requestId": "a1b2c3d4"
}Error codes
- 401 — Invalid or missing clientKey
- 402 — Insufficient wallet balance, or renew to send / renew to refresh the token
- 404 — Product, order, or inbox not found
- 409 — None of the requested accounts were ready. Nothing is charged.
- 502 — Microsoft could not read or send for that inbox
Paste clientKey in each Test Interface below. Base URL for external clients: http://144.91.71.53:8000. OpenAPI schema: http://144.91.71.53:8000/docs.
Buy Hotmail or Outlook accounts from wallet balance while you are subscribed. Sells however many are ready, up to quantity, and leaves the unpaid difference on the wallet. 0 ready returns 409 and charges nothing.
Request URL
http://144.91.71.53:8000/open/buy?clientKey=%7BclientKey%7D&productId=%7BproductId%7D&quantity=1Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| clientKey | string | Yes | Your API key. |
| productId | string | Yes | Product id or slug: hotmail or outlook. |
| quantity | integer | Yes | How many to buy (≥ 1). You are charged only for the accounts that were ready. |
Sample response
{
"code": 0,
"success": true,
"message": "success",
"data": {
"accounts": [
"[email protected]:password:recovery:token…"
],
"quantity": 2,
"requestedQuantity": 5,
"unspent": 0.06,
"totalAmount": 0.04,
"balance": 13.95
},
"requestId": "a1b2c3d4"
}Common failures: 401 (Invalid or missing clientKey) · 402 (Insufficient wallet balance, or renew to send / renew to refresh the token) · 404 (Product, order, or inbox not found) · 409 (None of the requested accounts were ready. Nothing is charged.)
Test interface
Need a walkthrough? See Using the Open API on Instabox.