Skip to main content
Deprecation Notice: Sectors Financial API v1 will be deprecated and discontinued at the end of March 2026.Please migrate to Sectors Financial API v2 as soon as possible. v2 offers improved performance, better data structure, and additional features.📖 View the Migration Guide for step-by-step instructions.
Sectors Financial Data API

Overview

Sectors has been used as an equity research tool by Indonesia’s top financial institutions, and has also been used as a data source for academic research. The depth of our data puts it head and shoulders above any comparable market intelligence tool, and is readily available through a simple developer experience with Sectors Financial API. Beginners can start with the Get your API Key guide, while more experienced developers can dive into our API Reference for a comprehensive list of endpoints and examples. For practical, end-to-end use cases, explore our Recipes, which showcase real-world examples of how to use the API. If you’re interested in advanced applications, the Generative AI Series demonstrates how the API can be integrated into generative AI workflows. You can also join our Community on Discord to ask questions, share ideas, and get help from other developers.

Get Started

Get your API Key

Making your first authenticated API request to Sectors

API Reference

Discover limitless potential with our diverse range of API endpoints

Get your API Key

1

⏫ Upgrade to Sectors Insider

Through the Sectors Financial API, you are two lines of code away from Indonesia’s most comprehensive financial market data and stock research tools. Sectors Financial API is available to our Insider plan subscribers.
API Pricing
2

🗝️ Obtain Sectors Financial API Key

Once logged in with your Sectors account (Insider plan), navigate to the API Keys section in the API page to generate a new API key. Include this API key in the header of your requests to authenticate and access the API (code snippets provided in the next step).
API Keys
3

📊 Retrieve Data from the API

Use one of the documented API endpoints along with your Sectors Financial API Key to access data from Sectors. Explore the API References to discover the available endpoints and sample responses.
import requests

# Replace the URL with a URL from the API References
url = "https://api.sectors.app/v1/.../"
api_key = "API key acquired from the previous step"
headers = {"Authorization": api_key}

try:
    response = requests.get(url, headers=headers)
    response.raise_for_status()
    data = response.json()
except requests.exceptions.HTTPError as err:
    raise SystemExit(err)