Quickstart
Get up and running with Quar.tz in under 5 minutes.
1. Install the SDK
2. Initialize the client
import { Quartz } from '@quartz/sdk';
const qz = new Quartz({
apiKey: process.env.QUARTZ_API_KEY
});
3. Make your first request
const response = await qz.ping();
console.log(response.latency); // ~8ms
Installation
Quar.tz SDKs are available for all major languages and platforms.
Go
go get github.com/quartz/sdk-go
Authentication
All API requests require authentication via API keys.
API Keys
Generate API keys from your dashboard. Keys are scoped to specific environments (development, staging, production).
// Include your API key in the Authorization header
Authorization: Bearer qz_live_xxxxxxxxxxxx
Security Note: Never expose API keys in client-side code. Use environment variables and server-side requests.