Currency & Metals Monitor — FX, Gold, Silver & Price Changes avatar

Currency & Metals Monitor — FX, Gold, Silver & Price Changes

Pricing

from $1.00 / 1,000 useful quote delivereds

Go to Apify Store
Currency & Metals Monitor — FX, Gold, Silver & Price Changes

Currency & Metals Monitor — FX, Gold, Silver & Price Changes

Get daily ECB currency reference rates and indicative gold/silver prices. Track a watchlist across runs, compare changes and detect threshold crossings. JSON/CSV, source dates and freshness diagnostics. No source API key.

Pricing

from $1.00 / 1,000 useful quote delivereds

Rating

0.0

(0)

Developer

Apivault Labs

Apivault Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

24 days ago

Last modified

Categories

Features

Limited permissions

Share

Currency & Metals Monitor — FX and Metal Price Changes

Collect source-labelled currency and metal observations, export JSON/CSV, or compare a persistent watchlist across runs. The Actor covers 22 currencies and 32 material instruments, including different physical forms of the same element. It does not represent 32 different elemental metals or a uniform real-time feed.

Quick start

The default reference source uses daily ECB FX and indicative precious-metal prices. Explicitly clear unwanted lists: omitted pairs and metals retain their defaults.

{"mode":"latest","pairs":["EUR/USD","GBP/USD"],"metals":["XAU","XAG"],"maxResults":4,"maxCostUsd":0.004}

The underlying ECB reference data is available free of charge from the European Central Bank. Actor fees pay for collection, calculations, monitoring and delivery. Each ECB FX row retains sourceUrl, sourceDataNotice and calculationNotice; calculated crosses are explicitly labelled.

Four useful rows cost $0.004 in result fees, plus Apify resource usage. Errors and unchanged monitor observations are not paid result rows. Prices can fail freshness/source checks, so requested count is not a promise of delivered count. Open SUMMARY and ERRORS in the run's key-value store for diagnostics.

For metals only, clear pairs. For daily industrial/strategic references, also clear metals and use referenceMetals:

{"pairs":[],"metals":[],"referenceMetals":["CU","GA","W_POWDER","CO_METAL"],"maxCostUsd":0.004}

This example intentionally mixes currencies and units. Always read each row's currency, unit, priceType, materialForm/grade and source date; do not sum or compare those prices as interchangeable values.

Sources, timing and units

Input groupSource / price basisObservation timingUnits
pairs, source referenceECB reference feed daily reference; crosses derived from same-date EUR ratesDaily reference date; no fabricated publication timeQuote currency per base currency
metals, source referenceIndicative metals feed indicative spotProvider refresh about every 30 seconds; not a verified exchange-trade timestampUSD/troy ounce or derived USD/gram
CU, AL, NI, ZN, SN, PBPublished industrial cash settlement, not the 3-month columnDated daily referenceUSD/metric tonne
RH, IR, RUProcessed/fabricated sales reference, not spotDate printed with each materialEUR/gram
Technology metals and oxides belowPackaged private-investor referencePrinted daily source dateUSD/kg of the stated material
Tungsten/cobalt forms belowPublished China reference aggregationEach material's source-detail datesNative CNY/kg, CNY/metric tonne or CNY/mtu WO3
pairs/metals, source brokerSelected broker bid/ask and calculated midpoint; not exchange trades or executable offersBroker observation timestamp, bounded ageQuote/base or USD/troy ounce/derived gram

No external market-data API key is required. An Apify token is needed for authenticated Apify API calls. Prices are informational; independent accuracy of underlying metal prices has not been established.

Currency coverage

EUR USD GBP CHF JPY CAD AUD NZD CNY PLN CZK SEK NOK DKK HUF RON SGD HKD INR BRL MXN ZAR

Use BASE/QUOTE: USD/JPY means JPY per one USD. Different codes permit 462 calculated directed pairs, subject to source availability; these are not 462 independent market quotes. Reference crosses require EUR rates with the same date:

BASE/QUOTE = EUR→QUOTE ÷ EUR→BASE

