Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install and use the official Linkryse Node.js SDK.
npm install @linkryse/sdk # or yarn add @linkryse/sdk
import { Linkryse } from '@linkryse/sdk'; const linkryse = new Linkryse({ apiKey: 'sk_live_...' });
const link = await linkryse.links.create({ url: 'https://google.com', domain: 'dub.sh', key: 'my-link' }); console.log(link.shortLink); // https://dub.sh/my-link
const stats = await linkryse.analytics.clicks({ linkId: link.id, interval: '7d' }); console.log(stats);