Skip to main content
Nia provides official SDKs for Python and TypeScript with a high-level client that wraps the REST API into an ergonomic interface with built-in retries, streaming, and type safety.

Installation

Or with uv:
Requires Python 3.10+.

Quick Start

Get your API key at app.trynia.ai under Settings → API Keys. Never commit API keys to version control.

Core Concepts

The SDK is organized into three clients accessible from the main NiaSDK instance:

Source Management

Oracle Research

Oracle is Nia’s autonomous research agent. It runs multi-step research jobs that can take minutes to complete.

Configuration

Both SDKs accept the same configuration options:

Next Steps

Authentication

API key setup, environment variables, and advanced client configuration

Examples

Complete code examples for all SDK operations

REST API Reference

Full REST API documentation with all endpoints

Get API Key

Create your free Nia account and generate an API key