A missing rate or inconsistent date produces diagnostics. The combined unique watchlist across pairs, metals and referenceMetals is capped at 50; every instrument is deduplicated within its list. Ordering and result/fee limits can defer later instruments.

Precious metals: metals

CodeMetalUnits
XAUGoldUSD/troy ounce or USD/gram
XAGSilverUSD/troy ounce or USD/gram
XPTPlatinumUSD/troy ounce or USD/gram
XPDPalladiumUSD/troy ounce or USD/gram

For reference precious metals, providerFetchedAt is the provider’s refresh time. sourceDate and sourceObservationAt are null because the actual market observation time is unknown. freshness: "provider_fetch_timestamp" and ageSeconds describe provider-cache age, not market-trade age. The Actor rechecks this age after collecting the watchlist, before preparing result delivery. A fresh provider cache does not prove that the underlying market price is fresh.

Existing monitor keys and event IDs retain their identity: observationKey continues to use the same normalized provider timestamp. Historical rows are not rewritten. Consumers that used sourceObservationAt for indicative metals must read providerFetchedAt instead and treat market observation time as unknown.

USD/gram = USD/troy ounce ÷ 31.1034768. Instrument names remain XAU/USD etc. after conversion. metalUnit applies only to this list, including the Broker bid/ask/midpoint conversion. Daily referenceMetals keep their fixed native units.

Daily materials: referenceMetals

Code(s)Material / basisCurrency and fixed unit
CU, AL, NI, ZN, SN, PBCopper, aluminium, nickel, zinc, tin, lead; cash settlement referenceUSD/metric tonne
RH, IR, RURhodium, iridium, ruthenium; processed sales referenceEUR/gram

Technology metals and oxides

Per-kg values refer to the stated packaged material, not the total price of the package. The Actor checks price × reference lot against the separate printed package total. Exact purity and oxide stoichiometry are not specified in the source price table: purity is null and grade states that limitation. No elemental-content conversion is invented.

CodeMaterialReference package
SBAntimony25 kg (barrel)
BIBismuth25 kg (barrel)
GAGallium10 kg (boxes)
GEGermanium2 kg (metal bar)
HFHafnium5 kg (metal bar)
INIndium20 kg (metal bar)
RERhenium10 kg (bucket)
TETellurium25 kg (barrel)
DY_OXIDEDysprosium Oxide25 kg (oxide drums)
ND_OXIDENeodymium Oxide25 kg (oxide drums)
PR_OXIDEPraseodymium Oxide25 kg (oxide drums)
TB_OXIDETerbium Oxide5 kg (oxide drums)

The four _OXIDE instruments use assetType: "metal_compound". USD/kg of an oxide is not USD/kg of the pure element it contains. Metadata adds materialName, materialForm, packaging, referenceLotKg, purity, grade and priceBasis.

Tungsten and cobalt forms

The Actor keeps CNY and never uses the page's converted USD column. price is the published consensus, checked within the published range; it is not a newly recalculated median. rangeLow/rangeHigh are Decimal strings in the same unit; sourceCount is the count attributed by the publisher.

CodeMaterial / source specificationFixed native unit
W_POWDERTungsten powder, 99.9%CNY/kg
WC_POWDERTungsten carbide powder, mediumCNY/kg
W_APTAmmonium paratungstate (APT), 88.5% WO3CNY/t
W_WOLFRAMITEWolframite concentrate, 65% WO3CNY/mtu
W_SCHEELITEScheelite concentrate, 65% WO3CNY/mtu
CO_POWDERCobalt powder, -200/-300 mesh, 99.8%CNY/kg
CO_METALCobalt metal, 99.8%CNY/t

One mtu_WO3 means 10 kg of contained WO3, not pure tungsten or a tonne of concentrate. APT/carbide are metal_compound; concentrates are mineral_concentrate. grade, materialForm and unitDefinition preserve the source specification without interpreting it as elemental purity. Tax basis is unspecified.

The source-detail dates for a material must agree. The Actor rejects mixed dates rather than inheriting a newer page/session date. Prices are an aggregation of published material assessments, not independent verification of those upstream observations. Conditions such as region, material form, purity, lot, tax and delivery terms can make other sources' prices incomparable.

