ExchangeRateService
Live Iraqi Dinar rates over gRPC and gRPC-Web, and a key-gated JSON API. Contract: exchange.v1.ExchangeRateService.
Get an API key — 10 reads a day free Integration guide
Endpoints
- native gRPC
fx.iqdrates.com:443· TLS ·/exchange.v1.ExchangeRateService/*- gRPC-Web
https://fx.iqdrates.com/rpc/exchange.v1.ExchangeRateService/*- health
grpc.health.v1.Health/Check→SERVING- reflection
- enabled —
grpcurlworks without the .proto file - public board
- iqdrates.com · API guide · console
Query
grpcurl -d '{"baseCurrency":"USD","quoteCurrency":"IQD","geo":{"adm0":"IQ","adm2":"IQ-EB"}}' \
fx.iqdrates.com:443 exchange.v1.ExchangeRateService/GetEffectiveRate
Decimals cross the wire as strings; parse them with a decimal type, never a float.
Rest · frankfurter contract
- rate
/v2/rate/USD/IQD+?expand=providersfor attribution- legs
/v2/rates?base=USD"es=IQD,EUR,TRY- latest (v1)
/v1/latest?from=USD&to=IQD&amount=100- catalogue
/v2/currencies·/currencies- this provider
/v2/providers— keyXCHANGE, pivotIQD, cadence intraday
curl 'https://fx.iqdrates.com/v2/rate/USD/IQD?scope=ADM2:IQG11&expand=providers' \
-H "Authorization: Bearer iqx_YOUR_KEY"
{"base":"USD","quote":"IQD","rate":1670,"date":"2026-11-29",
"providers":[{"key":"XCHANGE","rate":1670,"bid":1665,"ask":1670}]}
This hostname is metered. Every rate read needs
Authorization: Bearer iqx_… and counts against the package's daily allowance;
/v2/currencies, /v2/providers and /healthz stay free.
Machines in the same VPC read http://172.26.1.225:8081 with no key and no quota.
Numbers are the ones this desk deals, not a reference mid: the WhatsApp channel is
resolved first for ?scope= (default ADM2:IQG08, Baghdad), then the
reference tier, then the same priced path the gRPC contract uses. Pairs outside the
catalogue answer 404; history answers 501.
Writes
UpsertLocalRate, IngestLocalRate, UpsertGeoRule and
CreateRateSnapshot are limited to loopback and private networks on this endpoint.
Ingestion workers should keep using 52.28.245.40:50051 or an SSH tunnel until
API keys land.