81trust / 100

Mercado Indicadores

by Brazilayer Markets in Markets & finance

x402 APIPassing, checked 57 min ago

Brazil macro snapshot in one call, straight from the Central Bank: Selic policy rate, IPCA inflation (monthly and 12-month), official PTAX USD/BRL rate, plus the Focus survey (the market's median forecasts for inflation, policy rate, GDP and FX for this year and next, updated weekly). The essential context pack for any agent trading BRL pairs or emerging markets. Free sample, no payment: https://api.brazilayer.com/v1/mercado/amostra

GET https://api.brazilayer.com/v1/mercado/indicadores

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
32 ms typical, 32 ms slowest 5%
Last check
57 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.brazilayer.com/v1/mercado/indicadores"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.brazilayer.com%2Fv1%2Fmercado%2Findicadores
const res = await pay("https://api.brazilayer.com/v1/mercado/indicadores");
console.log(await res.json());

Example input

{}

Example output

{
  "indicadores": {
    "focus_ipca_2026": {
      "unidade": "%",
      "valor": 4.9
    },
    "ipca_12m": {
      "unidade": "%",
      "valor": 5.1
    },
    "ptax_venda": {
      "unidade": "BRL",
      "valor": 5.43
    },
    "selic_meta": {
      "unidade": "% a.a.",
      "valor": 15
    }
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
57 min agoPassed40233 ms$0.002
6 h agoPassed40232 ms$0.002