Giá Vàng - Tỷ Giá Ngoại Tệ API integration (SJC gold & VCB FX)

Vietnam-grade gold and foreign-exchange data, packaged as OpenData/OpenFinance APIs with runnable source delivery

From $300 · Pay-per-call available
OpenData · OpenFinance · Vietnam gold market · FX feeds

Connect Giá Vàng - Tỷ Giá Ngoại Tệ data to your trading, treasury, or accounting stack

The app aggregates Vietnam's most-quoted financial reference points: SJC gold bullion, DOJI and PNJ jewellery gold, Vietcombank and BIDV foreign-exchange rates, and historical charts running from one week to one year. We turn that public-source mix into a single, well-typed API your services can rely on.

Gold price feed — Domestic SJC, DOJI, PNJ, Bảo Tín Minh Châu and Phú Quý buy/sell rates, plus world spot from Forex/OANDA mirrors used by the app's Pro display mode.
FX rate feed — Vietcombank and BIDV currency boards (USD, EUR, JPY, KRW, AUD, CNY, SGD, THB) with cash, transfer and sell columns, refreshed on the same 2-minute cadence as the app.
Historical chart API — 1W / 1M / 3M / 1Y series for any tracked instrument, returned as compact OHLC JSON ready for D3, ECharts or Recharts.
Account & comments mirror — Optional login, like/dislike and comment APIs that mirror the app's social layer for use in market-sentiment dashboards.

What we deliver

Deliverables checklist

  • OpenAPI 3.1 specification for gold, FX, history, and account endpoints
  • Protocol report covering app's HTTP traffic, caching, and signature scheme
  • Python (FastAPI) and Node.js (NestJS) reference source — runnable on a single VM
  • Postman collection with sample SJC/DOJI/PNJ and VCB payloads
  • Compliance brief mapped to State Bank of Vietnam Decree 24 / 232/2025/ND-CP guidance

Pricing & engagement

Two engagement models: source-code delivery from $300 with payment after acceptance, or pay-per-call access to our hosted endpoints with zero upfront cost. NDAs supported. Most teams start on the source-code model and graduate to hosted billing once their integration is stable.

Data available for integration

The table below maps each data type to its source inside the Giá Vàng - Tỷ Giá Ngoại Tệ app, the granularity at which we can expose it, and a typical downstream use.

Data typeSource (in-app feature)GranularityTypical use
SJC gold bullion buy/sellHome → SJC tab2-minute snapshots, branch-taggedTreasury hedging, jewellery retail pricing
DOJI & PNJ jewellery goldHome → other vendor tabs2–5 minute snapshots, HCM/HN splitRetail margin analytics, e-commerce price stamping
Vietcombank FX boardFX screen → VCB tabPer-currency cash / transfer / sellRemittance fee calculation, invoice FX-locking
BIDV & commercial bank FXFX screen → bank selectorPer-currency, per-bank rowsBest-rate routing, cross-bank arbitrage detection
Historical OHLC seriesChart screen (1W/1M/3M/1Y)Per instrument, daily resolutionRisk back-testing, ML feature stores
Market news headlinesNews tabArticle URL + source + timestampNLP sentiment pipelines, alerting
Comments & reactionsComment thread, like/dislikePer-instrument thread, paginatedCrowd-sentiment indices, community KPIs

Typical integration scenarios

1. Jewellery e-commerce price stamp

A Vietnamese jewellery retailer wants every product detail page to quote a live SJC reference plus a vendor-specific markup. Our /v1/gold/spot?vendor=sjc&branch=hcm endpoint returns the latest buy/sell pair; the storefront caches for 60 seconds and falls back to the previous tick on upstream failure.

2. Treasury FX-lock workflow

An import-export firm books USD-VND invoices and wants to pin Vietcombank's transfer rate at the moment of order acceptance. The integration calls /v1/fx/vcb?currency=USD, stores the buy_transfer value with the order, and emits an OpenFinance-style Statement.Lock event that the ERP picks up.

3. Risk dashboard with chart back-fill

A fintech analytics team needs 1-year SJC and world-gold spreads. The historical endpoint /v1/gold/history?instrument=sjc&range=1y returns daily OHLC; combined with FX history this powers a Grafana panel that plots Vietnam premium versus the London PM fix.

4. Compliance audit log

Following the SBV's August 2025 reform of bullion licensing, a licensee must keep an immutable record of the SJC reference at the time of each transaction over 20 million VND. Our webhook fires once per material price move and writes signed records into the audit store.

5. Market-sentiment overlay

