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 |
Internal operational metrics and upstream routing identifiers are not part of the public API. The client also sanitizes responses client-side if any such fields ever appear (defense in depth).
Docs: https://mrxsim.com/docs
Changelog
1.0.2
- Sanitize client responses to strip internal operational metrics and upstream routing identifiers.
- Harden public documentation for white-label / zero-knowledge API alignment.
- User-Agent bumped to
mrxsim-python/1.0.2.
1.0.1
- Document and enforce zero-knowledge public order fields.
- 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.2
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.2.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mrxsim-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.6 kB
Release files / mrxsim-1.0.2.tar.gz
| Download URL | mrxsim-1.0.2.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b028925109938f7d6c34220f38027d48c67b2088a4db515fdbb5441c08e6aca4
|
|
BLAKE2b-256 checksum How to use checksums |
7121e2a09f78361ff03a10a2b567dc21f5be1d46569d15e1691ea304e9e4ed19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Release files / mrxsim-1.0.2-py3-none-any.whl
| Download URL | mrxsim-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2633827831b78a497a94ee804cf85100b4c80f21209b718440ea4effbb8ea15e
|
|
BLAKE2b-256 checksum How to use checksums |
4f809e164d348ffff4c29fd9df6c5f2fba27baafe25e45dfacd7d5367a111c8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|