Commodity Prices API - Metals, Lithium, Agriculture, Forest avatar

Commodity Prices API - Metals, Lithium, Agriculture, Forest

Pricing

from $10.00 / 1,000 price or forecast point returneds

Go to Apify Store
Commodity Prices API - Metals, Lithium, Agriculture, Forest

Commodity Prices API - Metals, Lithium, Agriculture, Forest

Commodity price assessments and history from the Fastmarkets Physical Prices and Market Data APIs: base and steel metals, lithium, cobalt and battery raw materials, agriculture and forest products. Low, mid, high, forecasts, instruments, references. Bring your own key.

Pricing

from $10.00 / 1,000 price or forecast point returneds

Rating

0.0

(0)

Developer

Nabeel Hassan

Nabeel Hassan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Features

Limited permissions

Share

Pull Fastmarkets commodity price assessments, price history, forecasts, instruments and reference data into clean dataset rows with your own Fastmarkets API credentials.

Works with the Fastmarkets Physical Prices API v2 and Market Data API v1 on api.fastmarkets.com, as documented in their Swagger definitions and the Fastmarkets help centre: GET /physical/v2/Prices for the latest or given date price, GET /physical/v2/Prices/history for a time series with optional forecasts and revisions, GET /physical/v2/Instruments and GET /physical/v2/References for the catalogue and reference lists, and GET /marketdata/v1/Prices, /Prices/History and /Instruments for exchange and market instruments. Each price becomes one row with the symbol, date, assessment date, low, mid, high and list price, change since previous and year ago, revision, preliminary and appraisal flags, assessment period and pricing rationale, plus the full Fastmarkets record. Download as JSON, CSV or Excel, schedule it daily, or feed it into your own procurement, risk or pricing models. Bring your own API key.

BYOK, not live-tested: every route, parameter and response field comes from Fastmarkets' published Swagger definitions and help centre, and every route was confirmed to exist on api.fastmarkets.com, but the actor has not been run against a live Fastmarkets subscription.

What it does

  • Physical prices: the latest price assessment, or the assessments on dates you give, for up to 500 symbols a run, such as aluminium scrap, steel, copper, nickel, lithium carbonate and hydroxide, cobalt, graphite, rare earths, pulp, paper, lumber, panels, grains and oilseeds. Choose the assessed value or a weekly, monthly, quarterly or yearly average, and convert to a target currency or unit.
  • Physical price history: a time series between two dates, on assessment days or weekdays with carry forward, with optional revision history and 24 month forecasts as their own rows.
  • Physical instruments: symbol, description, commodity, product, location, price type, currency, unit, incoterm, frequency, status, launch date, Bloomberg tickers and methodology link. Leave symbols empty to list every instrument your subscription covers.
  • Reference data: currencies, units of measure, price calculation types, incoterms, commodities and sources, with IDs to use as conversion targets and filters.
  • Market data prices, history and instruments: bid, mid and ask for exchange and market instruments such as LME copper cash (XL-CA-FRC.O), by interval or count, plus instrument type, maturity, lot size and delay class.
  • Read only: only GET routes are called; nothing in your Fastmarkets account changes.
  • Pay only for results: an unknown or unlicensed symbol, an empty range or a refused request gives one free row that says why.

How to get credentials

Fastmarkets API access is part of a Fastmarkets data subscription. Your Fastmarkets account manager or support team issues an API service name and service key. Paste them into Service name and Service key, or set the DATA_API_SERVICE_NAME and DATA_API_KEY secrets. The actor exchanges them at auth.fastmarkets.com for an access token for the scope the mode needs (fastmarkets.physicalprices.api or fastmarkets.marketdata.api), once per run, and renews it on a 401. You can also paste a ready access token into Service key and leave Service name empty. Secrets go only to Fastmarkets and are never logged. Missing or rejected credentials end the run cleanly with a status message.

Input

FieldModesDescription
modeallphysicalPrices, physicalHistory, physicalInstruments, references, marketPrices, marketHistory or marketInstruments
symbolsprice and instrument modesInstrument symbols, one per line (up to 500 a run)
datesphysicalPricesYYYY-MM-DD dates; empty for the latest price
fromDate, toDatephysicalHistoryDate range, from date required
priceCalculationTypephysical prices and historyNone, WeightedAverageOfTrades, WeeklyAverage, MonthlyAverage, QuarterlyAverage, YearlyAverage
averageToDateStrategyphysical prices and historyexclude, explicit, include
calendarType, carryForwardphysicalHistoryAssessmentDays or Weekdays, carry the last price forward
revisionHistory, forecastTypephysicalHistoryPrevious revisions, F24M forecast
fieldsphysical modesOptional extra fields such as pricingRationale
targetCurrency, targetUnitOfMeasurephysical prices and historyConversion targets such as USD and Tonne
referenceTypesreferencesCurrency, UnitOfMeasure, PriceCalculationType, Incoterm, Commodity, Source
marketFieldsmarket prices and historyFields such as bid, mid, ask
startTime, interval, countmarketHistoryStart time, a days:hours:minutes:seconds span or a count
maxResultsallRow ceiling for the run (default 100)
requestsPerMinuteallPacing, default 60
serviceName, apiKeyallYour Fastmarkets service name and service key (or an access token in apiKey)

