sectors-api
Query financial market data from the Sectors API (api.sectors.app) for IDX (Indonesia Stock Exchange) and SGX (Singapore Exchange) markets. Use when the user asks about stock prices, company reports, financials, market indices, top movers, dividends, earnings, market cap, or any Indonesian or Singaporean equity market data. Only calls https://api.sectors.app. Python with requests.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aidityasadhakim/sectors-financial-agentsWhat This Skill Does
The sectors-api skill serves as an advanced bridge between the OpenClaw agent and the Sectors API (api.sectors.app). It empowers users to programmatically query high-fidelity financial data regarding the Indonesia Stock Exchange (IDX) and the Singapore Exchange (SGX). By utilizing this skill, the agent can fetch real-time and historical stock information, including but not limited to company reports, financial statements, market indices, top market movers, dividend payouts, and earnings summaries. The skill is designed to abstract away the complexity of REST API interactions, allowing the agent to handle sophisticated financial inquiries with ease and precision.
Installation
To integrate this skill into your environment, run the installation command provided by ClawHub: clawhub install openclaw/skills/skills/aidityasadhakim/sectors-financial-agents. Once installed, ensure you have the requests library installed via pip install requests. Crucially, you must provide your authentication credentials by setting the SECTORS_API_KEY environment variable. This can be achieved by adding export SECTORS_API_KEY="your-api-key-here" to your shell profile or configuring it directly within your agent interface (such as Claude Code or Cursor settings). You can verify your connectivity using the provided script at scripts/check_setup.py.
Use Cases
This skill is indispensable for financial analysts, investors, and automated reporting systems. Use it to scan for top-performing companies within specific Indonesian subsectors, pull market capitalization data for SGX-listed entities, or aggregate sector-wide financial trends. It is particularly effective for automating the generation of market intelligence reports, performing competitive benchmarking between companies in the same industry, and maintaining up-to-date watchlists for the IDX and SGX markets.
Example Prompts
- "What are the top-performing companies in the energy subsector on the IDX right now?"
- "Retrieve the latest dividend information and earnings summary for Singapore Airlines."
- "Can you list all companies in the IDX that belong to the technology industry and compare their market cap?"
Tips & Limitations
Always ensure your SECTORS_API_KEY is kept secure and never hardcoded in scripts. The API strictly uses GET requests; therefore, attempts to modify or post data will result in errors. The skill is domain-restricted to api.sectors.app, ensuring safety by preventing unauthorized network calls. For optimal results, use the provided endpoint decision table to identify the specific endpoint for your data needs—such as using GET /subsectors/ for broad market mapping versus specific company lookup endpoints for detailed financial analysis.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aidityasadhakim-sectors-financial-agents": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api