API Reference
Complete REST API for the Adrata platform.
Access companies, people, buyer groups, opportunities, and intelligence data. JSON responses, cursor-based pagination, and webhook events.
Authentication
All API requests require a Bearer token in the Authorization header. Generate API keys from your workspace Settings → API Keys.
Live keys
Prefixed with ak_live_. Full access to production data.
Test keys
Prefixed with ak_test_. Sandbox environment, no real data affected.
Scoped permissions
Keys can be scoped to read-only, write, or admin. Limit blast radius.
Base URL
All endpoints are versioned under /v1. We guarantee backward compatibility within a major version.
Rate Limits
Rate limits are applied per API key. Limits reset on a rolling 1-hour window.
| Plan | Requests / hour | Burst |
|---|---|---|
| Free | 100 | 10 req/sec |
| Pro | 1,000 | 50 req/sec |
| Enterprise | 10,000 | 200 req/sec |
Rate limit headers are included in every response:
Pagination
List endpoints use cursor-based pagination. Pass limit and cursor as query parameters.
Error Handling
Errors return a consistent JSON structure with an HTTP status code, error type, and human-readable message.
| Status | Error | Meaning |
|---|---|---|
| 400 | bad_request | Invalid parameters or request body |
| 401 | unauthorized | Missing or invalid API key |
| 403 | forbidden | Key lacks required permission scope |
| 404 | not_found | Resource does not exist |
| 429 | rate_limited | Too many requests. Check X-RateLimit-Reset header |
| 500 | internal_error | Server error. Retry with exponential backoff |
Code Examples
Search for companies using the API. These examples show the same request in curl, TypeScript, and Python.
Endpoint Reference
All endpoints are available under https://api.adrata.com/v1. Click an endpoint group to see details.
Companies
Search, list, create, and update company records. Includes enrichment data, intelligence scores, and buyer group coverage.
People
Manage contacts and leads. Access enrichment data, engagement history, and stakeholder role classifications.
Buyer Groups
Map buying committees for target accounts. Get stakeholder roles, coverage gaps, and engagement signals.
Opportunities
Full pipeline access. Create, update, and track opportunities with deal health scores and stage progression.
Intelligence
AI-powered analysis endpoints. Generate deal summaries, risk assessments, next-step recommendations, and competitive intelligence.
Search
Unified search across all entities. Full-text search with filters, facets, and relevance ranking.
Full Example: Create a Buyer Group
This example creates a buyer group for a target account and retrieves the mapped stakeholders.
Ready to build?
Get your API key and start making requests in minutes.