# Fed & Economy Odds (FOMC, CPI, Jobs, Recession) (`oddsdesk/fed-economy-odds`) Actor

Market-implied odds for Fed rate decisions, CPI inflation, jobs reports, GDP and recession from Kalshi and Polymarket, tagged by topic. A clean macro-expectations feed for analysts, newsletters and AI agents.

- **URL**: https://apify.com/oddsdesk/fed-economy-odds.md
- **Developed by:** [Jakob](https://apify.com/oddsdesk) (community)
- **Categories:** AI, Developer tools, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 result 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Fed & Economy Odds: FOMC, CPI, jobs and recession probabilities

A clean **macro-expectations feed from prediction markets**: market-implied odds for Fed rate decisions, CPI and PCE inflation, jobs reports and unemployment, GDP, recession, Treasury yields, gas prices, housing, other central banks and tariffs. It pulls from Kalshi and Polymarket and tags every market by topic, so you can drop it straight into a dashboard or newsletter.

### What you can do with it

- **Macro newsletters and analysts:** "Markets now price a 64% chance of a December hike."
- **Finance dashboards:** schedule it before each FOMC meeting or data release.
- **Students and researchers:** compare market expectations with actual releases.
- **AI agents:** answer "What does the market expect from the Fed?" with live numbers.

### How to use it

1. Click **Try for free** (or **Start**).
2. Pick categories, keywords or filters, or keep the defaults.
3. Click **Start**. Most runs finish in under 2 minutes.
4. Download the results as JSON, CSV, Excel or HTML, or read them from the API.

**Example input**

```json
{
  "topics": [
    "fed",
    "inflation"
  ],
  "sortBy": "closeTime",
  "maxItems": 100
}
```

### What you get

| Field | Meaning |
|---|---|
| `topic` | fed, inflation, jobs, gdp, recession, treasury_yields, gas_oil, housing, global_central_banks, tariffs_trade |
| `question / outcome` | What the market asks |
| `probability` | Implied probability, 0–1 |
| `change24h` | 24h change |
| `closeTime` | When trading closes |
| `venue / url` | Source and link |

**Example row (real output)**

```json
{
  "venue": "polymarket",
  "marketId": "5734060",
  "eventId": "1194699",
  "seriesId": "inflation-china-annual",
  "eventTitle": "October Inflation China - Annual",
  "question": "Will China’s CPI increase by ≤0.6% over the 12 month period ending in October 2026?",
  "outcome": "≤0.6%",
  "outcomes": [
    {
      "name": "Yes",
      "probability": 0.0545
    },
    {
      "name": "No",
      "probability": 0.9455
    }
  ],
  "category": "Economics",
  "venueCategory": "CPI",
  "tags": [
    "CPI",
    "China",
    "Economy",
    "Inflation",
    "Recurring",
    "Macro Indicators"
  ],
  "probability": 0.0545,
  "yesBid": 0.015,
  "yesAsk": 0.094,
  "lastPrice": 0.053,
  "spread": 0.079,
  "change24h": 0.0195,
  "volume": 10689.19,
  "volume24h": 94.06,
  "volumeUnit": "USDC",
  "openInterest": null,
  "liquidity": 589.02,
  "closeTime": "2026-11-09T23:59:00Z",
  "status": "active",
  "url": "https://polymarket.com/event/october-inflation-china-annual",
  "fetchedAt": "2026-11-06T02:47:37Z",
  "topic": "inflation"
}
```

### Pricing

Pay only for what you get: **$1.50 per 1,000 results** plus **$0.01 per run**. For example, 100 rows cost about $0.16. Set **Max results** to cap your cost; platform usage is included.

### Use it from code, Zapier, Make or an AI agent

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("oddsdesk/fed-economy-odds").call(run_input={"topics": ["fed", "inflation"], "sortBy": "closeTime", "maxItems": 100})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

**HTTP (one call, returns the rows)**

```bash
curl -X POST "https://api.apify.com/v2/acts/oddsdesk~fed-economy-odds/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" -d '{"topics": ["fed", "inflation"], "sortBy": "closeTime", "maxItems": 100}'
```

**AI agents (MCP):** add the Apify MCP server (`https://mcp.apify.com`) to Claude, ChatGPT or Cursor and ask for `oddsdesk/fed-economy-odds`. The input fields below double as the tool's parameters.

### Data source and limits

- Data comes from the **official public APIs** of Kalshi (Trade API v2, market data) and Polymarket (Gamma API). No login, no API key, no personal data.
- Prices are a snapshot at run time (`fetchedAt`). For a live feed, [schedule the Actor](https://docs.apify.com/platform/schedules) every 5–60 minutes.
- Kalshi volume is counted in contracts ($1 notional each); Polymarket volume is in USDC.
- `probability` is the midpoint of the best bid and ask when the spread is 10 points or less, otherwise the last traded price.
- Markets whose close time has passed (waiting to settle) are left out.
- Polymarket lists tens of thousands of tiny markets. This Actor reads the ~2,100 most active events by 24h volume, which covers every market with meaningful trading.

### Disclaimer

This Actor provides market data for research, journalism, dashboards and software. It does not place trades and is **not financial, betting or investment advice**. Prediction markets may be restricted where you live; check your local rules. OddsDesk is not affiliated with Kalshi or Polymarket.

### Feedback

Found a bug or want a field added? Open an issue on the **Issues** tab. We usually fix things within a few days.

# Actor input Schema

## `venues` (type: `array`):

Which prediction markets to include.

## `topics` (type: `array`):

Which macro topics to include.

## `keywords` (type: `array`):

Only include markets whose title, question, outcome or tags contain any of these words (case-insensitive). Example: bitcoin, Fed, Taylor Swift.

## `minTotalVolume` (type: `integer`):

Skip thinly traded markets.

## `sortBy` (type: `string`):

Order of the results.

## `maxItems` (type: `integer`):

Maximum number of rows to return. You pay per row, so this also caps your cost.

## `includeRules` (type: `boolean`):

Add each Kalshi market's primary resolution rule text.

## Actor input object example

```json
{
  "venues": [
    "kalshi",
    "polymarket"
  ],
  "topics": [
    "fed",
    "inflation"
  ],
  "minTotalVolume": 0,
  "sortBy": "closeTime",
  "maxItems": 100,
  "includeRules": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per market (or matched pair) as described in the README.

# 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 = {
    "topics": [
        "fed",
        "inflation"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("oddsdesk/fed-economy-odds").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 = {
    "topics": [
        "fed",
        "inflation",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("oddsdesk/fed-economy-odds").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 '{
  "topics": [
    "fed",
    "inflation"
  ],
  "maxItems": 100
}' |
apify call oddsdesk/fed-economy-odds --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,oddsdesk/fed-economy-odds"
        }
    }
}
```

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/rLAQgVkytjzgiaJu2/builds/ZkL9JvWl69yMW0ZoA/openapi.json
