Skip to content

Releases: fiale-plus/fred-cli

v0.1.0

29 Mar 19:47
b2f9cb1

Choose a tag to compare

@fiale-plus/fred-cli v0.1.0

First release — unofficial CLI and TypeScript client for the FRED API v2 (Federal Reserve Economic Data), designed for AI agents.

Features

  • 31 FRED API endpoints mapped 1:1 to CLI commands (series, category, release, source, tags)
  • Zero runtime dependencies — Node 18+ native fetch, parseArgs, test runner
  • 3 output formats — JSON (default, agent-friendly with _truncated/_next_offset), CSV, table
  • TypeScript libraryimport { FredClient } from "@fiale-plus/fred-cli" with full type safety
  • API key via FRED_API_KEY env var or --api-key flag

Install

npm install -g @fiale-plus/fred-cli

Quick Start

export FRED_API_KEY=your-key-here
fred series search "consumer price index" --limit 5
fred series observations CPIAUCSL --units pch --limit 12
fred series GDP

Disclaimer

This tool is not affiliated with the Federal Reserve Bank of St. Louis or the Federal Reserve System.