Find your answer in our knowledge base

Official Tomba API client for node

Tomba Email Finder developer SDK for node

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.

Installation

To install via NPM:

npm install tomba --save

To install via YARN:

yarn add tomba

Usage

Domain Search

get email addresses found on the internet.

const tomba = require("tomba")

// Init Tomba
let client = new tomba.Client()

let domain = new tomba.Domain(client)

client
  .setKey("ta_xxxx") 
  .setSecret("ts_xxxx") 
let result = domain.domainSearch("stripe.com")

result
  .then(response => {
    console.log(response)
  })
  .catch(err => {
    console.log(err)
  })

Email Finder

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

const tomba = require("tomba")

// Init Tomba
let client = new tomba.Client()

let finder = new tomba.Finder(client)

client
  .setKey("ta_xxxx") 
  .setSecret("ts_xxxx") 
let result = finder.emailFinder("stripe.com", "fname", "lname")

result
  .then(response => {
    console.log(response)
  })
  .catch(err => {
    console.log(err)
  })

Email Verifier

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

const tomba = require("tomba")

// Init Tomba
let client = new tomba.Client()

let verifier = new tomba.Verifier(client)

client
  .setKey("ta_xxxx") 
  .setSecret("ts_xxxx") 
let result = verifier.emailVerifier("b.mohamed@tomba.io")

result
  .then(response => {
    console.log(response)
  })
  .catch(err => {
    console.log(err)
  })

Examples

Sample codes under examples/ folder.

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 javascript

Still have questions?

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