API Documentation

Welcome to the Synnax Enterprise API documentation. This API provides access to company financial data, predictions, and credit risk analytics.

If you would like to use Synnax Enterprise API, please reach out to us at [email protected] or via a support form on synnax.app.

Base URL

https://public-company-report-api.synnax.app/enterprise/v1

Authentication

All Enterprise API endpoints require authentication using an API key in the Authorization header:

Authorization: Bearer <YOUR_API_KEY>

Example Request

curl -X POST https://public-company-report-api.synnax.app/enterprise/v1/companies/search \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "itemsPerPage": 10,
    "textSearch": "Apple"
  }'

Field Notation

In the type definitions throughout this documentation:

  • Fields marked with ? are optional and may not be present in the response

  • Fields without ? are required and will always be present (when the parent object exists)

  • UNCALC means the ratio could not be calculated, typically due to division by zero or missing required data


Endpoints

Search Companies

Search for companies with filtering, sorting, and pagination capabilities.

Endpoint: POST /companies/search

Request Body

Filter Values

Response

Pagination

To paginate through results:

  1. Make an initial request with itemsPerPage set to your desired page size

  2. From the response include the nextPageKey for the subsequent requests

  3. Continue pagination until the number of items returned is less than itemsPerPage


Get Company Summary Report

Retrieve current and predicted financial summary report for a company.

Endpoint: POST /companies/report/summary/get

Request Body

You can get the companyId using the Search API (see above).

Response


Get Company Predictions Report

Retrieve daily predictions for future quarters with detailed financial indicators and ratios. Each datasetDate represents a snapshot of predictions made on that particular date from multiple model runs.

Endpoint: POST /companies/report/timeseries/predictions/get

Request Body

You can get the companyId using the Search API (see above).

Response


Get Historic Predictions Report

Retrieve past predictions with aggregated statistics (median, mean, max, min) for quarters that have already occurred.

Endpoint: POST /companies/report/timeseries/predictions/historic/get

Request Body

You can get the companyId using the Search API (see above).

Response


Get Realized Historical Report

Retrieve actual reported financial data for past quarters.

Endpoint: POST /companies/report/timeseries/realized/get

Request Body

You can get the companyId using the Search API (see above).

Response


Error Responses

All endpoints return standard HTTP status codes and error responses in JSON format.

400 Bad Request

Invalid request body or parameters

401 Unauthorized

Missing or invalid authentication token

403 Forbidden

Subscription required or access denied

404 Not Found

Company not found

500 Internal Server Error

Server error


Examples & Common Use Cases

This section demonstrates typical workflows and tasks using the Enterprise API.

Example 1: Find Company ID by Name

To work with a specific company, you first need to find its companyId. Here's how to search for Alphabet (Google):

Request

Response

Note: In this example, we requested 10 items but received only 2 results, yet nextPageKey is still present. This is expected behavior — the next page will be empty. See the Pagination section above for more details.


Example 2: Get Current Financial Summary

Once you have a company ID, retrieve the current financial summary including credit signal and probability of default:

Request

Response


Example 3: Get Realized Financial Data

Retrieve actual reported financial data for past quarters, including detailed indicators and ratios:

Request

Response


Example 4: Get Median Predicted Cost of Revenue

To calculate the median predicted cost of revenue for a company, retrieve historic predictions which include aggregated statistics:

Request

Response

The median value under indicators.costOfRevenue gives you the median predicted cost of revenue across all data scientist submissions for that quarter.


Support

For additional help or questions about the Enterprise API, please contact our support team or refer to our main documentation portal.

Last updated