Official SDKs

The fastest way to integrate VeriRoute Intel into your application.

Python SDK

PyPI
pip install verirouteintel
from verirouteintel import VRI

# Initialize with your API key
vri = VRI("your_api_key")

# CNAM lookup
result = vri.cnam("+15551234567")
print(f"Caller: {result.cnam}")

# LRN lookup with enhanced data
lrn = vri.lrn("+15551234567", include_enhanced=True)
print(f"Carrier: {lrn.carrier}")
print(f"Line Type: {lrn.line_type}")

# Trust/spam check
trust = vri.trust("+15551234567")
print(f"Is Spam: {trust.is_spam}")

# Messaging provider
msg = vri.messaging("+15551234567")
print(f"Provider: {msg.messaging_provider}")

TypeScript / JavaScript SDK

npm
npm install verirouteintel
import { VRI } from 'verirouteintel';

// Initialize with your API key
const vri = new VRI('your_api_key');

// CNAM lookup
const cnam = await vri.cnam('+15551234567');
console.log('Caller:', cnam.cnam);

// LRN lookup with enhanced data
const lrn = await vri.lrn('+15551234567', { includeEnhanced: true });
console.log('Carrier:', lrn.carrier);
console.log('Line Type:', lrn.lineType);

// Trust/spam check
const trust = await vri.trust('+15551234567');
console.log('Is Spam:', trust.isSpam);

// Messaging provider
const msg = await vri.messaging('+15551234567');
console.log('Provider:', msg.messagingProvider);

Why Use Our SDKs?

Type Safety

Full TypeScript definitions and Python type hints. Catch errors at compile time.

Error Handling

Automatic error parsing with specific exception types. No more parsing JSON errors.

Automatic Retries

Built-in retry logic with exponential backoff for transient failures.

All Endpoints

CNAM, LRN, Trust, Spam, Messaging - every API endpoint included.

Direct API Access

Need to use the REST or GraphQL APIs directly? Check out our endpoint documentation: