<script src="//api.rocketreach.co/v1/api.min.js"></script>
    var API_KEY = "3E7k0123456789abcdef0123456789abcdef";

    //RocketReach has initialized
    var doLookup = function (account) {
        //Lookup Profile
            name: "Travis Kalanick",
            current_employer: "Uber"
        }).then(function (profiles) {
            //Print Result
            document.getElementById("output").innerHTML += JSON.stringify(profiles[0],null,4);

    //Generic function to handle failure.
    var handleFailure = function () {
        console.error("Error:", arguments);

        "error": handleFailure
<h1>Call RocketReachAPI.lookupProfile()</h1>  
<pre id="output"></pre>  
#RocketReach API: Simple Example
1. In this example, you will see how to do a simple initialization. 
1. Then the API will be used to lookup full profile information
2. This includes email, phone numbers, social links.

## Methods used
- init()
- lookupProfile()