Official Tomba API client for Rust

Explore Tomba's powerful Rust SDK for Email and Author Finder, featuring an Email Verifier – the ultimate solution for seamless development.

Purpose?

Find and verify the email of an individual given a name and domain or a company.

Additional functions:

  • Check the account status.
  • Checking how many request left.
  • Checking domain information .
  • Email Verifier.
  • Email Finder.
  • Email Sources.
  • List all your leads.
  • Lead Attributes.
  • domain autocomplete.
  • Checking List all your keys.
  • Usage.
  • Account Logs.
  • Email Count.

This is the official Rust client library for the Tomba.io Email Finder API, allowing you to:

  • Domain Search (Search emails are based on the website You give one domain name and it returns all the email addresses found on the internet.)
  • Email Finder (This API endpoint generates or retrieves the most likely email address from a domain name, a first name and a last name..)
  • Email Verifier (checks the deliverability of a given email address, verifies if it has been found in our database, and returns their sources.)
  • Email Sources (Find email address source somewhere on the web .)
  • Company Domain autocomplete (Company Autocomplete is an API that lets you auto-complete company names and retrieve logo and domain information.)

Features

  • Collect publicly available emails online (Html, execute JavaScript,files,).
  • No duplicate email No duplicate domain .
  • No webmail like Gmail,Outlook and the others.
  • We detect 15 type of hashes and remove them.
  • No disposable and temporary email address.

Getting Started

You'll need an Tomba API access token, which you can get by signing up for a free account at https://app.tomba.io/auth/register

The free plan is limited to 50 search request and 50 verification a month, To enable all the data fields and additional request volumes see https://tomba.io/pricing.

Installation

Add this to your package's Cargo.toml file:

[dependencies]
tomba = "0.1"

Usage

Domain Search API

get email addresses found on the internet.

use tomba::{Tomba, TombaConfig};

let config = TombaConfig {
   key: "ta_xxxx".to_string(), 
   secret: "ts_xxxx".to_string(), 
};

let mut tomba = Tomba::init(config).expect("should construct");

let res = tomba.domain_search("tomba.io".to_string()).expect("should do domain_search ");

println!("website country {:?}", res.data.organization.location.country);

Email Finder API

Generates or retrieves the most likely email address from a domain name, a first name and a last name.

use tomba::{Tomba, TombaConfig};

let config = TombaConfig {
   key: "ta_xxxx".to_string(), 
   secret: "ts_xxxx".to_string(), // highlight-line.set_secret('ts_xxxx')
};

let mut tomba = Tomba::init(config).expect("should construct");

let res = tomba.email_finder("zapier.com".to_string(), "F_NAME".to_string(), "L_NAME".to_string()).expect("should do email finder");

println!("Email Finder email {}", res.data.email)

Email Verifier API

Verify the validity of any professional email address with the most complete email checker.

use tomba::{Tomba, TombaConfig};

let config = TombaConfig {
   key: "ta_xxxx".to_string(), 
   secret: "ts_xxxx".to_string(), 
};

let mut tomba = Tomba::init(config).expect("should construct");

let res = tomba.email_verifier("b.mohamed@tomba.io".to_string()).expect("should do verify");

println!("Email status {}", res.data.email.status)

Documentation

See the official documentation.

Other Libraries

There are official Tomba Email Finder client libraries available for many languages including PHP, Python, Go, Java, Ruby, and many popular frameworks such as Django, Rails and Laravel. There are also many third party libraries and integrations available for our API.

https://developer.tomba.io/#introduction-libraries

Get started here: Official Tomba API client for Rust

Still have questions?

If you have any issues or questions about Tomba, feel free to contact us, we will be happy to help you!