Currency & Metals Monitor — FX, Gold, Silver & Price Changes
Pricing
from $1.00 / 1,000 useful quote delivereds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
24 days ago
Last modified
Categories
Features
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 group | Source / price basis | Observation timing | Units |
|---|---|---|---|
pairs, source reference | ECB reference feed daily reference; crosses derived from same-date EUR rates | Daily reference date; no fabricated publication time | Quote currency per base currency |
metals, source reference | Indicative metals feed indicative spot | Provider refresh about every 30 seconds; not a verified exchange-trade timestamp | USD/troy ounce or derived USD/gram |
| CU, AL, NI, ZN, SN, PB | Published industrial cash settlement, not the 3-month column | Dated daily reference | USD/metric tonne |
| RH, IR, RU | Processed/fabricated sales reference, not spot | Date printed with each material | EUR/gram |
| Technology metals and oxides below | Packaged private-investor reference | Printed daily source date | USD/kg of the stated material |
| Tungsten/cobalt forms below | Published China reference aggregation | Each material's source-detail dates | Native CNY/kg, CNY/metric tonne or CNY/mtu WO3 |
pairs/metals, source broker | Selected broker bid/ask and calculated midpoint; not exchange trades or executable offers | Broker observation timestamp, bounded age | Quote/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
| Code | Metal | Units |
|---|---|---|
| XAU | Gold | USD/troy ounce or USD/gram |
| XAG | Silver | USD/troy ounce or USD/gram |
| XPT | Platinum | USD/troy ounce or USD/gram |
| XPD | Palladium | USD/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 / basis | Currency and fixed unit |
|---|---|---|
| CU, AL, NI, ZN, SN, PB | Copper, aluminium, nickel, zinc, tin, lead; cash settlement reference | USD/metric tonne |
| RH, IR, RU | Rhodium, iridium, ruthenium; processed sales reference | EUR/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.
| Code | Material | Reference package |
|---|---|---|
| SB | Antimony | 25 kg (barrel) |
| BI | Bismuth | 25 kg (barrel) |
| GA | Gallium | 10 kg (boxes) |
| GE | Germanium | 2 kg (metal bar) |
| HF | Hafnium | 5 kg (metal bar) |
| IN | Indium | 20 kg (metal bar) |
| RE | Rhenium | 10 kg (bucket) |
| TE | Tellurium | 25 kg (barrel) |
| DY_OXIDE | Dysprosium Oxide | 25 kg (oxide drums) |
| ND_OXIDE | Neodymium Oxide | 25 kg (oxide drums) |
| PR_OXIDE | Praseodymium Oxide | 25 kg (oxide drums) |
| TB_OXIDE | Terbium Oxide | 5 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.
| Code | Material / source specification | Fixed native unit |
|---|---|---|
| W_POWDER | Tungsten powder, 99.9% | CNY/kg |
| WC_POWDER | Tungsten carbide powder, medium | CNY/kg |
| W_APT | Ammonium paratungstate (APT), 88.5% WO3 | CNY/t |
| W_WOLFRAMITE | Wolframite concentrate, 65% WO3 | CNY/mtu |
| W_SCHEELITE | Scheelite concentrate, 65% WO3 | CNY/mtu |
| CO_POWDER | Cobalt powder, -200/-300 mesh, 99.8% | CNY/kg |
| CO_METAL | Cobalt 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.
| Rule | Trigger condition |
|---|---|
above | Previous price ≤ threshold and current price > threshold |
below | Previous price ≥ threshold and current price < threshold |
changePercent | Absolute 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
| Input | Default | Effect |
|---|---|---|
| mode | latest | latest snapshot or persistent monitor |
| pairs | EUR/USD, GBP/USD | Currency list; [] disables |
| metals | XAU, XAG | Precious-metal list; [] disables |
| referenceMetals | [] | Daily material codes above, reference source only |
| metalUnit | troy_ounce | troy_ounce or gram, precious-metal list only |
| quoteSource | reference | reference or broker |
| monitorKey | default | 1–64 letters, digits, underscore or hyphen |
| thresholds | [] | Up to 50 rules, one per requested instrument |
| maxResults | 50 | Integer 1–50; maximum delivered rows |
| maxCostUsd | 0.05 | Number 0–10; result-fee cap, not infrastructure cap |
| maxMetalAgeMinutes | 30 | Integer 1–1440; Indicative metals feed provider-refresh age |
| maxFxAgeDays | 5 | Integer 1–10; FX reference calendar-day age |
| maxReferenceMetalAgeDays | 5 | Integer 1–10; daily material age |
| maxQuoteAgeSeconds | 10 | Integer 1–60; Broker quote age |
| recoverPending | false | Explicit 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
| Fields | Meaning |
|---|---|
| instrument, base, currency | Instrument identity and actual price currency |
| assetType | fx, metal, metal_compound or mineral_concentrate |
| price, unit | Numeric price in that instrument's unit; not a common cross-material unit |
| sourceUrl, sourceDataNotice, calculationNotice | ECB link, free-data notice and explicit cross-rate calculation statement (ECB rows) |
| source, priceType | Named origin and reference/spot/broker/packaged price basis |
| sourceDate, sourceObservationAt | Market/source date and observation time when known; both null for indicative precious metals because the provider supplies only its fetch time |
| providerFetchedAt | Indicative precious metals only: time the provider fetched the price from its upstream; not a trade or exchange observation timestamp |
| observationKey, fetchedAt | Deduplication key (provider fetch time for indicative metals) and separate Actor fetch time |
| freshness, ageDays / ageSeconds | Actual freshness basis and measured age |
| derived | Cross, gram or bid/ask midpoint calculation where applicable |
| materialName, materialForm, grade, purity, priceBasis | Material metadata when the source provides it; unknowns explicit |
| packaging, referenceLotKg | Packaged references only |
| rangeLow, rangeHigh, sourceCount, unitDefinition | Tungsten/cobalt group range, attribution count and unit basis |
| sourceSnapshotType, sourceSessionDate, fallbackReason | Present for powders recovered from a dated session; preserve the original assessment date and explain why it was used |
| bid, ask, platform, spreadProfile, derivation, marketState | Optional broker-source fields |
| previousPrice, changePercent | Previous accepted observation and movement, or null |
| eventType, triggers, eventId | snapshot/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.