mrxsim
Official Python client for MRXSIM.COM — purchase virtual numbers and retrieve SMS OTPs for every catalog service (Telegram, WhatsApp, Google, Instagram, PayPal, Snapchat, Other (SMS), and more).
Brand: MRXSIM · Domain: https://mrxsim.com · Package:
mrxsim
Security first
- No hardcoded API keys in library source or examples.
- Prefer environment variable
MRXSIM_API_KEY. - Or load a local
config.jsonthat is gitignored. - Never commit live keys. Revoke immediately if exposed.
Install
pip install mrxsim
From this repository (editable):
pip install -e .
Quick start (environment variable)
export MRXSIM_API_KEY="mrxs_your_key_here" # Linux / macOS
# setx MRXSIM_API_KEY "mrxs_your_key_here" # Windows (new shell)
from mrxsim import Client
with Client(country="england", service="telegram") as client:
order = client.get_number()
print(order["phone_number"], order["id"])
sms = client.wait_for_sms(order["id"])
print(sms["sms_code"])
One-shot purchase + OTP:
from mrxsim import Client
with Client(country="egypt", service="whatsapp") as client:
result = client.buy_and_wait()
print(result["phone_number"], result["sms_code"])
Quick start (config file)
cp config.example.json config.json
# edit config.json → set api_key, country, service
from mrxsim import Client
client = Client.from_config("config.json")
order = client.get_number()
sms = client.wait_for_sms(order["id"])
client.close()
MRXSIM_API_KEY overrides api_key in the file when set.
Get your API key
- Open https://mrxsim.com and create an account.
- Top up with Crypto (USDT / supported networks).
- Profile → Get API KEY (shown once at create/regenerate).
- Export
MRXSIM_API_KEYor paste into gitignoredconfig.json.
API surface
| Method | Endpoint | Client method |
|---|---|---|
POST |
/api/v1/get_number |
Client.get_number() |
GET |
/api/v1/get_sms?order_id=… |
Client.get_sms() / wait_for_sms() |
Header on every call:
X-API-Key: YOUR_KEY
Public order fields (zero-knowledge)
Successful responses expose retail fields only — aligned with the MRXSIM
server OrderPublicOut contract:
| Field | Meaning |
|---|---|
id |
MRXSIM order UUID |
phone_number |
Assigned number |
service / country |
Catalog codes |
status |
Order status |
price |
Retail USDT price charged |
sms_code |
OTP when received |
Wholesale cost, upstream provider order IDs, markup multipliers, and internal flags are not part of the public API. The client also strips those keys client-side if they ever appear (defense in depth).
Docs: https://mrxsim.com/docs
Changelog
1.0.1
- Document and enforce zero-knowledge public order fields.
- Sanitize responses to strip wholesale / upstream keys (
cost_usdt,fivesim_order_id, markup fields, etc.). - User-Agent bumped to
mrxsim-python/1.0.1.
Examples
export MRXSIM_API_KEY="…"
python examples/buy_number_example.py
python examples/get_otp_example.py <order_id>
Development
python -m venv .venv
# Windows: .venv\Scripts\activate
source .venv/bin/activate
pip install -e ".[dev]"
pytest
python -m build
Support
- Site: https://mrxsim.com
- Docs: https://mrxsim.com/docs
- Issues: GitHub
© MRXSIM · Secure SMS Infrastructure
Metadata
Release files for mrxsim 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mrxsim-1.0.1.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mrxsim-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.8 kB
Release files / mrxsim-1.0.1.tar.gz
| Download URL | mrxsim-1.0.1.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c9ce85be8a144a0c5d872bf4a18e07765703c58df2372303453491807f9d1da
|
|
BLAKE2b-256 checksum How to use checksums |
e54c0a8ef5bf564fff45d2e90460a041d283cd262e438df8203b7b4c63205a03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / mrxsim-1.0.1-py3-none-any.whl
| Download URL | mrxsim-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6de4b63ac5f1f0ff8f4aa3b9cae77461d9fd7b412417da54ec91e6698ffdf83
|
|
BLAKE2b-256 checksum How to use checksums |
8cc200b12d0a5fcdaf707c9730ae9656213bb29bf3a2c44eaed21226a9d5426f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|