82trust / 100
Br Equity
by Losbeto Market Intelligence in Markets & finance
x402 APIPassing, checked 4 h ago
B3 equity or Ibovespa quote (?symbol=PETR4|VALE3|ITUB4|IBOV): price in BRL with daily change, plus the USD equivalent converted at the official BCB PTAX rate. Brazilian equities with official-PTAX USD conversion — rar...
GET https://api.losbeto.xyz/br-equity
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 179 ms typical, 179 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.losbeto.xyz/br-equity?symbol=PETR4"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.losbeto.xyz%2Fbr-equity
const res = await pay("https://api.losbeto.xyz/br-equity?symbol=PETR4");
console.log(await res.json());Example input
{
"symbol": "PETR4"
}Example output
{
"change_pct": 0.94,
"currency": "BRL",
"exchange": "SAO",
"note": "Prices in BRL. USD conversion uses the official BCB PTAX rate.",
"previous_close": 55.48,
"price": 56,
"product": "B3 Equity Quote",
"provider": "Losbeto/Brasil",
"source": "Yahoo Finance",
"symbol": "PETR4",
"ts": 1791669333,
"usd_reference": {
"price_usd": 11.2242,
"usd_brl_ptax": 4.9892
},
"version": "48.25.2-FEEPAYER",
"yahoo_symbol": "PETR4.SA"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 179 ms | $0.02 |