{"openapi":"3.1.0","info":{"title":"Currency Strength API","version":"1.0.0","description":"A live currency strength meter as an API — it ranks 30+ major currencies by how much each has strengthened or weakened against the whole basket over a chosen period, computed from European Central Bank reference rates. Pull the full strength ranking, one currency's strength with its rank and per-pair changes, or any pair's cross-rate and period change. The classic dashboard forex traders watch, delivered as clean JSON. Distinct from raw exchange-rate and conversion APIs — this is the derived strength analytic.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/currencystrength-api","description":"oanor gateway"}],"tags":[{"name":"Strength"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/currency":{"get":{"operationId":"get_v1_currency","tags":["Strength"],"summary":"One currency strength + per-pair changes","description":"","parameters":[{"name":"code","in":"query","required":true,"description":"3-letter currency code","schema":{"type":"string"},"example":"USD"},{"name":"period","in":"query","required":false,"description":"1d | 7d | 2w | 1m | 3m","schema":{"type":"string"},"example":"1m"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"of":30,"name":"United States Dollar","rank":2,"period":"1m","to_date":"2026-06-08","currency":"USD","strength":2.001,"from_date":"2026-05-08","vs_currencies":[{"currency":"CNY","change_pct":-0.284,"cross_rate":6.781889},{"currency":"HKD","change_pct":0.1,"cross_rate":7.835962},{"currency":"ZAR","change_pct":0.27,"cross_rate":16.463692},{"currency":"ILS","change_pct":0.403,"cross_rate":2.916811},{"currency":"MXN","change_pct":1.025,"cross_rate":17.412912},{"currency":"INR","change_pct":1.291,"cross_rate":95.708406},{"currency":"SGD","change_pct":1.532,"cross_rate":1.287262},{"currency":"CZK","change_pct":1.609,"cross_rate":20.9974},{"currency":"TRY","change_pct":1.62,"cross_rate":46.09948},{"currency":"THB","change_pct":1.684,"cross_rate":32.765165},{"currency":"HUF","change_pct":1.743,"cross_rate":308.102253},{"currency":"ISK","change_pct":1.773,"cross_rate":124.436742},{"currency":"GBP","change_pct":1.856,"cross_rate":0.748354},{"currency":"EUR","change_pct":1.915,"cross_rate":0.866551},{"currency":"DKK","change_pct":1.934,"cross_rate":6.476603},{"currency":"PHP","change_pct":1.997,"cross_rate":61.692374},{"currency":"CAD","change_pct":2.042,"cross_rate":1.393674},{"currency":"JPY","change_pct":2.042,"cross_rate":159.965338},{"currency":"PLN","change_pct":2.168,"cross_rate":3.67617},{"currency":"NZD","change_pct":2.209,"cross_rate":1.715078},{"currency":"SEK","change_pct":2.235,"cross_rate":9.42461},{"currency":"AUD","change_pct":2.241,"cross_rate":1.413432},{"currency":"CHF","change_pct":2.26,"cross_rate":0.796101},{"currency":"RON","change_pct":2.299,"cross_rate":4.543501},{"currency":"NOK","change_pct":2.81,"cross_rate":9.459705},{"currency":"MYR","change_pct":3.889,"cross_rate":4.073484},{"currency":"KRW","change_pct":4.171,"cross_rate":1527.954939},{"currency":"IDR","change_pct":4.517,"cross_rate":18150.450607},{"currency":"BRL","change_pct":4.664,"cross_rate":5.143241}]},"meta":{"timestamp":"2026-06-09T03:03:44.721Z","request_id":"be4708f9-9e7b-43b5-9e83-7a7345a38324"},"status":"ok","message":"Currency strength retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/pair":{"get":{"operationId":"get_v1_pair","tags":["Strength"],"summary":"Cross-rate and period change for a pair","description":"","parameters":[{"name":"base","in":"query","required":true,"description":"Base currency","schema":{"type":"string"},"example":"EUR"},{"name":"quote","in":"query","required":true,"description":"Quote currency","schema":{"type":"string"},"example":"USD"},{"name":"period","in":"query","required":false,"description":"1d | 7d | 2w | 1m | 3m","schema":{"type":"string"},"example":"7d"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"EUR","pair":"EURUSD","rate":1.154,"quote":"USD","period":"7d","to_date":"2026-06-08","from_date":"2026-06-01","rate_then":1.1646,"change_pct":-0.91},"meta":{"timestamp":"2026-06-09T03:03:44.899Z","request_id":"2ce8245c-ca16-4cb7-b6a7-299fe0ed0562"},"status":"ok","message":"Pair retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/strength":{"get":{"operationId":"get_v1_strength","tags":["Strength"],"summary":"Full currency strength ranking","description":"","parameters":[{"name":"period","in":"query","required":false,"description":"1d | 7d | 2w | 1m | 3m","schema":{"type":"string"},"example":"7d"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":30,"period":"7d","ranking":[{"name":"Philippine Peso","rank":1,"currency":"PHP","strength":1.251},{"name":"Hong Kong Dollar","rank":2,"currency":"HKD","strength":1.165},{"name":"United States Dollar","rank":3,"currency":"USD","strength":1.15},{"name":"Chinese Yuan","rank":4,"currency":"CNY","strength":0.891},{"name":"Japanese Yen","rank":5,"currency":"JPY","strength":0.838},{"name":"Turkish Lira","rank":6,"currency":"TRY","strength":0.684},{"name":"Mexican Peso","rank":7,"currency":"MXN","strength":0.636},{"name":"Thai Baht","rank":8,"currency":"THB","strength":0.48},{"name":"Czech Koruna","rank":9,"currency":"CZK","strength":0.429},{"name":"Romanian Leu","rank":10,"currency":"RON","strength":0.394},{"name":"Singapore Dollar","rank":11,"currency":"SGD","strength":0.38},{"name":"Indian Rupee","rank":12,"currency":"INR","strength":0.368},{"name":"British Pound","rank":13,"currency":"GBP","strength":0.358},{"name":"Canadian Dollar","rank":14,"currency":"CAD","strength":0.346},{"name":"Icelandic Krona","rank":15,"currency":"ISK","strength":0.342},{"name":"Euro","rank":16,"currency":"EUR","strength":0.198},{"name":"Danish Krone","rank":17,"currency":"DKK","strength":0.194},{"name":"Hungarian Forint","rank":18,"currency":"HUF","strength":-0.021},{"name":"Polish Zloty","rank":19,"currency":"PLN","strength":-0.029},{"name":"South Korean Won","rank":20,"currency":"KRW","strength":-0.172},{"name":"South African Rand","rank":21,"currency":"ZAR","strength":-0.185},{"name":"Australian Dollar","rank":22,"currency":"AUD","strength":-0.291},{"name":"Swiss Franc","rank":23,"currency":"CHF","strength":-0.468},{"name":"Swedish Krona","rank":24,"currency":"SEK","strength":-0.631},{"name":"Indonesian Rupiah","rank":25,"currency":"IDR","strength":-0.668},{"name":"Norwegian Krone","rank":26,"currency":"NOK","strength":-1.017},{"name":"New Zealand Dollar","rank":27,"currency":"NZD","strength":-1.027},{"name":"Brazilian Real","rank":28,"currency":"BRL","strength":-1.265},{"name":"Malaysian Ringgit","rank":29,"currency":"MYR","strength":-1.636},{"name":"Israeli Shekel","rank":30,"currency":"ILS","strength":-2.484}],"to_date":"2026-06-08","from_date":"2026-06-01"},"meta":{"timestamp":"2026-06-09T03:03:45.020Z","request_id":"32c98a3c-1f7c-463f-bb75-45013eb4600b"},"status":"ok","message":"Currency strength retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"ECB daily reference rates via Frankfurter (live)","periods":["1d","7d","2w","1m","3m"],"service":"currencystrength-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/pair":"Cross-rate and period change for a pair (base=EUR&quote=USD, period=).","GET /v1/currency":"One currency's strength, rank and per-pair changes (code=USD, period=).","GET /v1/strength":"Full currency strength ranking for a period (period=1d|7d|2w|1m|3m)."},"description":"Live currency strength meter computed from ECB reference rates (Frankfurter): ranks 30+ currencies by their average move against the whole basket over a period. Get the full strength ranking, one currency's strength + per-pair changes, or a pair's cross-rate and change. Live, no key. Distinct from raw exchange-rate APIs.","currencies_live":30},"meta":{"timestamp":"2026-06-09T03:03:45.138Z","request_id":"15e51639-a097-4a3d-a562-7d5fe5615b3c"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":300,"rps_limit":3,"hard_limit":true},{"slug":"trader","name":"Trader","price_cents_month":1000,"monthly_call_quota":12000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2700,"monthly_call_quota":60000,"rps_limit":25,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":6200,"monthly_call_quota":300000,"rps_limit":45,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/currencystrength-api"}