Hotmail143 Hotm
Developer API Reference

REST API Documentation

Integrate automated mail account purchasing and OTP retrieval into your applications

API Base URL
https://hotmail143.com/api/v1
Your Secret API Key
YOUR_API_KEY
GET /balance

Retrieve current wallet balance and account currency.

curl -X GET "https://hotmail143.com/api/v1/balance?api_key=YOUR_API_KEY"
{
  "status": "success",
  "code": 200,
  "data": {
    "user_id": 2,
    "username": "developer",
    "balance": 50.00,
    "currency": "BDT",
    "currency_symbol": "৳"
  }
}
GET /stock

Get the live stock count and pricing of all available email account products.

curl -X GET "https://hotmail143.com/api/v1/stock?api_key=YOUR_API_KEY"
{
  "status": "success",
  "code": 200,
  "count": 5,
  "data": [
    {
      "id": 1,
      "name": "Hotmail OAuth (Client ID + Refresh Token)",
      "price": 3.50,
      "unit": "pcs",
      "stock": 15,
      "category": "Hotmail & Outlook OAuth"
    }
  ]
}
POST /purchase

Instantly purchase mail accounts. Balance will be deducted and accounts returned immediately in the response.

curl -X POST "https://hotmail143.com/api/v1/purchase" \ -H "X-API-Key: YOUR_API_KEY" \ -d "product_id=1" \ -d "quantity=1"
{
  "status": "success",
  "code": 200,
  "message": "Order created successfully",
  "order": {
    "order_code": "ORD-A87B2C",
    "product_name": "Hotmail OAuth",
    "quantity": 1,
    "total_amount": 3.50,
    "accounts": [
      {
        "email": "user@hotmail.com",
        "password": "Password123!",
        "refresh_token": "M.R3_BAY.0.AAAAAA...",
        "client_id": "e234857b-7b24-4f51-b0e2...",
        "raw_data": "user@hotmail.com|Password123!|M.R3_BAY.0.AAAAAA...|e234857b-7b24-4f51-b0e2..."
      }
    ]
  }
}
POST /hotmail-code

Read Microsoft Graph API inbox and extract verification code using OAuth refresh token.

curl -X POST "https://hotmail143.com/api/v1/hotmail-code" \ -H "X-API-Key: YOUR_API_KEY" \ -d "data=user@hotmail.com|pass|refresh_token|client_id"
{
  "successful": true,
  "data": {
    "code": "849201",
    "address": "user@hotmail.com"
  }
}