All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.9.0 - 2025-07-07
First public release of the unofficial ProxyCheck.io TypeScript SDK. This SDK provides a modern, type-safe interface for the ProxyCheck.io API with comprehensive error handling, automatic retries, and full TypeScript support.
- Full API Coverage: Complete implementation of all ProxyCheck.io API endpoints
- Check Service: IP address and email validation
- Listing Service: Whitelist and blacklist management
- Rules Service: Custom detection rules
- Stats Service: Usage statistics and data export
- Full TypeScript support with comprehensive type definitions
- Dual module support (CommonJS and ESM)
- Strict type safety with intelligent IntelliSense
- Zod schema validation for all inputs
- Comprehensive error hierarchy with specific error types:
ProxyCheckError: Base error classProxyCheckAPIError: API-specific errorsProxyCheckValidationError: Input validation errorsProxyCheckRateLimitError: Rate limiting errorsProxyCheckNetworkError: Network errorsProxyCheckAuthenticationError: Authentication errorsProxyCheckTimeoutError: Timeout errors
- Automatic retry logic with exponential backoff
- Built-in rate limit detection and handling
- Environment variable support for configuration
- Comprehensive logging system with customizable output
- Batch operations for efficient multiple IP/email checks
- Convenient helper methods for common operations
- Well-documented API with JSDoc comments
- Extensive examples for all major use cases
- Comprehensive test suite with >90% code coverage
- Unit tests for all services and utilities
- Integration test examples
- Compatibility tests for different environments
apiKey: ProxyCheck.io API key (required)baseUrl: API base URL (default: 'proxycheck.io')timeout: Request timeout in milliseconds (default: 30000)retries: Number of retry attempts (default: 3)retryDelay: Initial retry delay in milliseconds (default: 1000)tlsSecurity: Use HTTPS connections (default: true)userAgent: Custom user agent stringlogging: Comprehensive logging configuration
PROXYCHECK_API_KEYPROXYCHECK_BASE_URLPROXYCHECK_TIMEOUTPROXYCHECK_RETRIESPROXYCHECK_RETRY_DELAYPROXYCHECK_TLS_SECURITY
checkAddress(address, options?): Check single IP/emailcheckAddresses(addresses, options?): Check multiple addressesgetDetailedInfo(address, options?): Get comprehensive informationisProxy(address, options?): Quick proxy checkisVPN(address, options?): Quick VPN checkisDisposableEmail(email, options?): Check disposable emailgetRiskScore(address, options?): Get risk assessment
addToWhitelist(entries): Add to whitelistremoveFromWhitelist(entries): Remove from whitelistgetWhitelist(): Get whitelist entriessetWhitelist(entries): Replace whitelistclearWhitelist(): Clear all whitelist entriesaddToBlacklist(entries): Add to blacklistremoveFromBlacklist(entries): Remove from blacklistgetBlacklist(): Get blacklist entriessetBlacklist(entries): Replace blacklistclearBlacklist(): Clear all blacklist entries
createRule(name, conditions): Create custom ruletestRule(name): Test a rulelistRules(): List all rulesupdateRule(name, conditions): Update existing ruledeleteRule(name): Delete a rule
getDetections(limit?, offset?): Get detection statisticsgetQueries(limit?, offset?): Get query logsgetQueriesPaginated(page, pageSize): Get paginated queriesgetUsage(): Get usage statisticsexportDetections(options): Export detection dataexportQueries(options): Export query dataexportUsage(): Export usage datagetAllStats(): Get all statistics at once
proxycheck-sdk/
├── src/ # Source code
├── tests/ # Test files
├── examples/ # Usage examples
├── dist/ # Build output
└── docs/ # Documentation
axios: HTTP client for API requestszod: Runtime type validation
- TypeScript 5.8+
- Jest for testing
- Biome for linting and formatting
- Rollup for building
- TypeDoc for API documentation
MIT License - See LICENSE file for details
- This is an unofficial third-party SDK not affiliated with ProxyCheck.io
- Minimum Node.js version: 14.0.0
- Full API documentation available in the README
- Contributions welcome - see CONTRIBUTING.md