Missing powder observations

If the current China reference page omits W_POWDER or WC_POWDER, the Actor can use the newest usable dated session from the same publisher, within maxReferenceMetalAgeDays. These rows carry sourceSnapshotType: "archived_session", sourceSessionDate, fallbackReason: "material_missing_from_current_session", and the original sourceDate/ageDays. They are last available daily references, not new or live prices. Inspect their dates before use.

The fallback checks the dated assessment, stated purity/grade, CNY/kg unit, range and single-source attribution. A grade/unit conflict or ambiguous current row is rejected instead of bypassed. If no qualifying session exists in the bounded recent-session search, the instrument remains unavailable and creates no paid row. The age limit is never increased automatically. A tighter limit can therefore return fewer instruments.

Daily date policy

Daily rows have sourceDate, observationKey set to the printed date, sourceObservationAt: null, freshness: "source_date" and calendar-day ageDays. maxReferenceMetalAgeDays is 1–10, default 5. Missing/duplicate materials, changed unit/grade/package/basis, stale/future dates and failed sources become diagnostics. Valid observations from unaffected materials may still be delivered. A changed price under the same source date requires review, not a fabricated intraday update.

Optional broker snapshots: quoteSource: "broker"

Use a new monitor key when switching source. The supported FX list is EUR/USD, GBP/USD, USD/JPY, AUD/USD, USD/CAD, USD/CHF, NZD/USD, EUR/GBP, EUR/JPY, GBP/JPY, plus XAU/USD, XAG/USD, XPT/USD, XPD/USD for precious metals. Maximum eight unique instruments per live run, at most three concurrent requests. This whitelist is not a claim that every instrument is independently verified against exchange trades.

Rows contain bid, ask and the calculated midpoint, with an observation timestamp. Quotes are indicative and market state remains unknown. There is no fallback to daily reference rates. Daily material lists cannot be combined with this quote mode.

Persistent monitoring and thresholds

{"mode":"monitor","monitorKey":"my-material-watch","pairs":[],"metals":[],"referenceMetals":["CU","W_POWDER"],"thresholds":[{"instrument":"W_POWDER/CNY","above":800,"changePercent":1}],"maxCostUsd":0.002}

Run the same configuration and monitor key again to compare with its last accepted observations in your account. The first run returns paid baseline rows: previousPrice=null, changePercent=null, no triggers. Later runs return changed prices. An unchanged price produces no paid row, even if the provider timestamp advances. Such runs still fetch sources and consume resources.

latest mode is stateless: repeating it can return and charge the same quotes again. monitor suppresses unchanged prices within that monitor's state. Stable eventId values help downstream deduplication; they do not make repeated snapshot runs free.

RuleTrigger condition
abovePrevious price ≤ threshold and current price > threshold
belowPrevious price ≥ threshold and current price < threshold
changePercentAbsolute movement from the previous accepted observation ≥ the configured percentage

changePercent = (currentPrice / previousPrice − 1) × 100. A decrease is negative. This compares observations, not a guaranteed previous-day close. A baseline already beyond a threshold does not invent a crossing. A changed price is delivered even without a trigger. triggers can contain crossed_above, crossed_below and change_percent. One rule object per instrument can contain all three conditions; values must be positive. Metal thresholds follow the selected unit.

Choose a new monitor key when changing the watchlist, its order, units, thresholds or freshness policy. Those settings are bound to saved state. Users and Actors have separate state. An unavailable or stale source preserves the affected instrument's previous baseline. A conflicting run stops with MONITOR_BUSY. An unreleased lock expires after 10 minutes; inspect an interrupted delivery before recovery.

Threshold instrument names follow native currencies: CU/USD, RH/EUR, GA/USD, W_POWDER/CNY etc. Threshold values follow the row's unit. Changing a watchlist, source, unit, threshold or age policy requires a new monitor key. The Actor creates no schedules, alerts or trades. Monitor history starts with your own runs; preserve their Datasets for a time series.

Input reference

