brasil-dados-api.onrender.com/economy/ptax
Official PTAX USD/BRL exchange rate (the reference rate used in Brazilian contracts). Central Bank of Brazil.
GET
https://brasil-dados-api.onrender.com/economy/ptaxUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://brasil-dados-api.onrender.com/economy/ptax");
console.log(await res.json());More from Brazil Data API
- brasil-dados-api.onrender.com/cambioOfficial USD/BRL and EUR/BRL exchange rates (PTAX, Central Bank of Brazil).0.002
- brasil-dados-api.onrender.com/economy/ipcaBrazil IPCA consumer inflation: last 12 monthly readings and 12-month accumulated. Central Bank of Brazil.0.005
- brasil-dados-api.onrender.com/economy/overviewBrazil macro snapshot in one call: SELIC policy rate, CDI, IPCA inflation (monthly and 12-month), official PTAX USD/BRL. Source: Central Bank of Brazil (BCB).0.01
