Overview
The Databuddy API provides programmatic access to your analytics data, link management, feature flags, and more. Built with privacy-first principles, it enables you to query, analyze, and manage your data securely.Base URLs
All API requests should be made to:Endpoints
- Query API:
/v1/query- Execute analytics queries - RPC API:
/rpc/*- Access to organization, website, and resource management - OpenAPI Docs:
/- Interactive API documentation - OpenAPI Spec:
/spec.json- OpenAPI specification
API Architecture
The Databuddy API uses two patterns:- Query API - RESTful endpoints for analytics queries with flexible filtering and aggregation
- RPC API - Type-safe remote procedure calls for resource management
Authentication Methods
Databuddy supports two authentication methods:Session Authentication
Used for browser-based requests. Session cookies are automatically included when authenticated through the dashboard.API Key Authentication
Recommended for programmatic access. See the Authentication page for details.SDKs and Libraries
Databuddy provides official SDKs for popular platforms:JavaScript/TypeScript
Python
Response Format
All API responses follow a consistent structure:Success Response
Error Response
Rate Limits
API requests are rate limited based on your authentication method and plan. See the Rate Limits page for details.Need Help?
If you encounter issues or have questions:- Check the Errors reference for common error codes
- Review the Authentication guide
- Explore the interactive API documentation