apiverve / currencyrate
Currency Rate returns one currency's live value in US dollars or any other base, across 170+ currencies, with its name, symbol and direction since yesterday. Paid plans add any base currency, 1-day to 1-year changes, 24-hour and 30-day highs and lows, and hourly and 30-day daily history.
Requires
- php: >=7.4
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Currency Rate returns one currency's live value in US dollars or any other base, across 170+ currencies, with its name, symbol and direction since yesterday. Paid plans add any base currency, 1-day to 1-year changes, 24-hour and 30-day highs and lows, and hourly and 30-day daily history.
The Currency Rate API provides a simple, reliable way to integrate currency rate functionality into your applications. Built for developers who need production-ready currency rate capabilities without the complexity of building from scratch.
Quick Start
Using JavaScript
async function callCurrencyRateAPI() { try { const params = new URLSearchParams({ currency: 'EUR' }); const response = await fetch(`https://api.apiverve.com/v1/currencyrate?${params}`, { method: 'GET', headers: { 'x-api-key': 'YOUR_API_KEY_HERE' } }); const data = await response.json(); console.log(data); } catch (error) { console.error('Error:', error); } } callCurrencyRateAPI();
Using cURL
curl -X GET "https://api.apiverve.com/v1/currencyrate?currency=EUR" \ -H "x-api-key: YOUR_API_KEY_HERE"
Get your API key: https://apiverve.com
📁 For more examples, see the examples folder
Installation
Choose your preferred programming language:
📦 NPM (JavaScript/Node.js)
npm install @apiverve/currencyrate
View NPM Package → | Package Code →
🔷 NuGet (.NET/C#)
dotnet add package APIVerve.API.CurrencyRate
View NuGet Package → | Package Code →
🐍 Python (PyPI)
pip install apiverve-currencyrate
View PyPI Package → | Package Code →
💎 Ruby (RubyGems)
gem install apiverve_currencyrate
View RubyGems Package → | Package Code →
🐘 PHP (Packagist)
composer require apiverve/currencyrate
View Packagist Package → | Package Code →
🎯 Dart (pub.dev)
dart pub add apiverve_currencyrate
View pub.dev Package → | Package Code →
🤖 Android (JitPack)
implementation 'com.github.apiverve:currencyrate-api:1.0.0'
🐹 Go
go get github.com/apiverve/currencyrate-api/go
Why Use This API?
| Feature | Benefit |
|---|---|
| Multi-language SDKs | Native packages for JavaScript, Python, C#, Go, and Android |
| Simple Integration | Single API key authentication, consistent response format |
| Production Ready | 99.9% uptime SLA, served from 24 global regions |
| Comprehensive Docs | Full examples, OpenAPI spec, and dedicated support |
Documentation
- 🏠 API Home: Currency Rate API
- 📚 API Reference: docs.apiverve.com/ref/currencyrate
- 📖 OpenAPI Spec: openapi.yaml
- 💡 Examples: examples/
What Can You Build?
The Currency Rate API is commonly used for:
- Web Applications - Add currency rate features to your frontend or backend
- Mobile Apps - Native SDKs for Android development
- Automation - Integrate with n8n, Zapier, or custom workflows
- SaaS Products - Enhance your product with currency rate capabilities
- Data Pipelines - Process and analyze data at scale
API Reference
Authentication
All requests require an API key in the header:
x-api-key: YOUR_API_KEY_HERE
Get your API key: https://apiverve.com
Response Format
Every APIVerve endpoint returns the same envelope — check status, then read data:
{
"status": "ok",
"error": null,
"data": { ... }
}
Example Response
A real response from the Currency Rate API:
{
"status": "ok",
"error": null,
"data": {
"currency": "EUR",
"currencyName": "Euro",
"currencySymbol": "€",
"base": "USD",
"baseName": "US Dollar",
"price": 1.1171949,
"rate": 0.895099,
"changeDirection": "down",
"date": "2026-10-27",
"lastUpdated": "2026-10-27T20:39:40.670Z",
"change1d": -0.4448,
"change7d": -0.5707,
"change30d": -1.9319,
"change1y": -4.0014,
"high24h": 1.1222085,
"low24h": 1.1169153,
"high30d": 1.1389042,
"low30d": 1.1171949,
"average30d": 1.1237302,
"volatility30d": 0.2421,
"hourly": [
{
"hour": 21,
"price": 1.1216899,
"timestamp": "2026-10-26T21:39:40.670Z"
},
{
"hour": 22,
"price": 1.1221166,
"timestamp": "2026-10-26T22:39:40.670Z"
},
{
"hour": 23,
"price": 1.1222085,
"timestamp": "2026-10-26T23:39:40.670Z"
},
{
"hour": 0,
"price": 1.121266,
"timestamp": "2026-10-27T00:39:40.670Z"
},
{
"hour": 1,
"price": 1.1209254,
"timestamp": "2026-10-27T01:39:40.670Z"
},
{
"hour": 2,
"price": 1.1214635,
"timestamp": "2026-10-27T02:39:40.670Z"
},
{
"hour": 3,
"price": 1.1211743,
"timestamp": "2026-10-27T03:39:40.670Z"
},
{
"hour": 4,
"price": 1.120221,
"timestamp": "2026-10-27T04:39:40.670Z"
},
{
"hour": 5,
"price": 1.1202649,
"timestamp": "2026-10-27T05:39:40.670Z"
},
{
"hour": 6,
"price": 1.1207156,
"timestamp": "2026-10-27T06:39:40.670Z"
},
{
"hour": 7,
"price": 1.1200654,
"timestamp": "2026-10-27T07:39:40.670Z"
},
{
"hour": 8,
"price": 1.1192919,
"timestamp": "2026-10-27T08:39:40.670Z"
},
{
"hour": 9,
"price": 1.1196516,
"timestamp": "2026-10-27T09:39:40.670Z"
},
{
"hour": 10,
"price": 1.1198409,
"timestamp": "2026-10-27T10:39:40.670Z"
},
{
"hour": 11,
"price": 1.1189437,
"timestamp": "2026-10-27T11:39:40.670Z"
},
{
"hour": 12,
"price": 1.1184957,
"timestamp": "2026-10-27T12:39:40.670Z"
},
{
"hour": 13,
"price": 1.1190188,
"timestamp": "2026-10-27T13:39:40.670Z"
},
{
"hour": 14,
"price": 1.1188423,
"timestamp": "2026-10-27T14:39:40.670Z"
},
{
"hour": 15,
"price": 1.1178767,
"timestamp": "2026-10-27T15:39:40.670Z"
},
{
"hour": 16,
"price": 1.117813,
"timestamp": "2026-10-27T16:39:40.670Z"
},
{
"hour": 17,
"price": 1.1183068,
"timestamp": "2026-10-27T17:39:40.670Z"
},
{
"hour": 18,
"price": 1.1177543,
"timestamp": "2026-10-27T18:39:40.670Z"
},
{
"hour": 19,
"price": 1.1169153,
"timestamp": "2026-10-27T19:39:40.670Z"
},
{
"hour": 20,
"price": 1.1171949,
"timestamp": "2026-10-27T20:39:40.670Z"
}
],
"daily": [
{
"date": "2026-09-28",
"price": 1.1389042
},
{
"date": "2026-09-29",
"price": 1.1360719
},
{
"date": "2026-09-30",
"price": 1.1332292
},
{
"date": "2026-10-01",
"price": 1.1316672
},
{
"date": "2026-10-02",
"price": 1.1253328
},
{
"date": "2026-10-03",
"price": 1.1253328
},
{
"date": "2026-10-04",
"price": 1.1258142
},
{
"date": "2026-10-05",
"price": 1.1183506
},
{
"date": "2026-10-06",
"price": 1.1214861
},
{
"date": "2026-10-07",
"price": 1.1230668
},
{
"date": "2026-10-08",
"price": 1.1204946
},
{
"date": "2026-10-09",
"price": 1.1238531
},
{
"date": "2026-10-10",
"price": 1.1201771
},
{
"date": "2026-10-11",
"price": 1.1203591
},
{
"date": "2026-10-12",
"price": 1.1200441
},
{
"date": "2026-10-13",
"price": 1.117512
},
{
"date": "2026-10-14",
"price": 1.1210926
},
{
"date": "2026-10-15",
"price": 1.1225096
},
{
"date": "2026-10-16",
"price": 1.1237597
},
{
"date": "2026-10-17",
"price": 1.1239024
},
{
"date": "2026-10-18",
"price": 1.1238973
},
{
"date": "2026-10-19",
"price": 1.1229457
},
{
"date": "2026-10-20",
"price": 1.1236069
},
{
"date": "2026-10-21",
"price": 1.122802
},
{
"date": "2026-10-22",
"price": 1.1243067
},
{
"date": "2026-10-23",
"price": 1.1213616
},
{
"date": "2026-10-24",
"price": 1.120408
},
{
"date": "2026-10-25",
"price": 1.1202373
},
{
"date": "2026-10-26",
"price": 1.1221858
},
{
"date": "2026-10-27",
"price": 1.1171949
}
]
}
}
Support & Community
- 🏠 API Home: Currency Rate API
- 💬 Support: https://apiverve.com/contact
- 🐛 Issues: GitHub Issues
- 📖 Documentation: https://docs.apiverve.com
- 🌐 Website: https://apiverve.com
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Security
For security concerns, please review our Security Policy.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with ❤️ by APIVerve
Copyright © 2026 APIVerve. All rights reserved.