Module 04 — 0.75 Hour
Hands-On with Sectors API
Connect the Sectors API skill to your running OpenClaw instance and query live IDX market data using nothing but natural language — then learn how to read and verify what the agent gives back.
Learning Objectives
- Connect the Sectors API skill to a running OpenClaw instance using an API key.
- Query live IDX market data using natural language prompts through a Discord channel.
- Interpret financial data returned by the agent and form a basic view on a stock comparison.
Topics Covered
Sectors API Overview
An introduction to the available endpoints — company reports, top movers, quarterly financials, and index data — and which are most useful for quick analysis.
Setting Up the Sectors Skill
Configuring the SECTORS_API_KEY environment variable in openclaw.json and verifying the connection using the built-in check script.
Querying Real Data
Guided practice querying data for stocks in the IDX watchlist, including asking the agent to compare two companies and identify the better value pick.
Interpreting Agent Output
A discussion of how to read and verify agent-generated financial summaries, including when to trust the output and when to check the raw data directly.
What comes next
After completing this module, participants move into the in-class activities — the Stock Comparison Challenge and the Setup Troubleshooting Exercise. These apply everything covered in all four modules in a hands-on, collaborative format.