80trust / 100

Ipca Latest

by Brazil Rates and Inflation in Markets & finance

x402 APIPassing, checked 48 min ago

Latest Brazil IPCA consumer price inflation from IBGE via Banco Central do Brasil SGS 433, monthly percentage changes for purchasing-power and inflation trend analysis.

GET https://brazil-macro.use.x402atlas.com/ipca/latest

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://brazil-macro.use.x402atlas.com/ipca/latest"
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%2Fbrazil-macro.use.x402atlas.com%2Fipca%2Flatest
const res = await pay("https://brazil-macro.use.x402atlas.com/ipca/latest");
console.log(await res.json());

Example output

{
  "changes": "Selected series; dates normalized to ISO days or months; decimal strings parsed as numbers; observations sorted ascending; original numeric values unchanged; no interpolation or derived inflation calculations.",
  "method_url": "https://brazil-macro.use.x402atlas.com/data-method",
  "notice": "Source: Banco Central do Brasil SGS; Selic target by Copom, IPCA by IBGE. Selic database is available under ODbL 1.0; IPCA reproduction follows BCB terms with source attribution and information integrity. No affiliation or endorsement. Source data is free; the fee is for API integration, not exclusive data rights.",
  "operation": "latest",
  "retrieved_at": "2024-04-15T12:00:00Z",
  "schema_version": "1",
  "series": [
    {
      "alias": "ipca",
      "attribution": "IBGE via Banco Central do Brasil SGS",
      "frequency": "monthly",
      "license_url": "https://www.bcb.gov.br/acessoinformacao/politicaprivacidade/1000",
      "name": "IPCA consumer price inflation",
      "observations": [
        {
          "period": "2024-03",
          "value": 0.16
        }
      ],
      "source_id": "433",
      "unit": "percent_month_over_month"
    }
  ],
  "source": "Banco Central do Brasil SGS",
  "source_request_url": "https://api.bcb.gov.br/dados/serie/bcdata.sgs.433/dados/ultimos/1?formato=json",
  "source_url": "https://www.bcb.gov.br/estatisticas",
  "warnings": [
    "Source supplies no publication timestamp or revision flag; observations may be revised. Retrieval time is not observation freshness."
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
48 min agoPassed402118 ms$0.01
6 h agoPassed402108 ms$0.01