An input set for a mode that does not take it is left off with a warning, never sent.

Example: monthly averages for two aluminium instruments in 2026, converted to euros.

{
"mode": "physicalHistory",
"symbols": ["MB-AL-0012", "MB-AL-0003"],
"fromDate": "2026-01-01",
"toDate": "2026-09-30",
"priceCalculationType": "MonthlyAverage",
"targetCurrency": "EUR",
"fields": ["pricingRationale", "midChangeSincePrevious"],
"maxResults": 200
}

Example output

An illustrative physical price row, shaped like the documented Prices response (values are an example). The full price is kept under record.

{
"mode": "physicalPrices",
"modeLabel": "Physical prices",
"recordType": "price",
"input": "MB-AL-0012",
"found": true,
"symbol": "MB-AL-0012",
"date": "2026-10-20",
"assessmentDate": "2026-10-20T12:00:00+00:00",
"priceCalculationType": "None",
"low": 38.0,
"mid": 38.5,
"high": 39.0,
"midChangeSincePrevious": -1.2,
"midChangeSincePreviousProportion": -0.0302,
"revision": 0,
"preliminaryPrice": false,
"appraisalPrice": false,
"assessmentPeriod": "14-20 Oct 2026",
"pricingRationale": "Scrap grades continue to move up.",
"note": null,
"record": { "symbol": "MB-AL-0012", "date": "2026-10-20", "low": 38.0, "mid": 38.5, "high": 39.0 }
}

FAQ

What is the Fastmarkets Physical Prices API?

Fastmarkets is a price reporting agency for metals, battery raw materials, agriculture and forest products, publishing assessments under brands such as Metal Bulletin, American Metal Market, Industrial Minerals and RISI. The Physical Prices API serves those assessments, their history, forecasts and instrument metadata to subscribers.

What is the difference between the Physical Prices API and the Market Data API?

The Physical Prices API carries Fastmarkets' own assessed prices (low, mid, high and list) for physical commodities, with MB style symbols such as MB-AL-0012. The Market Data API carries exchange and market instruments, such as LME copper cash official, with bid, mid and ask fields and timestamps.

Do I need my own Fastmarkets subscription?

Yes. This is a bring-your-own-key actor: it calls Fastmarkets with your service name and key, under your subscription and its terms. You only see instruments your subscription covers; others come back as free rows marked Forbidden or NotFound.

How do I find the right symbols?

Run Physical instruments or Market data instruments with no symbols to list every instrument your credentials can see, with descriptions, commodities, locations and units. Symbols also appear on the methodology and price pages of the Fastmarkets platform.

Can I get monthly or weekly averages?

Yes. Set the price calculation type to WeeklyAverage, MonthlyAverage, QuarterlyAverage, YearlyAverage or WeightedAverageOfTrades where the instrument supports it, and use the average to date setting for periods still in progress.

Can I get lithium, cobalt or nickel price forecasts?

Physical price history with forecast type F24M returns Fastmarkets' 24 month forecast points as rows with recordType forecast, where your subscription includes forecasts.

What do I pay?

Pay per result: 0.01 USD per price or forecast point, 0.006 USD per instrument and 0.005 USD per reference value. Unknown or unlicensed symbols, empty ranges and refused requests are never charged. Your Fastmarkets subscription is billed separately by Fastmarkets.

Pricing

EventPriceCharged for
price-record0.01 USDEach physical price, historical price, forecast point or market data price
instrument-record0.006 USDEach physical or market data instrument
reference-record0.005 USDEach reference value

Keyword map

commodity price API, metal prices API, lithium price API, cobalt price API, battery raw materials prices, steel price data, aluminium scrap prices, nickel price history, pulp and paper prices, lumber price data, agriculture commodity prices, price assessment history, commodity price forecasts, Fastmarkets API, Metal Bulletin prices, LME copper prices.

Terms and data use

Fastmarkets data is licensed under your agreement with Fastmarkets (the Fastmarkets Standard Terms plus your order form). The Standard Terms license the data for your internal business use by your Authorised Users, and a contractor working for you counts as an Authorised User (1(c), 3(a)). They forbid redistributing the data to third parties (3(b)), using it to build a competing product, and using it with artificial intelligence tools or models without Fastmarkets' prior consent (1(g), 3(c)), and require you to delete it when your subscription ends (7(c)). The terms set no limit on how long you keep data during your subscription. Run this actor with your own credentials, keep the results inside your organisation, do not share or resell them, do not load them into AI tools or models unless Fastmarkets has agreed, and delete the dataset when your subscription ends. This actor is not affiliated with or endorsed by Fastmarkets.