# Treasury interest rates extractor

**Use case:** 

Extract official Treasury average interest rate data by security type with date filters and raw FiscalData rows.

## Input

```json
{
  "datasets": [
    "avg_interest_rates"
  ],
  "startDate": "2025-01-01",
  "sort": "newest",
  "maxRecords": 250,
  "pageSize": 250,
  "includeRawData": true
}
```

## Output

```json
{
  "datasetId": {
    "label": "Dataset ID"
  },
  "datasetName": {
    "label": "Dataset"
  },
  "recordDate": {
    "label": "Record date",
    "format": "date"
  },
  "fiscalYear": {
    "label": "Fiscal year"
  },
  "category": {
    "label": "Category"
  },
  "subcategory": {
    "label": "Subcategory"
  },
  "country": {
    "label": "Country"
  },
  "currency": {
    "label": "Currency"
  },
  "amount": {
    "label": "Amount"
  },
  "amountType": {
    "label": "Amount type"
  },
  "value": {
    "label": "Value"
  },
  "valueType": {
    "label": "Value type"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "fetchedAt": {
    "label": "Fetched at",
    "format": "date-time"
  }
}
```

## About this Actor

This example demonstrates how to use [US Treasury Fiscal Data Scraper](https://apify.com/automation-lab/us-treasury-fiscal-data-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/us-treasury-fiscal-data-scraper) to learn more, explore other use cases, and run it yourself.