Quick Start
Initialize the SDK and fetch your first contacts in seconds.
Step 1: Install the package
See the Installation guide.
Step 2: Get an API key
Sign in to lystica.cloud, go to Dashboard → API Keys, and create a key. See API Keys for details.
Get API KeyStep 3: Initialize and fetch
import { LysticaCloud } from "lystica-cloud";
const lystica = new LysticaCloud({
apiKey: process.env.LYSTICA_API_KEY!,
});
// Fetch contacts
const { data, meta } = await lystica.contacts.list({
limit: 50,
industry: "Technology",
});
console.log(`Found ${meta.total} contacts`);
data.forEach((contact) => {
console.log(`${contact.fullName} — ${contact.email}`);
});Supported runtimes
The SDK works in Node.js 18+, Next.js (server components, API routes), Deno, and Bun. Never expose your API key in client-side code — always call from a server or serverless function.