Get started
Quickstart
Send a finance task through Alpha Router using one stateless, Responses-style API.
Build with an agent
Integrate Alpha Router into my application using https://router.intelligentalpha.co/SKILL.md01
Create an API key
Open the console, create a user API key, and store it in your environment. Your key is shown once and can be revoked at any time.
Never expose an Alpha Router API key in browser or mobile application code.
ALPHA_ROUTER_API_KEY=iar_live_••••••••••••••••02
Send your first request
Include the full context and a finance-task classification. The model identifier remains stable while routing changes behind the scenes.
TypeScript
import { AlphaRouter } from "@intelligent-alpha/router";
const alphaRouter = new AlphaRouter({
apiKey: process.env.ALPHA_ROUTER_API_KEY,
});
const response = await alphaRouter.responses.create({
input: "Summarize the earnings quality and key risks.",
routing: { finance_task: "earnings_analysis" },
});Python
from alpha_router import AlphaRouter
client = AlphaRouter(api_key=os.environ["ALPHA_ROUTER_API_KEY"])
response = client.responses.create(
input="Summarize the earnings quality and key risks.",
routing={"finance_task": "earnings_analysis"},
)cURL
curl https://api.router.intelligentalpha.co/v1/responses \
-H "Authorization: Bearer $ALPHA_ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "intelligent-alpha/finance",
"input": "Summarize the earnings quality and key risks.",
"routing": { "finance_task": "earnings_analysis" }
}'03
Classify the finance task
In v0, every request supplies routing.finance_task. Use general_finance when no specialized category applies.
| Task | Value | Use when |
|---|---|---|
| General finance | general_finance | The safe default for financial work that does not fit a specialized task. |
| Earnings analysis | earnings_analysis | Extract the signal in reported results, guidance, and management commentary. |
| Equity research | equity_research | Synthesize company, industry, and market evidence into a research answer. |
| Portfolio analysis | portfolio_analysis | Reason about exposures, trade-offs, and portfolio-level outcomes. |
04
Understand the contract
Send the full conversation on every request. Server-side conversation state is off.
Provider and final model identity remain internal to Alpha Router.
Usage is metered and debited after a request reaches a billable terminal state.
Errors use a stable public envelope without leaking provider diagnostics.
Requests with store: true or a non-null previous_response_id receive an HTTP 400 response.
Next
Explore the API contract
Review the generated request schemas and public error model.