skillfed

vonage-network-sim-swap

Package for working with the Vonage Sim Swap Network API.

vonage-network-sim-swap v1.1.2 335.2K downloads/30d#7,480 on PyPI213
Permissive license Active released

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-swap

uv

uv add vonage-network-sim-swap

poetry

poetry add vonage-network-sim-swap

Installing 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

License :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

SIM swap detectionSIM card swap checkphone number SIM swap APIVonage network API clientmobile SIM swap verificationlast SIM swap dateSIM swap status check
fraud-detectiontelecom-apisecurity

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

vonage-network-auth

Generates authenticated JWTs for Vonage Network…

permissive · top 15,000 on PyPI

vonage-network-number-verification

Verifies a mobile device's phone number by…

permissive · top 15,000 on PyPI

vonage-identity-insights

Provides Python access to the Vonage Identity…

permissive · top 15,000 on PyPI

vonage-number-insight

Vonage Number Insight package provides methods…

permissive · top 15,000 on PyPI

vonage

Vonage provides a unified Python interface to…

permissive · top 15,000 on PyPI

vonage-sms

Sends SMS messages via Vonage's API and handles…

permissive · top 15,000 on PyPI

vonage-numbers

Provides Python bindings to Vonage's Numbers…

permissive · top 15,000 on PyPI

vonage-verify

Vonage Verify package provides Python…

permissive · top 15,000 on PyPI

vonage-voice

Provides Python bindings to Vonage's Voice API…

permissive · top 15,000 on PyPI

vonage-subaccounts

Provides Python bindings to Vonage's Subaccount…

permissive · top 15,000 on PyPI