A trading-signals product overlays gold price moves with crowd commentary. The comments mirror exposes /v1/social/threads?instrument=sjc with pagination, like/dislike counts and language tags so an NLP layer can score sentiment without scraping the mobile app directly.

Technical implementation

Spot price endpoint

GET /v1/gold/spot?vendor=sjc&branch=hcm
Authorization: Bearer <ACCESS_TOKEN>
Accept: application/json

200 OK
{
  "vendor": "sjc",
  "branch": "hcm",
  "buy":  { "amount": 121500000, "unit": "VND/tael" },
  "sell": { "amount": 124000000, "unit": "VND/tael" },
  "as_of": "2026-05-03T08:14:32+07:00",
  "source_hash": "a91f…"
}

Vietcombank FX call

GET /v1/fx/vcb?currency=USD&date=2026-05-03
Authorization: Bearer <ACCESS_TOKEN>

200 OK
{
  "currency": "USD",
  "buy_cash":     25430.0,
  "buy_transfer": 25460.0,
  "sell":         25800.0,
  "as_of":        "2026-05-03T08:00:00+07:00",
  "source":       "vietcombank.com.vn/api/exchangerates"
}

Webhook on price move

POST https://your-app.example/webhook
X-Signature: sha256=…
Content-Type: application/json

{
  "event":     "gold.price.changed",
  "vendor":    "sjc",
  "delta_pct": 0.42,
  "previous":  { "buy": 121000000, "sell": 123500000 },
  "current":   { "buy": 121500000, "sell": 124000000 },
  "as_of":     "2026-05-03T08:14:32+07:00"
}

# Verify HMAC, then enqueue downstream job
# Retries: 3x with 30s/2m/10m back-off

Auth & error contract

OAuth 2.0 client-credentials with 1-hour access tokens; refresh via long-lived refresh token bound to your tenant. All endpoints return RFC 7807 problem-detail bodies on error, with stable codes such as upstream_unavailable, rate_limited and stale_quote so retry policies stay deterministic.

Compliance & privacy

Vietnam-specific framework

Gold trading in Vietnam is governed by Decree 24/2012/ND-CP, recently amended by Decree 232/2025/ND-CP, which ended the state monopoly on bullion production and introduced an SBV licensing regime. We map each integration to the relevant article — for example, the 20-million-VND payment-account rule for gold transactions — and add the necessary audit logging and consent records.

Data protection

Personal data (account login, comments) is processed under Vietnam's Personal Data Protection Decree (PDPD, 13/2023/ND-CP), with optional GDPR alignment for EU consumers. We implement data minimisation, retention windows, and signed delete requests; PII never leaves the customer's region without explicit instruction.

Data flow / architecture

The reference pipeline is intentionally small: (1) source pollers fetch SJC, DOJI, PNJ, Vietcombank and BIDV pages on staggered 60–120 s schedules; (2) a normaliser hashes raw payloads, strips boilerplate, and emits canonical records into Kafka or NATS; (3) a Postgres + TimescaleDB store keeps current snapshots and historical OHLC; (4) the API gateway serves cached reads, signs webhooks on price moves, and enforces tenant rate limits. The whole stack fits on a single 2-vCPU VM for low-volume tenants and scales out horizontally per source.

Market positioning & user profile

Giá Vàng - Tỷ Giá Ngoại Tệ targets Vietnamese retail investors who watch SJC and Vietcombank as personal benchmarks — small-business owners hedging USD/VND, jewellery shop staff, and retail traders who lurk in comment threads for crowd sentiment. Distribution is overwhelmingly Android-first (Google Play) with an iOS build for premium users; the latest version 9.5 introduced a Pro display mode and a redesigned chart, signalling a tilt toward more serious retail traders. Our integration buyers tend to be jewellery retailers, fintech aggregators, treasury teams at SMEs, and a growing population of overseas Vietnamese remittance services that need authoritative VCB rates.

Screenshots

Tap any thumbnail to enlarge. These screens show the SJC gold board, Vietcombank FX list, historical charts, and the social/comment layer — each of which maps to one of the API surfaces above.

Gia Vang screenshot 1 Gia Vang screenshot 2 Gia Vang screenshot 3 Gia Vang screenshot 4 Gia Vang screenshot 5 Gia Vang screenshot 6 Gia Vang screenshot 7 Gia Vang screenshot 8 Gia Vang screenshot 9 Gia Vang screenshot 10

Similar apps & integration landscape

