# FRED · Release dates

Get market and financial data with FRED · Release dates from Alexandria through one Spiral API key. Call for one release's publication history. It defaults to the whole span back to 1776-07-04 rather than the current year, has no `order_by`, and omits `release_name` - three ways it differs from `releases/dates`. Set `include_release_dates_with_no_data` to get the next scheduled date. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Finance
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `fred/releases/release-dates`
- Page: https://spiral.ai/tools/alexandria/fred/releases/release-dates

## Pricing

$0.013 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `release_id` (required) | number |  | — | The release to read, for example 53 for Gross Domestic Product. Find one with `releases/releases`. |
| `limit` | number | … to 10000 | 10000 | Dates to return. The cap here is 10000, ten times every other endpoint in this provider. |
| `offset` | number |  | 0 | Records to skip. Page by adding `limit` to it; `count` in the envelope is the full match total. |
| `sort_order` | one of | asc, desc | asc | Sort direction. |
| `realtime_end` | text |  | 9999-12-31 | End of the real-time period, YYYY-MM-DD. Defaults to the latest available vintage, not to today. |
| `realtime_start` | text |  | 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` | one of | 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. |

## Example

```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
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=fred%2Freleases%2Frelease-dates

## Common questions

### FRED · Release dates

**How much does FRED · Release dates cost?**

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

**How do I use FRED · Release dates through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "fred/releases/release-dates"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use FRED · Release dates?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use FRED · Release dates?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

