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:- Environment variable (recommended): Set
PROFOUND_API_KEYin your environment - Constructor parameter: Pass
api_key(Python) orapiKey(JavaScript) when initializing the client
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 a429 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
- Python Package: PyPI
- JavaScript Package: npm
- API Documentation: REST API Introduction
- Support: support@tryprofound.com