B

Brazil Data API · Economy Ptax

by Brazil Data API

GETBaseSolana

$0.005

per call · USD Coin on Base

Official PTAX USD/BRL exchange rate (the reference rate used in Brazilian contracts). Central Bank of Brazil.

Endpoint

GET https://brasil-dados-api.onrender.com/economy/ptax

4

Calls / 30d

4

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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://brasil-dados-api.onrender.com/economy/ptax", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://brasil-dados-api.onrender.com/economy/ptax" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "indicator": "PTAX USD/BRL",
  "sell": {
    "date": "2026-07-01",
    "value": 5.195
  }
}

Payment details

Pay to0x649006bc937e7a60f98e49455d0fe3425321a3b0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Brazil Data API & similar services