Data Sources

Data sources & methodology

See where Rateya's numbers come from and how currency and gold reference values are produced.

Currency data

Rateya receives a USD-based currency table from ExchangeRate.fun. The converter uses those returned values to derive cross-rates between currencies.

ExchangeRate.fun
Currency

Current upstream source for the reference exchange-rate table.

Open source →

How the calculation works

1
Rateya requests the exchange-rate table with USD as the base currency.
2
The converter reads the source-currency and target-currency values from that returned table.
3
The cross-rate is calculated using the target rate divided by the source rate.
4
The displayed amount is a reference calculation and may differ from a bank, exchange office, card issuer, or transfer provider quote.
These figures are reference data, not guaranteed transaction quotes. Values can differ because sources may update at different times and providers can apply their own spreads, fees, and local pricing.

Freshness & caching

The site requests fresh data when the page loads. The server-side integration may also cache upstream responses briefly to reduce unnecessary requests to external providers.

Currency feedChecking latest update…
Gold feedChecking latest update…

/api/rates.php
/api/gold.php

API diagnostics →
Important limitation
These figures are reference data, not guaranteed transaction quotes. Values can differ because sources may update at different times and providers can apply their own spreads, fees, and local pricing.

USD/SDG reference from Binance P2P

When the public market endpoint is available, Rateya requests multiple USDT/SDG advertisements on each available side instead of relying on the first listing. It avoids duplicate advertisement IDs, screens out statistical outliers when there are enough observations, calculates each side’s median, and averages the representative values when both sides are available.

USDT is designed to track USD but may trade at a premium or discount. This value is a P2P market reference, not a guaranteed quote for physical dollars, bank transfers, or every payment method. When P2P data is unavailable, the general currency feed is used as a fallback; the source mode is returned by the API.

Read the full P2P methodology →