Skip to main content
The Sacra API provides two ways to display company data on your site: ready-to-use embeds that return drop-in HTML iframes, and raw JSON endpoints for building fully custom UIs.

Embeds

Embed endpoints return an embed_html string containing a styled <iframe> you can insert directly into any page. Every embed accepts optional height and width parameters (in pixels).

Company data summary

A pre-built summary card with key company metrics.
Drop the HTML into your page:
Pass height and width query parameters to control the iframe dimensions, e.g. ?company_domain=stripe.com&height=600&width=800.

Valuation chart

An interactive chart showing a company’s valuation history.

Valuation table

A tabular view of valuation data points.

Document PDF

Embed a Sacra research document as a PDF viewer.
All embed endpoints identify companies by one of company_slug, company_domain, or company_id. The document PDF embed uses document_slug instead.

Build a custom UI with JSON data

If you need full control over presentation, use the JSON endpoints to fetch raw data and render it yourself.

Fetch company profile

The /api/v1/companies/ endpoint returns the full company profile including financials, milestones, and metadata.
The response wraps the company object inside a company key:
Each entry in financials has a snake_case name, a numeric value, and a date.

Fetch financial metrics

The /api/v1/metrics/ endpoint returns detailed metric observations with citations.
You can filter by metric type and date range:
The response wraps results inside a metrics key:
Key fields to note:
  • metric_definition.base — the metric type (e.g. revenue, run_rate_revenue, recurring_revenue)
  • metric_definition.view — either value or growth
  • measurement.amount — the metric value
  • measurement.end_date — the date the metric applies to
  • measurement.scenario — typically historical or projection
When metric_definition.view is "growth", the amount field is a percentage — even if unit_kind says "currency". Always check the view field before interpreting amount.
Some metrics return amount: null with low and high range values instead of a single point estimate.

Fetch funding events

The /api/v1/events/ endpoint returns aggregated company events including funding rounds, secondary transactions, milestones, and corporate actions.
Filter by event type using the types parameter. Supported values: funding-round, secondary-transaction, company-milestone, corporate-action.
The types query parameter uses kebab-case, while the event_type field in the response uses snake_case (e.g. funding_round).
The response wraps results inside an events key:
Each event has top-level metadata (event_type, event_name, event_date, event_status) and a data object with type-specific details like amount_raised for funding rounds.

Example: React company card

Here’s a complete example building a company card component with React. The component fetches data through your own backend proxy to keep the API token server-side.
The /api/sacra/company route is a backend proxy you create to forward requests to the Sacra API. A minimal Express example:
Never expose your API token in client-side code shipped to end users. Proxy requests through your own backend and keep the token server-side.

Embed reference