exchange-rate

Retrieve live FX rates and convert currencies via REST API endpoints.

Updated Apr 12, 2025
One-click install
npx skills add https://github.com/DavidKk/vercel-openapi --skill exchange-rate-davidkk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exchange-rate
Source: https://github.com/DavidKk/vercel-openapi/tree/main/app/exchange-rate
Command: npx skills add https://github.com/DavidKk/vercel-openapi --skill exchange-rate-davidkk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users need quick access to current FX rates and accurate currency conversions without manual lookups, especially in chat or automation contexts.

Core Features & Use Cases

  • Get latest FX rates for a base currency via GET /api/exchange-rate (base parameter optional, defaults to USD).
  • Convert an amount between currencies via POST /api/exchange-rate with from, to, amount, returning converted value, rate, and date.
  • Supports multi-turn interactions by parsing natural-language prompts to extract base/from/to/amount and by caching results for performance.

Quick Start

Ask the agent to convert a specific amount between currencies, for example, convert 100 USD to EUR.

Frequently Asked Questions about exchange-rate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get live exchange rates for a specific base currency via REST API?

To get live exchange rates, make a GET request to the /api/exchange-rate endpoint with an optional base parameter, which defaults to USD and returns standardized current rate data.

Can I convert currency amounts using natural language queries in a chat context?

Yes, currency conversion supports natural-language queries by parsing prompts to extract the source, target, and amount, then returning the converted value, rate, and date.

What's the best way to automate currency conversion without manual lookups?

Automate currency conversion by sending a POST request to /api/exchange-rate with the from, to, and amount parameters, which returns accurate converted values with caching for performance.

Does the exchange rate API support multi-turn interactions for follow-up conversions?

Yes, the exchange rate API supports multi-turn interactions by parsing natural-language prompts to extract conversion parameters and caching previous results to streamline follow-up queries.

What input validation is applied to currency conversion requests?

Currency conversion requests undergo input validation to ensure provided from, to, and amount parameters are correct, returning standardized responses for successful or failed queries.