# SOFR & Money Market Rates: Benchmarks and Fed Operations (`scrapemint/money-market-rates-tracker`) Actor

Keyless daily money market data. Official secured and unsecured overnight benchmarks with the volume behind each and the percentile distribution, a daily spread view showing SOFR against the policy target range, and central bank repo and reverse repo operation results.

- **URL**: https://apify.com/scrapemint/money-market-rates-tracker.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Business, News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 rate rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SOFR & Money Market Rates: Benchmarks and Fed Operations

SOFR is the reference rate under most floating-rate debt written today, and it is set each morning from roughly three trillion dollars of overnight repo trades. This reads the official daily publication: the secured and unsecured benchmarks, the distribution behind each one, and the results of the central bank's own repo operations. No key, no login, no proxy.

### Three modes

**Rates** returns one row per benchmark per day:

| Field | Meaning |
| --- | --- |
| `rateType`, `rateName`, `family` | SOFR, EFFR, OBFR, BGCR, TGCR, spelled out and marked secured or unsecured |
| `percentRate`, `volumeInBillions` | The rate and the volume it was calculated from |
| `percentile1`, `percentile25`, `percentile75`, `percentile99` | The distribution of trades behind the print |
| `tailSpreadBasisPoints`, `rangeBasisPoints` | How stretched the expensive end of the market is |
| `targetRateFrom`, `targetRateTo` | The policy target range in force |
| `revised` | Whether the published value was revised |

**Spreads** returns one row per day with every benchmark side by side, plus the numbers people actually watch: SOFR minus EFFR, SOFR against the midpoint of the target range, whether SOFR printed above the ceiling, the size of its 99th-percentile tail, and the 30-day average and index level.

**Operations** returns the central bank's repo and reverse repo results, one row per operation and collateral type, with amounts submitted and accepted and the award rate. Repo adds cash to the market; reverse repo drains it.

### Example input

```json
{
  "mode": "rates",
  "daysBack": 7
}
```

A month of funding conditions in one row per day:

```json
{
  "mode": "spreads",
  "daysBack": 30
}
```

Years of SOFR history:

```json
{
  "mode": "rates",
  "startDate": "2024-01-01",
  "endDate": "2024-12-31",
  "rateTypes": ["SOFR"]
}
```

### Three things worth knowing

**One entry in the daily list is not a rate.** The SOFR averages and index publish alongside the benchmarks but carry no rate and no percentiles, only the 30, 90 and 180 day compounded averages and the index used to settle contracts. They are returned with `kind: "sofr_averages_index"` and a null rate, so nothing averages an index level in with overnight rates by accident.

**The newest date can have no rate yet.** The averages and index publish same day while the benchmarks arrive the next business day, so the latest date in a range may carry only the index. Those days are skipped in spreads mode rather than billed as a row of empty rate columns.

**Amounts are passed through unmodified.** The operation amounts are published in thousands of dollars and are returned exactly as the source states them, with `amountUnit` on every row. No conversion is applied, so the figures always reconcile against the official release.

### Pricing

Pay per row, `$0.004`. The first 2 rows of every run are free. Weekends, holidays and empty windows return a free note explaining why, and are never charged.

One request covers a whole date range, so a month of history costs the same to fetch as a day.

### Related actors

- **US Treasury Yields & Interest Rates Scraper** for the yield curve above this overnight market
- **Commodity Futures Prices: Gold, Oil, Grains and Rates** for the SOFR futures curve, under code SR3
- **World Economic Indicators Scraper: GDP, Inflation & More** for the macro backdrop

# Actor input Schema

## `mode` (type: `string`):

rates = one row per benchmark per day with volume and percentiles. spreads = one row per day with every benchmark side by side and SOFR against the target range. operations = repo and reverse repo results.

## `daysBack` (type: `integer`):

How far back to pull rates, counting from today. Rates publish on business days only.

## `startDate` (type: `string`):

YYYY-MM-DD. Overrides days back for a fixed window, including years of history.

## `endDate` (type: `string`):

YYYY-MM-DD. Defaults to today.

## `rateTypes` (type: `array`):

Rates mode. SOFR, SOFRAI (the averages and index), BGCR, TGCR, EFFR, OBFR. Empty returns all six.

## `operationType` (type: `string`):

Operations mode. Repo adds cash to the market, reverse repo drains it.

## `operationCount` (type: `integer`):

Operations mode. How many of the most recent operations to return. Each can produce a row per collateral type.

## `maxRows` (type: `integer`):

Cap on rows returned. Controls total cost.

## Actor input object example

```json
{
  "mode": "rates",
  "daysBack": 7,
  "startDate": "",
  "endDate": "",
  "rateTypes": [],
  "operationType": "all",
  "operationCount": 10,
  "maxRows": 200
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "daysBack": 7
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/money-market-rates-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "daysBack": 7 }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/money-market-rates-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "daysBack": 7
}' |
apify call scrapemint/money-market-rates-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapemint/money-market-rates-tracker"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UprbHIQi2ffBapxD7/builds/8H1mS9DWShdgGVtgD/openapi.json
