Skip to main content

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.json that 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

  1. Open https://mrxsim.com and create an account.
  2. Top up with Crypto (USDT / supported networks).
  3. Profile → Get API KEY (shown once at create/regenerate).
  4. Export MRXSIM_API_KEY or paste into gitignored config.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

Docs: https://mrxsim.com/docs


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

© MRXSIM · Secure SMS Infrastructure

Metadata

Release files for mrxsim 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mrxsim 1.0.0
File Size Uploaded
mrxsim-1.0.0.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mrxsim 1.0.0
File Interpreter ABI Platform
mrxsim-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / mrxsim-1.0.0.tar.gz

Download URL mrxsim-1.0.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb9394dc8ab393e4611ef0a1885a7368431e8651fbe70696a74e31a08a928e16
BLAKE2b-256 checksum
How to use checksums
e713c0e2ee508a79f398c8d169c4be47167fce51b2f53f0ebcf5c3de05705c6b
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.0-py3-none-any.whl

Download URL mrxsim-1.0.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a86888030e8d4f2114d32b199897394e4efc6e4d7266d1cc81a7fee67de41e10
BLAKE2b-256 checksum
How to use checksums
ca438051e730dab8b6b27158c1d6eaf1364516a366b64239947996dde4bf2529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release history Release notifications | RSS feed

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page