B
$0.05
per call · USD Coin on Base
Focus survey: median market forecasts for inflation, the Selic rate, the exchange rate and GDP growth, for the current and next calendar year.
Endpoint
GET https://api-macro-br-production.up.railway.app/v1/focus1
Calls / 30d
1
Unique payers / 30d
Sep 1
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://api-macro-br-production.up.railway.app/v1/focus", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://api-macro-br-production.up.railway.app/v1/focus" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"indicator": "focus_market_expectations",
"reference_date": "2026-08-28",
"retrieved_at": "2026-09-01T12:00:00Z",
"source": "BCB/Olinda Expectativas ExpectativasMercadoAnuais (baseCalculo=0)",
"statistic": "median",
"survey_date": "2026-08-28",
"values": {
"gdp": {
"2026": 1.9233,
"2027": 1.5
},
"ipca": {
"2026": 5.0062,
"2027": 4.28
},
"selic": {
"2026": 13.75,
"2027": 12
},
"usd_brl": {
"2026": 5.2,
"2027": 5.3
}
},
"years": [
"2026",
"2027"
]
}Payment details
Pay to
0x61195a8af1f72350d85790f6edfd5d11d1fa02dbAsset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from Brazil Macro API & similar services
B
Brazil Macro API · Ipca
api-macro-br-production.up.railway.app
IPCA consumer inflation, latest month and 12-month accumulated.
GETBaseDeveloper Tools
$0.005 / call3 calls / 30d
B
Brazil Macro API · Selic
api-macro-br-production.up.railway.app
Current Selic target rate set by the Brazilian central bank.
GETBaseDeveloper Tools
$0.005 / call1 calls / 30d
B
Brazil Macro API · Resumo
api-macro-br-production.up.railway.app
All of the above in a single response.
GETBaseDeveloper Tools
$0.02 / call1 calls / 30d