CurrencyBeacon is a developer friendly, easy-to-use REST API with real-time and historical exchange rates for fiat currencies and cryptocurrencies.
Emit new event when the exchange rate for a currency is updated See the documentation
Convert a specified amount from one currency to another See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Get historical rates for a currency See the documentation
Get the latest exchange rates for a currency See the documentation
The CurrencyScoop API offers real-time and historical exchange rate data, as well as currency conversion and time-series data. By integrating with Pipedream, users can create automated workflows that react to currency fluctuations, update pricing in their apps, or generate financial reports. Pipedream's serverless architecture enables running these workflows on a schedule or in response to certain triggers without managing any infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
currencyscoop: {
type: "app",
app: "currencyscoop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.currencybeacon.com/v1/latest?api_key=${this.currencyscoop.$auth.api_key}`,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})