世界の主要通貨の参考為替レートデータ提供元の最新公表日に更新

HUILVTONG OPEN PLATFORM

Bring global exchange rates into your product

API v2, official server-side SDKs, signed webhooks and four keyless embed widgets.

REST API v2

Stable, traceable and efficient

Rates & conversionrates.read

GET /api/v2/rates
GET /api/v2/convert

Currency catalogcurrencies.read

GET /api/v2/currencies
Search and cursor pagination.

Historical serieshistory.read

GET /api/v2/history
Up to ten years per query.

Open datasetsdata.read

GET /api/v2/datasets
Filtered, cursor-based data access.

Request exampleETag and request IDs are returned automatically
curl "https://hl.feihaiwangluo.com/api/v2/convert?amount=100&from=USD&to=CNY" \
    -H "X-API-Key: hvt_live_your_key"

Create a least-privilege key in Admin → Open API. Keep it in a server-side secret store. Existing API v1 integrations continue to work.

OFFICIAL SDK

Start with PHP or JavaScript

PHPNever expose the key in browser code
$client = new Huilvtong\HuilvtongClient(
    'https://hl.feihaiwangluo.com',
    getenv('HUILVTONG_API_KEY')
);
$result = $client->convert(100, 'USD', 'CNY');
SIGNED WEBHOOKS

Receive updates without polling

rates.updated

A new exchange-rate batch is available.

data.source.failed

A provider failed and cache fallback may be active.

webhook.test

Verify signing and delivery from the admin area.

Deliveries are HMAC-SHA256 signed, pinned to a public HTTPS address and retried with exponential backoff. Configure endpoints in the admin area.

KEYLESS EMBED WIDGETS

Build a safe embeddable widget

No API key required

The loader creates a sandboxed iframe-sized component; it does not expose your API key.