Buyers of a Giá Vàng - Tỷ Giá Ngoại Tệ integration often track several adjacent apps. Each holds a slightly different slice of the Vietnam gold-and-FX dataset; unifying them is a common follow-on engagement.

  • Báo Giá Vàng - Tỷ Giá Ngoại Tệ — A separate publisher's daily-quote app. Teams that subscribe to both want a single de-duplicated stream of SJC and Vietcombank quotes.
  • Giá Vàng - Doji — DOJI's first-party app, useful for cross-checking jewellery margins against the wholesale SJC reference.
  • Xem Gia Vang Online — A lightweight live-prices app; integrators use it as a third-source sanity check for outlier detection.
  • Gold Price Live (Goldprice.org) — Provides world spot in many currencies, often paired with our Vietnam feed to compute the local premium.
  • BeeGold — Adds price-alerting; commonly mirrored as a webhook layer in B2B portfolios.
  • Đầu Tư Vàng (Gold Investment) — Vietnam-focused investment tracker with portfolio P&L; teams use it to validate our historical OHLC.
  • GiaVang.Net — A long-running web aggregator; useful as a structured-HTML fallback when mobile endpoints rotate.
  • Mitrade — Brings technical-indicator overlays; integrators feed our SJC and FX data into Mitrade-style analytics dashboards.
  • FiinGroup price-data feed — A licensed institutional feed for Vietnam capital markets; pairs naturally with our retail-oriented SJC/VCB pipe for hybrid workloads.
  • MetalpriceAPI / Metals-API — Global metals references that round out a Vietnam-only feed for cross-border accounting and reconciliation.

About OpenFinance Lab

We are an independent studio focused on protocol analysis and OpenData/OpenFinance integrations for mobile financial apps. Our engineers come from banks, payment processors, and Asia-Pacific fintech teams — we know Vietnam's gold and FX rails as well as PSD2 and PDPD, and we ship end-to-end APIs under real security and compliance constraints.

  • Vietnam fintech: SJC/DOJI/PNJ gold, VCB/BIDV FX, e-wallet protocol analysis
  • Pan-APAC: UPI (India), PromptPay (Thailand), PayNow (Singapore), GCash (Philippines)
  • Custom Python / Node.js / Go SDKs and test harnesses
  • Full pipeline: protocol analysis → build → validation → compliance brief
  • Source-code delivery from $300; pay after acceptance
  • Pay-per-call hosted API — no upfront fee, ideal for usage-based teams

Contact

For quotes or to submit your target app and requirements, open our contact page:

Contact page

Engagement workflow

  1. Scope confirmation: which feeds (SJC, DOJI, PNJ, VCB, BIDV), which history depth, which downstream system.
  2. Protocol analysis and source mapping (2–4 business days)
  3. Build and internal validation against live upstream sources (3–6 business days)
  4. Docs, samples, and Postman collection (1–2 business days)
  5. Typical first delivery: 5–12 business days; high-frequency or institutional setups may extend timelines.

FAQ

Which gold and FX sources can you wire in?

SJC, DOJI, PNJ, Bao Tin Minh Chau and Phu Quy for domestic gold; Vietcombank, BIDV and other commercial banks for FX; plus world spot via OANDA/Forex mirrors.

How fresh is the data?

The mobile app refreshes every 2 minutes. Our pipeline polls each source on a staggered 60–120 second cadence and emits webhooks only when buy/sell actually moves.

Is scraping SJC and Vietcombank pages compliant?

Vietcombank exposes a public exchange-rate endpoint and SJC publishes daily reference rates publicly, so retrieving and reformatting that data is generally permitted; we add caching and a licensed-feed option for institutional use.

How long does delivery take and what do I get?

5–12 business days for OpenAPI spec, Python and Node.js source, normalisation worker, history endpoints (1W/1M/3M/1Y) and a Postman collection. Pay-per-call hosting is available with no upfront fee.
📱 Original app overview (appendix)

Giá Vàng - Tỷ Giá Ngoại Tệ (package com.phuocqb.giavang) is a long-running Vietnamese gold-and-foreign-exchange tracker on Android and iOS, sourcing data from SJC, Vietcombank and other major vendors with continuous 2-minute updates and offline viewing.

  • Continuous data updates (every 2 minutes), offline viewing without Wi-Fi or 3G/4G
  • Automatic local save of latest gold prices and nearest FX rates
  • Charts of gold price by 1 week / 1 month / 3 months / 1 year
  • Reads gold market news and FX market news from mainstream Vietnamese newspapers
  • Login, comment, like/dislike on gold and market discussions with other investors
  • View live fluctuations of gold prices and FX rates
  • Simple, contrast-optimised interface designed for at-a-glance reading
  • Recent v9.5 added a Professional (Pro) display mode and redesigned chart UI

Last updated: 2026-05-03