# Investing.com API

> Investing.com returns economic releases, commodity prices, and government bond yields as a workflow and API.

Investing.com lists economic releases by date, country, and importance; choose a date range, time zone, countries, and importance. Get commodity prices returns quoted energy, metal, and agricultural prices; specify a commodity or leave blank for all major commodities shown. Get bond yields returns government yields by country and term; specify either or leave blank for all shown.

- Page: https://fous.com/workflows/investing-com
- Handle: `@investing-com`
- Category: [Finance](https://fous.com/workflows/category/finance)
- Source website: https://investing.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with Investing.com.

## Methods

### Get bond yields

Operation `get_bond_yields`, version 1. 1 credit per call.

Get current government bond yields by country and term, including prior yield, displayed change, daily range and quote time. Quotes may be delayed, and unavailable values are null.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `term` | string | no | `"10-year"` | Bond maturity, such as 10-year, 3-month, or overnight. Leave blank for all terms. |
| `country` | string | no | `"Germany"` | Country to show, such as Germany or United States. Leave blank for all countries shown. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "term": {
      "type": "string",
      "default": "",
      "description": "Bond maturity, such as 10-year, 3-month, or overnight. Leave blank for all terms.",
      "examples": [
        "10-year"
      ]
    },
    "country": {
      "type": "string",
      "default": "",
      "description": "Country to show, such as Germany or United States. Leave blank for all countries shown.",
      "examples": [
        "Germany",
        "United States"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "term": "10-year",
      "country": "Germany"
    },
    {},
    {
      "term": "10-year",
      "country": "United States"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `bonds` | array |  |  |
| `bonds[].term` | string | `"10-year"` | Maturity in words, such as 10-year. |
| `bonds[].country` | string | `"Germany"` | Country of the bond. |
| `bonds[].page_url` | string | `"https://www.investing.com/rates-bonds/germany-10-year-bond-yield"` | Page for this bond. |
| `bonds[].price_time` | string or null | `"2026-09-28T15:58:59-04:00"` | Quote time with time-zone offset, or null when unavailable. |
| `bonds[].yield_percent` | number or null | `3.6434` | Current quoted yield in percent. |
| `bonds[].day_low_percent` | number or null | `3.6104` | Daily low yield in percent. |
| `bonds[].day_high_percent` | number or null | `3.6526` | Daily high yield in percent. |
| `bonds[].previous_yield_percent` | number or null | `3.6442` | Previous quoted yield in percent. |
| `bonds[].change_percentage_points` | number or null | `0.0224` | Displayed change in yield, in percentage points. |

**Example input**

```json
{
  "term": "10-year",
  "country": "Germany"
}
```

**Example output**

```json
{
  "bonds": [
    {
      "term": "10-year",
      "country": "Germany",
      "page_url": "https://www.investing.com/rates-bonds/germany-10-year-bond-yield",
      "price_time": "2026-09-28T15:58:59-04:00",
      "yield_percent": 3.6434,
      "day_low_percent": 3.6104,
      "day_high_percent": 3.6526,
      "previous_yield_percent": 3.6442,
      "change_percentage_points": 0.0224
    }
  ]
}
```

### Get commodity prices

Operation `get_commodity_prices`, version 1. 1 credit per call.

Get current quoted prices for energy, metals, and agricultural commodities shown on Investing.com. Some quotes may be delayed or indicative; units are unavailable when the contract specification is missing.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `commodity` | string | no | `"Brent oil"` | Commodity name, such as Brent oil or gold. Leave blank for all major commodities on the page. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "commodity": {
      "type": "string",
      "default": "",
      "description": "Commodity name, such as Brent oil or gold. Leave blank for all major commodities on the page.",
      "examples": [
        "Brent oil",
        "coffee"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {},
    {
      "commodity": "Brent oil"
    },
    {
      "commodity": "coffee"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `commodity_prices` | array |  | Commodity prices grouped by category. |
| `commodity_prices[].unit` | string or null | `"USD per barrel"` | Price denomination per physical unit. |
| `commodity_prices[].group` | string | `"energy"` | Energy, metals, or agriculture. |
| `commodity_prices[].change` | number or null | `1.73` | Change in the quoted price units. |
| `commodity_prices[].day_low` | number or null | `97.87` | Lowest quoted price today. |
| `commodity_prices[].currency` | string or null | `"USD"` | Three-letter currency code for the quoted price. |
| `commodity_prices[].day_high` | number or null | `99.6` | Highest quoted price today. |
| `commodity_prices[].commodity` | string | `"Brent Oil"` | Commodity name as displayed on the page. |
| `commodity_prices[].page_link` | string | `"https://www.investing.com/commodities/brent-oil"` | Investing.com page for this commodity. |
| `commodity_prices[].last_price` | number or null | `99.56` | Last quoted price in the stated currency and unit. |
| `commodity_prices[].price_time` | string or null | `"2026-09-29T03:09:06+00:00"` | Last price update time as ISO 8601 with offset. |
| `commodity_prices[].change_percent` | number or null | `1.77` | Percentage change in percentage points. |
| `commodity_prices[].contract_month` | string or null | `"Dec 26"` | Displayed futures contract month, if shown. |

**Example input**

```json
{
  "commodity": "Brent oil"
}
```

**Example output**

```json
{
  "commodity_prices": [
    {
      "unit": "USD per barrel",
      "group": "energy",
      "change": 1.73,
      "day_low": 97.87,
      "currency": "USD",
      "day_high": 99.6,
      "commodity": "Brent Oil",
      "page_link": "https://www.investing.com/commodities/brent-oil",
      "last_price": 99.56,
      "price_time": "2026-09-29T03:09:06+00:00",
      "change_percent": 1.77,
      "contract_month": "Dec 26"
    }
  ]
}
```

### Get economic calendar

Operation `get_economic_calendar`, version 1. 1 credit per call.

List scheduled and recent economic releases by date, country and importance, with values displayed on Investing.com. Date ranges may span up to 31 days.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `end_date` | string | no | `"2026-09-29"` | Last day of the calendar period, for example 2026-10-04. Defaults to Sunday this week. |
| `timezone` | string | no | `"New York"` | City or IANA time zone for event dates and times, for example London. Defaults to New York. |
| `countries` | array | no |  | Country names to include, for example ["United States", "Canada"]. Defaults to United States. |
| `importance` | string | no | `"all"` | Event importance to include, for example high_only. Defaults to all. |
| `start_date` | string | no | `"2026-09-29"` | First day of the calendar period, for example 2026-09-28. Defaults to Monday this week. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "Last day of the calendar period, for example 2026-10-04. Defaults to Sunday this week.",
      "examples": [
        "2026-09-29",
        "2026-10-04"
      ]
    },
    "timezone": {
      "type": "string",
      "default": "New York",
      "description": "City or IANA time zone for event dates and times, for example London. Defaults to New York.",
      "examples": [
        "New York",
        "London"
      ]
    },
    "countries": {
      "type": "array",
      "items": {
        "type": "string",
        "examples": [
          "Australia",
          "United Kingdom",
          "United States"
        ],
        "description": "Use the same format as these example values: \"Australia\", \"United Kingdom\", \"United States\"."
      },
      "default": [
        "United States"
      ],
      "description": "Country names to include, for example [\"United States\", \"Canada\"]. Defaults to United States.",
      "examples": [
        [
          "Australia",
          "United Kingdom"
        ],
        [
          "United States"
        ]
      ]
    },
    "importance": {
      "enum": [
        "high_only",
        "medium_and_high",
        "all"
      ],
      "type": "string",
      "default": "all",
      "description": "Event importance to include, for example high_only. Defaults to all.",
      "examples": [
        "all",
        "high_only"
      ]
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "First day of the calendar period, for example 2026-09-28. Defaults to Monday this week.",
      "examples": [
        "2026-09-29",
        "2026-09-28"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {},
    {
      "end_date": "2026-09-29",
      "timezone": "New York",
      "countries": [
        "Australia",
        "United Kingdom"
      ],
      "importance": "all",
      "start_date": "2026-09-29"
    },
    {
      "end_date": "2026-10-04",
      "timezone": "London",
      "countries": [
        "United States"
      ],
      "importance": "high_only",
      "start_date": "2026-09-28"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `events` | array |  |  |
| `events[].actual` | string or null |  |  |
| `events[].country` | string or null | `"Australia"` |  |
| `events[].currency` | string or null | `"AUD"` |  |
| `events[].forecast` | string or null | `"4.60%"` |  |
| `events[].previous` | string or null | `"4.35%"` |  |
| `events[].date_time` | string | `"2026-09-29T00:30:00-04:00"` | Release date and time with the requested time zone offset. |
| `events[].page_link` | string or null | `"https://www.investing.com/economic-calendar/interest-rate-decision-171"` | Investing.com event page. |
| `events[].event_name` | string | `"RBA Interest Rate Decision (Sep)"` |  |
| `events[].importance` | string | `"High"` |  |

**Example input**

```json
{
  "end_date": "2026-09-29",
  "timezone": "New York",
  "countries": [
    "Australia",
    "United Kingdom"
  ],
  "importance": "all",
  "start_date": "2026-09-29"
}
```

**Example output**

```json
{
  "events": [
    {
      "actual": null,
      "country": "Australia",
      "currency": "AUD",
      "forecast": "4.60%",
      "previous": "4.35%",
      "date_time": "2026-09-29T00:30:00-04:00",
      "page_link": "https://www.investing.com/economic-calendar/interest-rate-decision-171",
      "event_name": "RBA Interest Rate Decision (Sep)",
      "importance": "High"
    },
    {
      "actual": null,
      "country": "United Kingdom",
      "currency": "GBP",
      "forecast": "57.00K",
      "previous": "56.05K",
      "date_time": "2026-09-29T04:30:00-04:00",
      "page_link": "https://www.investing.com/economic-calendar/mortgage-approvals-211",
      "event_name": "Mortgage Approvals (Aug)",
      "importance": "Low"
    },
    {
      "actual": null,
      "country": "United Kingdom",
      "currency": "GBP",
      "forecast": "1.900B",
      "previous": "2.006B",
      "date_time": "2026-09-29T04:30:00-04:00",
      "page_link": "https://www.investing.com/economic-calendar/boe-consumer-credit-666",
      "event_name": "BoE Consumer Credit (Aug)",
      "importance": "Low"
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@investing-com",
  "visibility": "public",
  "operation": "get_bond_yields",
  "version": 1,
  "input": {
    "term": "10-year",
    "country": "Germany"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@investing-com\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_bond_yields\",\n  \"version\": 1,\n  \"input\": {\n    \"term\": \"10-year\",\n    \"country\": \"Germany\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@investing-com",
  "visibility": "public",
  "operation": "get_bond_yields",
  "version": 1,
  "input": {
    "term": "10-year",
    "country": "Germany"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@investing-com","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Track economic releases by country and importance
- Compare quoted prices across commodity groups
- Monitor government yields across countries and maturities
- Review commodity price changes and daily ranges
- Compare release values with forecasts and previous values

## FAQ

### Is Fous affiliated with Investing.com?

No. Fous is not affiliated with Investing.com. This workflow reads the public investing.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Investing.com account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from investing.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### What economic releases are scheduled for a date range?

Get economic calendar returns scheduled and recent releases for requested dates, countries, time zone, and importance.

### What are the current quoted commodity prices?

Get commodity prices returns quoted prices for energy, metals, and agricultural commodities shown on Investing.com.

### What are government bond yields by country and maturity?

Get bond yields returns quoted government yields by country and term, with prior yields, changes, daily ranges, and quote times.

## Related

- [Trading Economics API](https://fous.com/workflows/trading-economics.md): Trading Economics provides economic indicators, market data and country statistics, including country overviews, latest reported country comparisons and current commodity prices reflecting reported trading days.
- [US Treasury API](https://fous.com/workflows/us-treasury.md): US Treasury provides official daily interest rates and national debt figures for requested or latest available dates, plus quarterly reporting exchange rates using the latest preceding quarter when needed.
- [Forex Factory API](https://fous.com/workflows/forex-factory.md): Economic calendar and foreign exchange market news.
- [Kitco API](https://fous.com/workflows/kitco.md): Precious metals spot prices and market coverage.
- [Macrotrends API](https://fous.com/workflows/macrotrends.md): Macrotrends provides long-term financial and economic charts, company metric histories, and yearly commodity and index prices; current-year prices may be incomplete.
- [Yahoo Finance API](https://fous.com/workflows/yahoo-finance.md): Yahoo Finance provides quotes, movers, company financials, analyst ratings, earnings, news, and up to 5,000 price rows with adjusted returns; prices may be delayed.
- [Nasdaq API](https://fous.com/workflows/nasdaq.md): Nasdaq provides market activity, scheduled earnings by date with fiscal quarter-end month, monthly US IPO listings, and dated ex-dividend entries; dividend histories cover Nasdaq-listed stocks only.
- [Google Finance API](https://fous.com/workflows/google-finance.md): Google Finance returns possibly delayed prices and figures, indexes, up to four movers timed by oldest quote, currency conversions, and up to five financial periods.
- [All Finance workflows](https://fous.com/workflows/category/finance)
