How to Use Forex Factory release history in opencode
Returns dated releases with formatted actual, forecast, previous, and revision values plus release links. Use it to read older announcements and expand beyond the recent history in event details.
Prompts to try with Forex Factory release history in opencode
Copy an example into opencode, or ask in your own words.
Use Forex Factory release history for US Core PCE Price Index m/m to build a table of the latest 24 available releases, including dates, actuals, forecasts, revisions, and source links.
Use Forex Factory release history to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Forex Factory release history and tell me what changed since last week.
Check Forex Factory release history and summarize what you find in three bullet points.
Pull the newest data from Forex Factory release history and give me the result as a table.
How to set up Forex Factory release history 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 Forex Factory release history
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": "forexfactory-com/economic-calendar/event_history", "input": { "event_id": 1 } }'
Then paste one of the prompts above: opencode finds Forex Factory release history on Spiral, shows the price and runs it.
Forex Factory release history providers and prices
Spiral runs Forex Factory release history through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Event ID | a number from 1 | Any release event id of the indicator (from list_events). | |
| Depth | 1 to 50 | 1 | Show More step, cumulative: depth 1 is the first expansion (about 15 newest releases), each further step returns a longer prefix. Pass next_depth from the previous response to go deeper. |
Every API field of Forex Factory economic calendar · Event history is on its tool page: open its card above.
What can you do with Forex Factory release history in opencode?
Build a macro research view that puts Forex Factory release dates beside indicator definitions and historical forecast differences. A coding agent can turn the returned records into calendar views, reference tables, and charts in your project.
Prepare an inflation review
Find US CPI and Core PCE indicators, identify their scheduled releases, read their measurement notes, inspect earlier announcements, and chart actual readings against forecasts.
Build a payroll release briefing
Locate US Non-Farm Employment Change, check its release date, explain its definition, review previous announcements and revisions, and calculate historical forecast differences.
Research central bank decisions
Identify Bank of England and Bank of Canada rate indicators, check upcoming decision dates, read their specifications, inspect past decisions, and plot reported rates against forecasts.
Compare growth announcements
Find US and UK GDP indicators, identify the release editions on the calendar, check measurement definitions, inspect earlier releases, and chart each series separately.
Prepare a foreign currency payment briefing
List economic announcements before a EUR/USD payment deadline, explain the relevant indicators, and review how their recent actual readings compared with forecasts.
Study forecast differences
Calculate actual minus forecast for an indicator's numeric history, then inspect the corresponding dated releases and revision records to explain unusual observations.
More on Forex Factory release history and opencode
Overview
Forex Factory release history in other agents
Questions about Forex Factory release history in opencode
Can opencode use Forex Factory release history?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Forex Factory release history like any built-in tool.
How much does Forex Factory release history cost in opencode?
$0.00873 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 Forex Factory release history in opencode?
No. Spiral runs Forex Factory release history on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Forex Factory release history in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Forex Factory release history runs?
Forex Factory release history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What part of Forex Factory does this data cover?
It covers the public economic calendar: scheduled releases, indicator descriptions, and historical readings. The documented scope is public, read-only economic data.
How quickly does Forex Factory publish new readings?
Forex Factory says its website calendar displays economic data as it becomes available, without a page refresh. That statement concerns the website and does not establish a separate delivery-time guarantee for these endpoints.
Can a historical reading change?
Yes. Forex Factory explicitly displays revisions, marking revised readings with a yellow triangle and exposing the previous value on hover.
Does the first history response contain every release?
The first expansion contains about 15 recent releases. Further expansions return a longer prefix, and the response indicates whether more history remains.
Does public access allow me to republish the calendar?
Forex Factory's notices expressly prohibit copying, republication, or redistribution of its FEED calendar compilation, including partial copies. Public availability does not provide blanket permission to republish it.
Start using Forex Factory release history 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


