Skip to main content

Requirements

  • Node.js 18+ (uses the native fetch API — no polyfill needed)
  • npm, yarn, or pnpm
The SDK uses the global fetch available in Node 18 and all modern browsers. No additional HTTP dependencies are required.

Install


First Call


Constructor Options

Never hardcode your API key in source code or commit it to version control. Always use environment variables.
Retries use exponential backoff. Timeouts are enforced via AbortController and work in both Node.js and browsers.