> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sacra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction - API reference

> Access private company data, research, and financial metrics via the Sacra API

The Sacra API gives you programmatic access to private company intelligence: revenue estimates, valuations, funding rounds, research documents, events, and financial metrics — all in JSON over HTTPS.

## Base URL

All requests go to:

```
https://sacra.com/api/v1/
```

## Authentication

Every request requires an API key passed in the `Authorization` header:

```bash theme={null}
curl -H "Authorization: Token YOUR_API_KEY" \
  "https://sacra.com/api/v1/companies/?company_domain=stripe.com"
```

Create and manage API keys in your [organization settings](https://sacra.com/orgs/settings/general/).

> [!WARNING]
>
> Never expose your API key in client-side code. All requests should be made server-side.

## Endpoints

> [card] [Companies](https://docs.sacra.com/api-reference/companies)
>
> Look up companies by domain. Returns profiles, revenue estimates, valuations, and metadata.

> [card] [Documents](https://docs.sacra.com/api-reference/documents)
>
> Browse market research reports, company one-pagers, and expert interviews.

> [card] [Events](https://docs.sacra.com/api-reference/events)
>
> Funding rounds, secondary transactions, corporate actions, and company milestones.

> [card] [Filings](https://docs.sacra.com/api-reference/filings)
>
> SEC and regulatory filings for private companies.

> [card] [Metrics](https://docs.sacra.com/api-reference/metrics)
>
> Detailed financial metrics with historical data and source citations.

> [card] [Embeds](https://docs.sacra.com/api-reference/embeds)
>
> Ready-made embeddable widgets for valuation charts, data summaries, and research PDFs.

> [card] [Categories](https://docs.sacra.com/api-reference/categories)
>
> Browse companies by category or sector.

> [card] [Funding (Legacy)](https://docs.sacra.com/api-reference/funding-legacy)
>
> Deprecated funding round endpoints. Use Events instead.

For a conceptual overview of the main data types, see [Companies](https://docs.sacra.com/concepts/companies.md), [Revenue](https://docs.sacra.com/concepts/revenue.md), [Events](https://docs.sacra.com/concepts/events.md), [Documents](https://docs.sacra.com/concepts/documents.md), and [News](https://docs.sacra.com/concepts/news.md).

## Pagination

Most list endpoints return paginated results. Two pagination styles are used depending on the endpoint.

**Cursor-based** (documents, events, metrics, news):

```json theme={null}
{
  "pagination": {
    "page_size": 30,
    "total_items": 142,
    "next_link": "https://sacra.com/api/v1/documents/?page_after=abc123",
    "prev_link": null,
    "after_cursor": "abc123",
    "before_cursor": null
  }
}
```

Use `page_after` and `page_before` to move through results. Follow `next_link` directly — it includes all query parameters.

**Offset-based** (categories):

```json theme={null}
{
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 85,
    "next_offset": 20
  }
}
```

## Rate limits

Rate limits vary by plan. See [Pricing](https://sacra.com/pricing) for plan details, or contact [support](https://support.sacra.com/) with questions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.