[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Treasury Fiscal Data latest figures](https://spiral.ai/integrations/openclaw/treasury-fiscal-data-latest-figures)

# How to Use Treasury Fiscal Data latest figures in OpenClaw

Returns the newest rows for headline Treasury tables, including national debt, cash balances, and reporting exchange rates. Use it for a current briefing, with the reporting date beside each figure.

|  |  |
| --- | --- |
| Model | Treasury Fiscal Data latest figures |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Treasury Fiscal Data latest figures in OpenClaw

- Each business day, use Treasury Fiscal Data latest figures to check for a new national debt observation and prepare an update only when its reporting date advances.
- Every Monday at 9am: use Treasury Fiscal Data latest figures to look this up and give me the result as a table.
- Pull the latest numbers from Treasury Fiscal Data latest figures and tell me what changed since last week.
- Check Treasury Fiscal Data latest figures and summarize what you find in three bullet points.
- Pull the newest data from Treasury Fiscal Data latest figures and give me the result as a table.

## How to set up Treasury Fiscal Data latest figures in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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 Treasury Fiscal Data latest figures**: 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": "fiscaldata-treasury-gov/fiscal-data/latest",
    "input": {
      "table": "debt_to_the_penny"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds Treasury Fiscal Data latest figures on Spiral, shows the price and runs it.

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

## Treasury Fiscal Data latest figures tools and prices

- [US Treasury Fiscal Data · Latest](https://spiral.ai/tools/alexandria/fiscaldata-treasury-gov/fiscal-data/latest) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| n | 1 to 1000 | 10 | Rows to return (newest first). |
| filter |  | — | Optional ANDed filter clauses, as in `data`. |

## What can you do with Treasury Fiscal Data latest figures in OpenClaw?

Maintain a Treasury release watch that distinguishes an expected update from newly published evidence. A scheduled agent can check release estimates, compare available reporting periods, and assemble figures and statement references for a recurring briefing.

### Prepare a monthly federal budget briefing

Find the Monthly Treasury Statement tables, check the expected publication date, and retrieve the newest receipts and outlays. Compare them with earlier periods and locate the official statement for the briefing's source material.

### Explain changes in Treasury's cash balance

Identify the Daily Treasury Statement tables, plan checks around expected releases, and compare the newest cash balance with earlier observations. Locate the corresponding statement to examine deposits, withdrawals, and the report's notes.

### Review quarterly currency reporting rates

Find Treasury's exchange-rate dataset and expected releases, retrieve the newest Canadian dollar and Mexican peso observations, and compare earlier quarters. Locate the published report while checking raw records separately for amendments omitted from the PDF.

### Run an economic newsroom's release desk

Build a watchlist of Treasury datasets and expected publication times. For each release, compare the newest figures with the preceding period and locate any accompanying published statement before drafting the update.

### Chart the composition of national debt

Find Debt to the Penny and compare debt held by the public with intragovernmental holdings over a chosen period. Add the newest observation to show how both components contribute to the total.

## Overview

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

## Treasury Fiscal Data latest figures in other agents

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

## More OpenClaw guides

- [Treasury Fiscal Data dataset search](https://spiral.ai/integrations/openclaw/treasury-fiscal-data-dataset-search)
- [Treasury Fiscal Data published reports](https://spiral.ai/integrations/openclaw/treasury-fiscal-data-published-reports)
- [Tiingo ticker search](https://spiral.ai/integrations/openclaw/tiingo-ticker-search)
- [Treasury Fiscal Data release calendar](https://spiral.ai/integrations/openclaw/treasury-fiscal-data-release-calendar)
- [Tiingo ticker metadata](https://spiral.ai/integrations/openclaw/tiingo-ticker-metadata)
- [Treasury Fiscal Data table records](https://spiral.ai/integrations/openclaw/treasury-fiscal-data-table-records)

## Questions about Treasury Fiscal Data latest figures in OpenClaw

**Can OpenClaw use Treasury Fiscal Data latest figures?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Treasury Fiscal Data latest figures like any built-in tool.

**How much does Treasury Fiscal Data latest figures cost in OpenClaw?**

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

**Do I need an Alexandria account to use Treasury Fiscal Data latest figures in OpenClaw?**

No. Spiral runs Treasury Fiscal Data latest figures on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Treasury Fiscal Data latest figures in OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while Treasury Fiscal Data latest figures runs?**

Treasury Fiscal Data latest figures runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

**How current are Treasury's national debt figures?**

Debt to the Penny is updated at the end of each business day with the previous business day's data. Its latest observation is a daily accounting figure, not a continuously updated debt counter.

**Are Treasury's release dates guaranteed?**

Treasury describes its release calendar as estimated dates and times for upcoming releases. Use it to plan a refresh, then check whether the expected reporting period has actually appeared.

**Can I reuse Fiscal Data in a commercial report or application?**

Yes. Treasury explicitly permits copying, adapting, redistributing, and otherwise using the data for commercial and noncommercial purposes.

**Can Fiscal Data tell me someone's tax refund or payment status?**

No. Fiscal Data publishes government data and explicitly says it has no access to personal data or the ability to resolve personal inquiries.

**Why might a calculated spending total disagree with a Treasury statement?**

Monthly Treasury Statement tables include total and subtotal rows, so summing every row can double-count amounts. Daily Treasury Statement figures also have a specific precision limit: they are rounded to the nearest million.

