Skip to main content

Overview

Profound provides official SDKs for Python and JavaScript/TypeScript, making it easier to integrate our API into your applications. Key benefits:
  • Type-safe interfaces with full TypeScript support
  • Automatic authentication handling
  • Built-in retry logic and error handling
  • Comprehensive code examples for every endpoint
  • Async/await support for modern applications
All API endpoint documentation includes code samples in both Python and JavaScript. View the Endpoints section in the REST API tab to see examples for specific operations.

Installation

Quick Start

Python

JavaScript/TypeScript

Authentication

Both SDKs support multiple authentication methods:
  1. Environment variable (recommended): Set PROFOUND_API_KEY in your environment
  2. Constructor parameter: Pass api_key (Python) or apiKey (JavaScript) when initializing the client
For more details on obtaining an API key, see Authentication.

Error Handling

Python

JavaScript/TypeScript

Rate Limiting

The API has a default limit of 600 requests per hour per API key. When you exceed this limit, you’ll receive a 429 Too Many Requests error. Both SDKs will throw an error that you can catch and handle appropriately.

Async Support

Python

The Python SDK supports both synchronous and asynchronous usage:

JavaScript

The JavaScript SDK is fully async/await based:

Code Examples

Every endpoint in our API documentation includes working code samples for both SDKs. Browse the Endpoints section in the REST API tab to see specific examples for:
  • Organization management
  • Category discovery
  • Report generation
  • Raw data access
  • And more

Support & Resources

SDK interfaces may change as we improve the API. We recommend pinning to specific versions in production environments.