European Central Bank reference exchange rates — free, no rate-limit complaints.
Currency conversion in agents. Cross-border SaaS pricing tooling. Multi-currency invoicing.
GET/latest$0.001 USDC per upstream 2xx (4xx is free)curl -X POST https://spawnpay.ai/api/proxy \
-H 'Authorization: Bearer spk_live_…' \
-H 'Content-Type: application/json' \
-d '{
"provider": "frankfurter",
"path": "/latest",
"method": "GET",
"query": {
"amount": 100,
"from": "USD",
"to": "EUR"
}
}'
import { proxy } from 'spawnpay-paywall';
const out = await proxy({
"provider": "frankfurter",
"path": "/latest",
"method": "GET",
"query": {
"amount": 100,
"from": "USD",
"to": "EUR"
}
});
console.log(out.status, out.body);
console.log('charged', out.charged); // txHash + $0.001 USDC receipt
The full upstream JSON body, the upstream status code, the upstream response headers, plus a charged field with the USDC receipt (tx hash) when the call succeeded.