apiverve_disposablephone 1.2.3
apiverve_disposablephone: ^1.2.3 copied to clipboard
Disposable Phone Number Checker is a phone fraud API that flags temporary, burner and virtual phone numbers published on SMS-receiving sites. Pass a number in E.164 format to check whether it is dispo [...]
Disposable Phone Number Checker API - Dart/Flutter Client #
Disposable Phone Number Checker is a phone fraud API that flags temporary, burner and virtual phone numbers published on SMS-receiving sites. Pass a number in E.164 format to check whether it is disposable and see the date it was first seen on those lists.
This is the Dart/Flutter client for the Disposable Phone Number Checker API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_disposablephone: ^1.2.3
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_disposablephone/apiverve_disposablephone.dart';
void main() async {
final client = DisposablephoneClient('YOUR_API_KEY');
try {
final response = await client.execute({
'phone': '+12085813945'
});
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"phone": "+12085813945",
"isDisposable": true,
"firstSeen": "2024-01-30"
}
}
API Reference #
- API Home: Disposable Phone Number Checker API
- Documentation: docs.apiverve.com/ref/disposablephone
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve