Brazilayer Markets
The whole Brazilian market snapshot in ONE call, a third cheaper than one by one: official USD/BRL rate with the live crypto premium, macro indicators (Selic, IPCA, activity) and the latest headlines with sentiment, refreshed every 15 minutes. Same JSON as the single endpoints, keyed by name; 503 and no charge if fewer than half respond. Free sample, no payment: https://api.brazilayer.com/v1/merca
- Price per call
- $0.004
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 9
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://api.brazilayer.com/v1/mercado/pacote", { method: "GET" });
console.log(await res.json());https://api.brazilayer.com/v1/mercado/pacote