InputDefaultEffect
modelatestlatest snapshot or persistent monitor
pairsEUR/USD, GBP/USDCurrency list; [] disables
metalsXAU, XAGPrecious-metal list; [] disables
referenceMetals[]Daily material codes above, reference source only
metalUnittroy_ouncetroy_ounce or gram, precious-metal list only
quoteSourcereferencereference or broker
monitorKeydefault1–64 letters, digits, underscore or hyphen
thresholds[]Up to 50 rules, one per requested instrument
maxResults50Integer 1–50; maximum delivered rows
maxCostUsd0.05Number 0–10; result-fee cap, not infrastructure cap
maxMetalAgeMinutes30Integer 1–1440; Indicative metals feed provider-refresh age
maxFxAgeDays5Integer 1–10; FX reference calendar-day age
maxReferenceMetalAgeDays5Integer 1–10; daily material age
maxQuoteAgeSeconds10Integer 1–60; Broker quote age
recoverPendingfalseExplicit receipt-based interrupted-delivery recovery

At least one instrument is required. Unsupported fields/codes and invalid rules fail validation. Zero maxCostUsd returns no result rows and avoids source collection; Apify resources can still be charged. The cap combines with platform limits and the Actor tariff; it covers additional quote fees only. Sources may provide less than the request, including partial results.

Output and diagnostics

FieldsMeaning
instrument, base, currencyInstrument identity and actual price currency
assetTypefx, metal, metal_compound or mineral_concentrate
price, unitNumeric price in that instrument's unit; not a common cross-material unit
sourceUrl, sourceDataNotice, calculationNoticeECB link, free-data notice and explicit cross-rate calculation statement (ECB rows)
source, priceTypeNamed origin and reference/spot/broker/packaged price basis
sourceDate, sourceObservationAtMarket/source date and observation time when known; both null for indicative precious metals because the provider supplies only its fetch time
providerFetchedAtIndicative precious metals only: time the provider fetched the price from its upstream; not a trade or exchange observation timestamp
observationKey, fetchedAtDeduplication key (provider fetch time for indicative metals) and separate Actor fetch time
freshness, ageDays / ageSecondsActual freshness basis and measured age
derivedCross, gram or bid/ask midpoint calculation where applicable
materialName, materialForm, grade, purity, priceBasisMaterial metadata when the source provides it; unknowns explicit
packaging, referenceLotKgPackaged references only
rangeLow, rangeHigh, sourceCount, unitDefinitionTungsten/cobalt group range, attribution count and unit basis
sourceSnapshotType, sourceSessionDate, fallbackReasonPresent for powders recovered from a dated session; preserve the original assessment date and explain why it was used
bid, ask, platform, spreadProfile, derivation, marketStateOptional broker-source fields
previousPrice, changePercentPrevious accepted observation and movement, or null
eventType, triggers, eventIdsnapshot/baseline/changed, threshold events and stable ID

Prices/change percentages are numbers. Range bounds remain Decimal strings. Inapplicable fields can be absent; an unknown daily observation time is null. The default Dataset table shows summary fields; JSON/CSV/API rows retain the additional material metadata. SUMMARY/ERRORS are separate key-value records, not billed quote rows. Complete, partial, unchanged, budget-limited and failed outcomes must be interpreted with those records, not just the run's status.

A useful delivered Dataset row costs $0.001; there is no startup event fee. First monitor baselines and changed prices are paid. Errors, suppressed unchanged prices and rejected observations do not become result events. Snapshot repeats can be paid again. Apify compute/storage and schedule frequency add separate costs; fee limits do not guarantee a useful row from every source.

Interrupted runs and limitations

The monitor uses a queue lease and pending delivery receipt. It verifies Dataset readback before advancing delivered observations. Billing, Dataset writes and monitor state are not one transaction. After interruption, preserve state/Datasets and inspect diagnostics. recoverPending: true verifies the saved delivery-stopped receipt; it does not blindly resend. A hard kill without a valid receipt, active prior work or ambiguous delivery requires operator review.

The Actor has no historical date-range, exchange volume, OHLC, execution or automatic notifications. It does not create source subscriptions, schedules or messaging integrations. Molybdenum, titanium and magnesium are not supported. Source changes, rate limits, regional blocks, stale observations and same-date revisions may prevent output.