How to Use FRED economic data values in Gemini
Returns dated values for an economic series, with historical versions available through FRED's real-time periods. Use it for charts, calculations, and comparisons of what was known on different dates.
Prompts to try with FRED economic data values in Gemini
Copy an example into Gemini, or ask in your own words.
Use FRED economic data values to look this up and give me the result as a table.
Pull the latest numbers from FRED economic data values and tell me what changed since last week.
Check FRED economic data values and summarize what you find in three bullet points.
Pull the newest data from FRED economic data values and give me the result as a table.
Check FRED economic data values every morning and tell me only when something changed.
How to set up FRED economic data values in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini 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 FRED economic data values
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": "fred/series/observations", "input": { "series_id": "<series_id>" } }'
Then paste one of the prompts above: Gemini finds FRED economic data values on Spiral, shows the price and runs it.
FRED economic data values providers and prices
Spiral runs FRED economic data values through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | a number up to 100000 | 100000 | Observations to return. |
| Units | lin, chg, ch1, pch, pc1, pca, cch, cca and 1 more | lin | Value transformation: lin levels, chg change, ch1 change from a year ago, pch percent change, pc1 percent change from a year ago, pca compounded annual rate of change, cch continuously compounded rate of change, cca continuously compounded annual rate of change, log natural log. |
| Offset | a number | 0 | Observations to skip. |
| Frequency | d, w, bw, m, q, sa, a, wef and 8 more | Aggregate down to a lower frequency. Asking for a frequency higher than the series' native one is an error rather than a no-op, and asking for the native one does nothing. Omit for no aggregation. | |
| Sort order | asc or desc | asc | Sort by observation date. |
| Output type | 1 to 4 | 1 | 1 observations by real-time period, 2 all observations by vintage date, 3 new and revised observations only, 4 initial release only. The fields described below are the shape of output_type 1; 2 and 3 replace the record entirely with one column per vintage date. |
| Aggregation method | avg, sum, or eop | avg | How |
Every API field of FRED · Series observations is on its tool page: open its card above.
What can you do with FRED economic data values in Gemini?
Turn an economic question into a shortlist of indicators with clear definitions and publication context. FRED's search results, labels, and series records help explain which measures belong in the comparison.
Prepare an economic research brief
Find indicators for US inflation, inspect search tags and related tags, and document their categories, labels, definitions, and publications. Add values, recent update information, and revision dates to explain both the evidence and its timing.
Compare regional indicators
Search for unemployment indicators for California and Texas. Use search tags, related tags, categories, and series labels to identify the intended geography, then check definitions before comparing the returned values.
Investigate economic data revisions
Check recent updates for indicators under review, identify their publications and definitions, and list available revision dates. Compare historical observation snapshots to show how the reported picture changed.
Review a dashboard's latest evidence
Check which monitored indicators appear in recent updates. Review their definitions, publications, revision dates, and observation values before explaining a change in an economic dashboard.
Reproduce a historical economic comparison
Document an indicator's categories, labels, definition, and publication. Select available historical snapshots and compare their observation values to reconstruct the evidence available at different points in time.
More on FRED economic data values and Gemini
Overview
FRED economic data values in other agents
Questions about FRED economic data values in Gemini
Can Gemini use FRED economic data values?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run FRED economic data values like any built-in tool.
How much does FRED economic data values cost in Gemini?
$0.001746 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need an Alexandria account to use FRED economic data values in Gemini?
No. Spiral runs FRED economic data values on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up FRED economic data values in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while FRED economic data values runs?
FRED economic data values runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.
Where does FRED's data come from?
FRED combines economic data from more than 100 public and proprietary sources. Most of its sources are US government agencies, so a FRED series can originate outside the Federal Reserve.
How fresh is FRED's data?
The database is updated daily, but that does not mean every series receives a new value each day. FRED publishes a new version after validation and keeps the replaced version in ALFRED.
How does FRED check incoming data?
FRED compares each new download with the existing series. Unexpected values are reviewed, and FRED contacts the originating source for clarification.
How many observation values can one request return?
The observations response is capped at 100,000 results per request. Larger results require subsequent requests using an offset.
Does searching for a series ID require an exact match?
FRED's series ID search uses substring matching. A fragment can return multiple identifiers, so compare the returned descriptions before selecting a series.
Start using FRED economic data values in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


