How to Use Fiscal.ai shares outstanding in opencode
Returns total shares and a share-class breakdown from the latest available filing. Use it to check the share count behind a per-share calculation or examine a company’s capital structure.
Prompts to try with Fiscal.ai shares outstanding in opencode
Copy an example into opencode, or ask in your own words.
Use Fiscal.ai shares outstanding for Alphabet on Nasdaq and show the latest filing date, total shares, and share-class breakdown in the valuation screen.
Use Fiscal.ai shares outstanding to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Fiscal.ai shares outstanding and tell me what changed since last week.
Check Fiscal.ai shares outstanding and summarize what you find in three bullet points.
Pull the newest data from Fiscal.ai shares outstanding and give me the result as a table.
How to set up Fiscal.ai shares outstanding in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Fiscal.ai shares outstanding
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "fiscal-ai/company/shares-outstanding", "input": { "fscl": "<fscl>" } }'
Then paste one of the prompts above: opencode finds Fiscal.ai shares outstanding on Spiral, shows the price and runs it.
Fiscal.ai shares outstanding providers and prices
Spiral runs Fiscal.ai shares outstanding through Alexandria. Open a card for today's price, with every fee included.
What can you do with Fiscal.ai shares outstanding in opencode?
Build a company research view with business descriptions, operating histories, or filing-based share counts. A coding agent can turn the Fiscal.ai responses into tables and calculations in your project.
Prepare a company research brief
Find Microsoft in the directory, explain its business and peers, summarize available segment results, and add the latest reported share-class breakdown.
Build a peer comparison
Resolve a set of public companies, review their business descriptions, compare overlapping operating metrics, and show the share counts used in any per-share calculations.
Collect inputs for a valuation model
Match companies to listings, document their businesses, bring available segment histories into the model, and use the latest filing share counts for the per-share output.
Refresh an internal watchlist
Recheck company records, business descriptions, available operating results, and latest reported share counts for a defined list of public companies.
Review a company’s capital structure
Compare the listings in a company profile with the latest filing’s share-class breakdown before choosing a denominator for an internal analysis.
More on Fiscal.ai shares outstanding and opencode
Overview
Fiscal.ai shares outstanding in other agents
Questions about Fiscal.ai shares outstanding in opencode
Can opencode use Fiscal.ai shares outstanding?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fiscal.ai shares outstanding like any built-in tool.
How much does Fiscal.ai shares outstanding cost in opencode?
$0.052377 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Fiscal.ai shares outstanding in opencode?
No. Spiral runs Fiscal.ai shares outstanding on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Fiscal.ai shares outstanding in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Fiscal.ai shares outstanding runs?
Fiscal.ai shares outstanding runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does Fiscal.ai provide operating KPIs for every company?
No. Its API documentation describes segment and KPI coverage as the largest 2,300 companies globally by market capitalization and explicitly notes incomplete coverage within regions.
How much segment and KPI history is documented?
Fiscal.ai documents 12 or more annual periods and 24 or more quarterly periods for segments and KPIs. Discontinued segments can remain in the historical data.
How many companies can a directory request return?
A directory page contains up to 1,000 company records. The final page contains the remainder, and the pagination response tells you whether another page exists.
Does a company’s presence guarantee every dataset is available?
No. The directory and profile list available datasets for each company, and a request for an unlisted dataset returns 404.
Are shares outstanding a live count or a historical series?
The endpoint returns a snapshot from the latest available company filing, including total shares and a share-class breakdown. It does not provide a historical share-count series.
Start using Fiscal.ai shares outstanding in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


