1. Get your API key
Head to the API Keys page and create a new key. Copy it somewhere safe you won’t be able to see it again.2. Make your first lookup
curl -X POST https://encrata.com/api/agent/lookup \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "satya@microsoft.com"}'
import requests
resp = requests.post(
"https://encrata.com/api/agent/lookup",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"email": "satya@microsoft.com"},
)
print(resp.json())
const resp = await fetch("https://encrata.com/api/agent/lookup", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ email: "satya@microsoft.com" }),
});
const data = await resp.json();
console.log(data);
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
func main() {
body, _ := json.Marshal(map[string]string{"email": "satya@microsoft.com"})
req, _ := http.NewRequest("POST", "https://encrata.com/api/agent/lookup", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var result map[string]interface{}
json.NewDecoder(resp.Body).Decode(&result)
fmt.Println(result)
}
3. Parse the response
{
"name": "Satya Nadella",
"email": "satya@microsoft.com",
"company": "Microsoft",
"role": "CEO",
"industry": "Technology",
"location": "Redmond, US",
"socials": {
"linkedin": "https://linkedin.com/in/satyanadella"
},
"news": [
{
"title": "Microsoft CEO on the future of AI",
"url": "https://example.com/article",
"date": "Jan 15, 2026",
"source": "Bloomberg"
}
]
}
Each lookup costs 1 credit.