Skip to main content

Installation

To install the Supadata Node SDK, you can use npm (or pnpm, yarn, bun, etc.):
Node

Usage

Get an API key from dash.supadata.ai, then use it with the SDK. Here’s an example of how to use the SDK with error handling:
Node

Transcripts

Get transcript from any supported platform (YouTube, TikTok, Instagram, X (Twitter)) or file
Node

YouTube

Get YouTube video, channel, playlist metadata.
Node

Web

Scrape and crawl web content.
Node

Error Handling

The SDK throws SupadataError for API-related errors. You can catch and handle these errors as follows:
Node