$0.01
per call · USD Coin on Base
Convert an amount between currencies using live daily exchange rates (ISO 4217 codes, e.g. USD, EUR, GBP, JPY). Returns the converted amount and the rate used.
Endpoint
POST https://api.agishub.com/v1/currency-convert1
Calls / 30d
1
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.agishub.com/v1/currency-convert", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"amount": 1,
"from": "USD",
"to": "EUR"
}),
});
const data = await res.json();curl -X POST \
"https://api.agishub.com/v1/currency-convert" \
-H "Content-Type: application/json" \
-d '{"amount":1,"from":"USD","to":"EUR"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"result": "Convert an amount between currencies using live daily exchange rates (ISO 4217 codes, e.g. USD, EUR, GBP, JPY). Returns "
}Payment details
0x23fc725e8eaa1c58900c6507ba89be99a6dfc75dUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Agishub & similar services
Agishub · Paid Meeting Slots
api.agishub.com
Find working-hour time slots that overlap across participants in different timezones for a meeting of a given duration, excluding weekends and (when a country is given per participant) that person's public holidays. Free tier returns at most 1 slot; the paid endpoint returns every matching slot (see 'upgrade' in the response).
Agishub · Paid Snapshot
api.agishub.com
Capture several representations of a page in one call — rendered HTML plus a PNG screenshot by default, and optionally Markdown and the accessibility tree. Backed by a headless browser. Saves round-trips when an agent needs both the content and a visual of a page.
Agishub · Paid Screenshot
api.agishub.com
Capture a PNG screenshot of any public URL — full page or just the viewport, at a chosen size — returned base64-encoded. Backed by a headless browser.