Skip to main content

apiverve_emaildisposablechecker 1.2.3 copy "apiverve_emaildisposablechecker: ^1.2.3" to clipboard
apiverve_emaildisposablechecker: ^1.2.3 copied to clipboard

Disposable Email Checker is a disposable email detection API that tests whether an email address belongs to a disposable or temp mail provider. Pass any email to get back the domain parsed from it and [...]

Disposable Email Checker API - Dart/Flutter Client #

Disposable Email Checker is a disposable email detection API that tests whether an email address belongs to a disposable or temp mail provider. Pass any email to get back the domain parsed from it and a true or false flag showing whether it is temporary. That also makes it a quick way to drop throwaway domains when you derive a company domain from a list of emails.

pub package License: MIT

This is the Dart/Flutter client for the Disposable Email Checker API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_emaildisposablechecker: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_emaildisposablechecker/apiverve_emaildisposablechecker.dart';

void main() async {
  final client = EmaildisposablecheckerClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'email': 'support@myspace.com',
      'domain': 'mailinator.com'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "isDisposable": false,
    "email": "support@myspace.com",
    "domain": "myspace.com",
    "isRelay": false,
    "relayService": null,
    "isDisposableMx": false
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
130
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Disposable Email Checker is a disposable email detection API that tests whether an email address belongs to a disposable or temp mail provider. Pass any email to get back the domain parsed from it and a true or false flag showing whether it is temporary. That also makes it a quick way to drop throwaway domains when you derive a company domain from a list of emails.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_emaildisposablechecker