# Energy Commodity Prices on Trading Economics

**Use case:** 

Collect commodity market quotes in Trading Economics’ Energy category for energy traders, procurement teams, and analysts tracking fuel prices. Results can include name, market type, last price, daily change, unit, and reference date. Change the marketType or category input to adapt the market table.

## Input

```json
{
  "mode": "markets",
  "marketType": "commodities",
  "category": "Energy",
  "countries": [],
  "indicatorCategory": "",
  "rankingIndicators": [
    "interest-rate"
  ],
  "indicatorHistoryUrls": [],
  "marketSymbols": [],
  "forecastAssetClass": "commodity",
  "searchQuery": "gold",
  "historySpan": "1y",
  "marketInterval": "auto",
  "searchKeyword": "",
  "dateFrom": "",
  "dateTo": "",
  "importance": "",
  "maxItems": 50
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "name": {
    "label": "Name"
  },
  "country": {
    "label": "Country"
  },
  "category": {
    "label": "Category"
  },
  "last": {
    "label": "Last"
  },
  "changePercent": {
    "label": "Change percent"
  },
  "unit": {
    "label": "Unit"
  },
  "referenceDate": {
    "label": "Reference date"
  },
  "sourceUrl": {
    "label": "Source url"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Trading Economics Market, Indicator & Calendar Scraper Actor is ready to run with the inputs already set for "Energy Commodity Prices on Trading Economics". [Sign up or log in](https://console.apify.com/create-task-from-example/BN4lZZ8zHEcRxpJ74) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Energy Commodity Prices on Trading Economics" task

The Trading Economics Market, Indicator & Calendar Scraper Actor will start running based on the input automatically. You can also change all the input fields, like mode, market type (mode=markets), and more, to match your specific use case.

### 3. Receive the "Energy Commodity Prices on Trading Economics" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, name, country, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Energy Commodity Prices on Trading Economics" task via API](https://apify.com/dataspryva/trading-economics-market-indicator-and-calendar.md).

## FAQ

### How do I get energy commodity Trading prices from Trading Economics?

The energy prices task collects the Trading Economics Energy commodities table, including names, prices, daily changes, units and reference dates.

### Which energy commodity prices does Trading Economics show?

The energy prices task can return records such as Crude Oil and Brent, with prices in USD/Bbl in the sample data.

### What information comes with each Trading Economics energy price?

Each energy prices task record can include the market name, last price, daily change, daily percentage change, unit and reference date.

### Can I change which Trading Economics market table I collect?

The energy prices task is set to commodities in the Energy category; change the market type or category to adapt the market table.

### How much does it cost to collect energy commodity prices?

On the Free plan, the energy prices task's result charge is at most $0.05 for 50 results, plus the Actor start charge and Apify compute usage.

### Can I download Trading Economics energy prices as CSV or Excel?

Results from the energy prices task land in a dataset that can be downloaded as JSON, CSV, Excel, XML, RSS or an HTML table.

### How can I run the energy prices task on a schedule or through an API?

You can run the energy prices task on an Apify Schedule, through the Apify API, or from integrations such as Zapier, Make and n8n.

## About this Actor

This example demonstrates how to use [Trading Economics Market, Indicator & Calendar Scraper](https://apify.com/dataspryva/trading-economics-market-indicator-and-calendar.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dataspryva/trading-economics-market-indicator-and-calendar.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/dataspryva/trading-economics-market-indicator-and-calendar.md

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`).
