[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [FRED publication date history](https://spiral.ai/integrations/codex/fred-publication-date-history)

# How to Use FRED publication date history in Codex

Returns publication dates and the release ID for one economic release. Use it to inspect that publication's recorded schedule or upcoming dates without retrieving the calendar for other releases.

|  |  |
| --- | --- |
| Model | FRED publication date history |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.013 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FRED publication date history in Codex

- Use FRED publication date history to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED publication date history and tell me what changed since last week.
- Check FRED publication date history and summarize what you find in three bullet points.
- Pull the newest data from FRED publication date history and give me the result as a table.
- Check FRED publication date history every morning and tell me only when something changed.

## How to set up FRED publication date history in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run FRED publication date history**: One request; the result comes back by polling or a webhook.

```bash
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/releases/release-dates",
    "input": {
      "release_id": 1
    }
  }'
```

Then paste one of the prompts above: Codex finds FRED publication date history on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## FRED publication date history tools and prices

- [FRED · Release dates](https://spiral.ai/tools/alexandria/fred/releases/release-dates) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | … to 10000 | 10000 | Dates to return. The cap here is 10000, ten times every other endpoint in this provider. |
| offset |  | 0 | Records to skip. Page by adding `limit` to it; `count` in the envelope is the full match total. |
| sort_order | asc, desc | asc | Sort direction. |
| realtime_end |  | 9999-12-31 | End of the real-time period, YYYY-MM-DD. Defaults to the latest available vintage, not to today. |
| realtime_start |  | 1776-07-04 | Start of the real-time period, YYYY-MM-DD. Unlike its siblings this defaults to the earliest available vintage, not to today, so leaving it unset returns the whole history. |
| include_release_dates_with_no_data | true, false | false | Include scheduled dates that have no data yet. The default of false silently drops the future, so `when is this next published` answers with the last past date unless this is true. |

## What can you do with FRED publication date history in Codex?

Build a research interface that connects economic publications to their schedules, source organizations, and series definitions. A coding agent can use FRED's returned records to populate release selectors, indicator lists, and supported table views in your project.

### Prepare a weekly economic briefing

Identify CPI, GDP, and Employment Situation in the directory, confirm their publication details and publishers, and combine the broad calendar with each release's date history.

### Assemble a release-day research pack

For a selected GDP publication date, collect the release identity, publisher, calendar context, and date history. Add a topic-filtered series inventory and the available table hierarchy to guide the analyst's review.

### Compare publication schedules

Compare recorded dates for CPI, GDP, and Employment Situation across a chosen year. Include release names and publisher links so the schedule comparison points readers to the responsible organizations.

### Teach how a release becomes a dataset

Use GDP to connect calendar entries and publication history to source organizations, series metadata, and table rows. Let students explore tags and related tags to explain how they would choose a narrower dataset.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## FRED publication date history in other agents

- [Amp](https://spiral.ai/integrations/amp/fred-publication-date-history)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fred-publication-date-history)
- [Claude](https://spiral.ai/integrations/claude-desktop/fred-publication-date-history)
- [Claude Code](https://spiral.ai/integrations/claude-code/fred-publication-date-history)
- [Cline](https://spiral.ai/integrations/cline/fred-publication-date-history)
- [Cursor](https://spiral.ai/integrations/cursor/fred-publication-date-history)
- [Devin](https://spiral.ai/integrations/devin/fred-publication-date-history)
- [dots](https://spiral.ai/integrations/dots/fred-publication-date-history)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fred-publication-date-history)
- [Gemini](https://spiral.ai/integrations/gemini/fred-publication-date-history)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fred-publication-date-history)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/fred-publication-date-history)
- [goose](https://spiral.ai/integrations/goose/fred-publication-date-history)
- [Grok](https://spiral.ai/integrations/grok/fred-publication-date-history)
- [Grok Build](https://spiral.ai/integrations/grok-build/fred-publication-date-history)
- [Hermes](https://spiral.ai/integrations/hermes/fred-publication-date-history)
- [Instinct](https://spiral.ai/integrations/instinct/fred-publication-date-history)
- [Manus](https://spiral.ai/integrations/manus/fred-publication-date-history)
- [Muse](https://spiral.ai/integrations/muse/fred-publication-date-history)
- [Muse Code](https://spiral.ai/integrations/muse-code/fred-publication-date-history)
- [n8n](https://spiral.ai/integrations/n8n/fred-publication-date-history)
- [Notion](https://spiral.ai/integrations/notion/fred-publication-date-history)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fred-publication-date-history)
- [opencode](https://spiral.ai/integrations/opencode/fred-publication-date-history)
- [Perplexity](https://spiral.ai/integrations/perplexity/fred-publication-date-history)
- [Raycast](https://spiral.ai/integrations/raycast/fred-publication-date-history)
- [VS Code](https://spiral.ai/integrations/vscode/fred-publication-date-history)
- [Windsurf](https://spiral.ai/integrations/windsurf/fred-publication-date-history)
- [Zapier](https://spiral.ai/integrations/zapier/fred-publication-date-history)

## More Codex guides

- [FRED historical observations](https://spiral.ai/integrations/codex/fred-historical-observations)
- [FRED publisher details](https://spiral.ai/integrations/codex/fred-publisher-details)
- [FRED economic series search](https://spiral.ai/integrations/codex/fred-economic-series-search)
- [FRED publisher directory](https://spiral.ai/integrations/codex/fred-publisher-directory)
- [FRED economic series by tag](https://spiral.ai/integrations/codex/fred-economic-series-by-tag)
- [FRED publisher releases](https://spiral.ai/integrations/codex/fred-publisher-releases)

## Questions about FRED publication date history in Codex

**Can Codex use FRED publication date history?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FRED publication date history like any built-in tool.

**How much does FRED publication date history cost in Codex?**

$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need an Alexandria account to use FRED publication date history in Codex?**

No. Spiral runs FRED publication date 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 FRED publication date history in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while FRED publication date history runs?**

FRED publication date history runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**What does FRED mean by an economic release?**

A release is a named publication containing individual data series, such as Employment Situation. FRED organizes those series under the publication so you can investigate its contents together.

**Does a release date mean its data is already in FRED?**

No. FRED explicitly distinguishes dates published by data sources from the time the corresponding data becomes available in FRED or ALFRED.

**Are release tables available for every publication?**

FRED provides release tables for selected publications. Where available, they organize series in the format used by the original data source.

**How many release records can one request return?**

The calendar, directory, series metadata, tags, and related tags endpoints each allow up to 1,000 results per request. Publication date history allows up to 10,000; these lists support offset pagination.

**Does the release series list contain economic values?**

It returns series metadata, including units, frequency, seasonal adjustment, observation coverage, and update timestamps. Use it to identify the series needed for an analysis before retrieving observation values.

