Enter your key(s) below to check balance or purchase emails. You can enter multiple keys, one per line.
Retrieve the balance associated with a user's key.
GET http://91.214.78.42:8000/balance?apikey=USER_KEY
apikey
: User's key for authentication. The key you received after purchase.http://91.214.78.42:8000/balance?apikey=HLKfsnGmPoXJPecYtNXu8DAehGDzkiGoxJc7rw6Z
{ "apikey": "USER_KEY", "balance": 50 }
Retrieve the number of available emails for purchase.
GET http://91.214.78.42:8000/instock
{ "hotmail.com": 120, "outlook.com": 300 }
Buy email accounts using a user's key.
GET http://91.214.78.42:8000/buy?mail_domain=DOMAIN&quantity=NUMBER&apikey=USER_KEY&format=FORMAT
mail_domain
: Specify the domain (hotmail
or outlook
).quantity
: Number of accounts to purchase.apikey
: User's key for authentication. The key you received after purchase.format
: Format of the response (1
, 2
, or 3
).http://91.214.78.42:8000/buy?mail_domain=hotmail&quantity=1&apikey=HLKfsnGmPoXJPecYtNXu8DAehGDzkiGoxJc7rw6Z&format=1
1
: JSON format (default).2
: email:password:refresh_token:client_id.3
: email:password.[ { "email": "example@hotmail.com", "password": "password", "refresh_token": "refreshtoken", "access_token": "accesstoken", "r_expire": "date", "client_id": "clientid" } ]
example@hotmail.com:password:refreshtoken:accesstoken:clientid
example@hotmail.com:password
Follow these simple steps to purchase an email account:
USER_KEY
with your actual API key.Watch the video below for a detailed guide on how to purchase an email:
We register and add emails around the clock. If the required accounts are not currently available, it may be due to temporary software issues. Our team actively monitors the process and does everything possible to resolve issues as quickly as possible.
Please note that accounts are active for 1 to 6 hours. After this time, a phone number verification request may appear. We recommend using the accounts immediately after purchase.
If an account turns out to be non-functional, we provide a guarantee for its replacement within 30 minutes of purchase.
OAuth2 is a new way to connect to Microsoft email. To understand how these tokens work together and how to connect to email via IMAP using OAuth2, we have prepared a detailed article for you. In it, you will find simple explanations and practical examples in Python and JavaScript.
Recently, Microsoft made OAuth2 authorization mandatory for working with email accounts via the IMAP protocol. This means you now need to use tokens and specific credentials instead of a simple username and password. Let's break it down to make it easy to understand how it works.
OAuth2 is a modern and secure way to authorize access to your data without sharing your login credentials directly. Instead, you use temporary tokens that allow apps to interact with your email safely.
To connect to your email using IMAP, you'll need:
import imaplib # Connection details email = "your_email@example.com" access_token = "your_access_token" imap_host = "outlook.office365.com" # Establish connection mail = imaplib.IMAP4_SSL(imap_host) auth_string = f"user={email} \x01auth=Bearer {access_token}\x01\x01" mail.authenticate("XOAUTH2", lambda x: auth_string) # Access the inbox mail.select("inbox") status, messages = mail.search(None, "ALL") print("Messages:", messages)
const { ImapFlow } = require('imapflow'); async function connectToMailbox() { const client = new ImapFlow({ host: 'outlook.office365.com', port: 993, secure: true, auth: { user: 'your_email@example.com', accessToken: 'your_access_token' } }); try { await client.connect(); console.log('Connected to the mailbox!'); } catch (error) { console.error('Error:', error); } }
To refresh your Access Token, you'll need:
import requests url = "https://login.live.com/oauth20_token.srf" payload = { "client_id": "<your_client_id>", "grant_type": "refresh_token", "refresh_token": "<your_refresh_token>" } headers = { "Content-Type": "application/x-www-form-urlencoded" } response = requests.post(url, data=payload, headers=headers) if response.status_code == 200: print("Access Token:", response.json()["access_token"]) else: print("Error:", response.json())
const fetch = require('node-fetch'); const url = "https://login.live.com/oauth20_token.srf"; const payload = new URLSearchParams({ client_id: "<your_client_id>", grant_type: "refresh_token", refresh_token: "<your_refresh_token>" }); fetch(url, { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded" }, body: payload }) .then(response => { if (!response.ok) { throw new Error(`Error: ${response.status}`); } return response.json(); }) .then(data => { console.log("Access Token:", data.access_token); }) .catch(error => { console.error("Error:", error); });
OAuth2 ensures your login credentials are never shared directly, making your email access more secure. By using tokens, you can automate access and refresh authentication seamlessly.