Query this REST API with any domain as the parameter and find out whether the domain belongs to a public free email service provider. The API currently recognizes over 6,000 domains that host free email services, and that number grows every day. Applications include checking to allow only corporate emails, or blocking registrations from free email providers.
The docs are very simple: the API accepts only 1 query parameter - domain - and returns JSON with a boolean, isProvider, denoting whether the domain queried belongs to a free email service provider or not. It also returns back the domain queried.
For example: https://www.sevenj.com/rosterapi/v1/emailprovider?domain=hotmail.com, will return the following:
{
"isProvider": 1,
"domain": "hotmail.com"
}
Test it yourself:
https://www.sevenj.com/rosterapi/v1/emailprovider?domain=protonmail.com
https://www.sevenj.com/rosterapi/v1/emailprovider?domain=cnn.com
Copyright © 2022 Balcells.com - All rights reserved