Skip to main content
The Public API is HTTP-first — every endpoint works with curl, Python, or your own client. The official TypeScript SDK wraps the same routes with types, auth, pagination helpers, and JSONL streaming for Node.js and Edge runtimes. New here? Start with Quickstart (REST) or jump to Access the API with TypeScript.

REST API vs SDK

REST APITypeScript SDK
Best forAny language, data pipelines, one-off scriptsNode.js, TypeScript, Edge runtimes
AuthSet x-api-key on every requestSet once on the client constructor
TypesAPI Reference schemasBuilt-in TypeScript types
ErrorsParse the JSON envelope yourself{ data, error, meta? } on every method
PaginationFollow pagination cursors manuallylistAll() async iterators
JSONL exportsStream application/x-ndjson yourselffor await + .collect()
RetriesImplement backoff on 429 / 5xxBuilt-in (configurable)
Both hit the same base URL and return the same JSON envelope. The SDK does not add capabilities beyond what the API exposes.

TypeScript SDK

Install from npm: soundlink · Source: github.com/Fan-ID/lib Requires Node.js 18+ (native fetch). See the TypeScript guide for install, examples, and configuration.
Server-side only. Never expose your sk_* API key in a browser or mobile app — call Soundlink from your backend and keep the key in environment variables.