API Documentation

Everything you need to integrate FinEdge Labs segment data into your applications — free, no API key required.

Quick Start

# Install

pip install requests

# Fetch segment data — no key needed

import requests

response = requests.get(
    "https://finedgelabs.com/api/data/companies/AAPL/segments",
)

for seg in response.json()["segments"]:
    print(seg["name"], seg["revenue"])

Endpoints

Base URL: https://finedgelabs.com/api/data

GET
/companies/search

Search companies by ticker or name

Params: q (required), limit

GET
/companies/{cik}/segments

Segment financials for a company

Params: cik (path), segment_type, years

GET
/companies/{cik}/geographic

Geographic revenue breakdown

Params: cik (path)

GET
/companies/{cik}/filings

Filing history

Params: cik (path), form_type

GET
/export/segments/{ticker}

Download an Excel workbook of segment data

Params: ticker (path), years

Authentication

None required. The public read endpoints are free and open — no API key and no signup. Just call the base URL:

curl https://finedgelabs.com/api/data/companies/search?q=AAPL

A free account is optional — it adds the dashboard (saved watchlists, Excel exports, and cross-company tooling).