Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kamathhrishi/finance-agent/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Companies API provides access to comprehensive company profiles, financial metrics, and segment data from PostgreSQL databases.Search Companies (Public)
Search for companies by ticker, name, sector, or industry without authentication. Endpoint:GET /companies/public/search
Authentication: Not required
cURL
Search term (ticker, company name, sector, or industry)
Maximum results to return (1-20)
Response
Whether the search was successful
Array of matching companies
Number of results returned
Query execution time in seconds
Search Companies (Authenticated)
Search with higher limits and additional features. Endpoint:GET /companies/search
Authentication: Required
cURL
Search term
Maximum results (1-200)
Get Company Details
Retrieve comprehensive company information including financials. Endpoint:GET /companies/{symbol}
Authentication: Required
cURL
Response
Request status
Complete company data
Get TTM Metrics
Retrieve Trailing Twelve Months (TTM) financial metrics. Endpoint:GET /companies/{symbol}/ttm-metrics
Authentication: Required
cURL
Response
Request status
Ticker symbol
TTM financial metrics
Get Product Segments
Retrieve revenue breakdown by product segment. Endpoint:GET /companies/{symbol}/product-segments
Authentication: Required
cURL
Response
Request status
Ticker symbol
“product”
Array of product segments
Segment summary statistics
Get Geographic Segments
Retrieve revenue breakdown by geographic region. Endpoint:GET /companies/{symbol}/geographic-segments
Authentication: Required
cURL
Response
Same structure as product segments, but with geographic regions:Get TTM History
Retrieve historical TTM data for multiple quarters. Endpoint:GET /companies/{symbol}/ttm-history
Authentication: Required
cURL
Number of quarters to retrieve (1-10)
Response
Request status
Array of quarterly data
Example: Full Company Analysis
Python