Soenneker.Ipqs.Phone 11.0.3060

Prefix Reserved
dotnet add package Soenneker.Ipqs.Phone --version 11.0.3060
                    
NuGet\Install-Package Soenneker.Ipqs.Phone -Version 11.0.3060
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Ipqs.Phone" Version="11.0.3060" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Ipqs.Phone" Version="11.0.3060" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Ipqs.Phone" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Ipqs.Phone --version 11.0.3060
                    
#r "nuget: Soenneker.Ipqs.Phone, 11.0.3060"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Ipqs.Phone@11.0.3060
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Ipqs.Phone&version=11.0.3060
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Ipqs.Phone&version=11.0.3060
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Ipqs.Phone

Retrieve IPQualityScore validity, fraud, carrier, line-type, location, and risk details for US phone numbers.

Install

dotnet add package Soenneker.Ipqs.Phone

Configure and register

{
  "Ipqs": {
    "ApiKey": "<API key>"
  }
}
using Soenneker.Ipqs.Phone.Registrars;

services.AddIpqsPhoneUtilAsScoped();

The scoped phone service deliberately uses the singleton IPQS transport provider. Use AddIpqsPhoneUtilAsSingleton() when the operation layer should also live for the application lifetime.

Usage

using Soenneker.Ipqs.Phone.Abstract;
using Soenneker.Ipqs.Phone.Dtos;

PhoneDetailsDto? details = await phoneUtil.GetPhoneDetails(
    "+1 312 555 0123",
    cancellationToken);

if (details is { Success: true })
{
    bool acceptable = details.Valid && !details.Risky && !details.DoNotCall;
}

The request always sends country[]=US. The phone number and API key are escaped as URL path segments before the request is sent.

The response includes validity, activity, fraud score, recent abuse, VOIP/prepaid status, carrier, line type, location, do-not-call status, and potentially associated email addresses. Treat the result as sensitive personal data and avoid logging or retaining fields that are not needed.

HTTP, API, and deserialization failures are surfaced by the underlying request helper. A nullable result means no response body could be deserialized.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.3060 0 11/15/2026
11.0.3059 0 11/15/2026
11.0.3058 45 11/11/2026
11.0.3057 50 11/11/2026
11.0.3055 51 11/11/2026
11.0.3053 48 11/11/2026
11.0.3052 53 11/11/2026
11.0.3051 47 11/11/2026
11.0.3050 50 11/11/2026
11.0.3048 70 11/11/2026
11.0.3047 72 11/11/2026
11.0.3046 96 11/4/2026
11.0.3045 92 11/3/2026
11.0.3044 95 11/3/2026
11.0.3043 93 11/3/2026
11.0.3042 87 11/3/2026
11.0.3041 89 11/3/2026
11.0.3040 86 11/3/2026
11.0.3037 88 11/3/2026
11.0.3036 85 11/3/2026
Loading failed

Update dependency Soenneker.Extensions.HttpClient to 11.0.4199 (#3587)