vonage-network-sim-swap
Package for working with the Vonage Sim Swap Network API.
What it is and what it does
This package provides a Python client for the Vonage Sim Swap Network API, allowing you to query whether a SIM card associated with a phone number has been swapped and to retrieve the date of the last swap. It wraps HTTP calls to Vonage's network infrastructure via vonage-http-client and vonage-network-auth, with data validation through pydantic.
The package is designed primarily as a component of the larger vonage SDK but can be used independently. It requires prior registration and approval with Vonage's Network Registry for the specific networks and regions you intend to query. Once set up, you instantiate a client and call methods like check() to detect swaps or get_last_swap_date to retrieve timing information.
Use it for:
- Detect SIM swaps as part of account takeover prevention in authentication flows
- Verify phone number ownership by checking recent SIM swap history during account recovery
- Monitor for fraudulent SIM swaps on high-value accounts in financial or identity services
- Investigate suspicious account access by correlating login events with SIM swap dates
- Build compliance checks for telecom or payment platforms requiring SIM swap verification
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Vonage Network Sim Swap API client that checks whether a SIM card has been swapped and retrieves the last swap date for a phone number.
Yes, if you are building fraud detection or account security features and have completed Vonage Network Registry registration. The package is actively maintained, has no known vulnerabilities, and integrates cleanly into the Vonage SDK ecosystem. Install only if you have a specific need for SIM swap detection and the required Vonage business relationship in place.
Install
vonage-network-sim-swap on PyPI
pip
pip install vonage-network-sim-swapuv
uv add vonage-network-sim-swappoetry
poetry add vonage-network-sim-swapInstalling vonage-network-sim-swap
Before you install
Low install friction with a pure Python wheel. Active maintenance with recent commits and no known vulnerabilities. Designed as part of the Vonage SDK ecosystem but usable independently.
License in practice
Licensed under Apache Software License (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install vonage-network-sim-swap
from vonage_network_sim_swap import SwapStatus
swap_status: SwapStatus = vonage_client.sim_swap.check(phone_number='MY_NUMBER')
print(swap_status.swapped)
Requires prior registration with Vonage Network Registry and approval for your target networks and regions; vonage_client instance must be pre-configured with valid credentials.
Verify before relying
- Whether this package can be used standalone or requires the broader vonage SDK for authentication setup
- What credentials or API keys are needed beyond Vonage Network Registry registration
- Rate limits or usage quotas imposed by the Vonage API backend
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — vonage-http-client, vonage-network-auth, vonage-utils, pydantic |
| Maintenance | actively maintained — 623 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 335,210/month — #7,480 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: vonage_network_sim_swap-1.1.2-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
vonage-network-authGenerates authenticated JWTs for Vonage Network…
permissive · top 15,000 on PyPI
vonage-network-number-verificationVerifies a mobile device's phone number by…
permissive · top 15,000 on PyPI
vonage-identity-insightsProvides Python access to the Vonage Identity…
permissive · top 15,000 on PyPI
vonage-number-insightVonage Number Insight package provides methods…
permissive · top 15,000 on PyPI
vonageVonage provides a unified Python interface to…
permissive · top 15,000 on PyPI
vonage-smsSends SMS messages via Vonage's API and handles…
permissive · top 15,000 on PyPI
vonage-numbersProvides Python bindings to Vonage's Numbers…
permissive · top 15,000 on PyPI
vonage-verifyVonage Verify package provides Python…
permissive · top 15,000 on PyPI
vonage-voiceProvides Python bindings to Vonage's Voice API…
permissive · top 15,000 on PyPI
vonage-subaccountsProvides Python bindings to Vonage's Subaccount…
permissive · top 15,000 on PyPI