Skip to main content
Glama

Losbeto — AI 에이전트를 위한 시점 기준 브라질 시장 데이터

Losbeto on x402-list — monitored uptime

문제: 오늘 Banco Central API에서 가져오는 IPCA 수치는 그 당시에 발표된 수치가 아닙니다. 브라질 공식 시계열은 수정(revision)됩니다. 현재 시계열을 기반으로 만든 모든 백테스트에는 선견지명 편향(look-ahead bias)이 조용히 포함됩니다.

미국에는 이 문제를 위한 ALFRED가 있습니다. 브라질에는 공개된 것이 없습니다.

이것이 무엇인가: 배포 이후로 브라질 공식 통계를 발표된 그대로 기록하고, 모든 수치에 타임스탬프를 찍고, 매일 Ed25519로 서명해온 노드입니다. 그 아카이브는 우리를 포함한 누구도 소급해서 긁어낼 수 없습니다. 노드가 실행되고 있었기 때문에만 존재합니다.

x402(https://x402.org)를 통한 호출당 지불 — Base, Solana 또는 Algorand의 USDC. 가입 없음, API 키 없음, 인보이스 없음.


빠른 시작

# free — see the whole archive and how to verify it
curl https://api.losbeto.xyz/br-pit-proof

# free — what the paid endpoints actually cost and why
curl https://api.losbeto.xyz/why-buy

# free — the buying criterion, published: what is worth paying for here and what is not
curl https://api.losbeto.xyz/what-agents-buy

# paid — IPCA as it was known on 5 Aug 2026 (not as revised since)
curl https://api.losbeto.xyz/br-asof?series=ipca_12m_pct&date=2026-08-05
# -> HTTP 402 with the payment challenge; pay and repeat

x402 클라이언트 사용

import { wrapFetchWithPayment } from "x402-fetch";

const fetchWithPay = wrapFetchWithPayment(fetch, wallet);
const r = await fetchWithPay(
  "https://api.losbeto.xyz/br-asof?series=selic_meta_pct&date=2026-06-30"
);
console.log(await r.json());

MCP 서버로 사용 (Claude Desktop, Cursor, Claude Code)

{
  "mcpServers": {
    "losbeto": {
      "url": "https://api.losbeto.xyz/mcp",
      "headers": { "Authorization": "Bearer <credit-key>" }
    }
  }
}

한 번의 온체인 결제로 크레딧 키를 받으세요: POST https://api.losbeto.xyz/buy-credits.


Related MCP server: mcp-mercado-financeiro-brasil

아카이브 상품 (해자)

엔드포인트

가격

제공 내용

/br-pit-proof

무료

머클 루트, 서명자 키, 커버리지 기간, 검증 절차

/br-asof?series=&date=

$0.09

해당 날짜에 알려진 값 — 빈티지(vintage), 수정본 아님

/br-revisions?series=

$0.19

최초 발표 → 모든 수정, 크기와 관측 타임스탬프 포함

/br-archive?day=

$0.05

서명된 일일 스냅샷: BCB 거시경제 + Ibovespa 종가

/br-brief

$0.50

일일 브라질 거시경제 + 주식 브리프, 영어로

추적 시계열: selic_meta_pct, cdi_daily_pct, ipca_12m_pct, igpm_month_pct, usd_brl_ptax, eur_brl.

브라질 기본 연산 (업스트림 제로, 밀리초 미만)

브라질 사양에 대한 순수 계산 — 요청 경로에 외부 API 없음, 속도 제한 없음, 공급자 장애 없음, 루프용 가격:

엔드포인트

가격

제공 내용

/br-pix-parse?code=

$0.004

PIX BR Code(EMV-MPM)를 디코딩하고 CRC16을 검증합니다. 에이전트가 자금을 옮기기 전에 변조되거나 잘린 QR을 거부합니다

/br-pix-code?key=&name=&city=

$0.004

올바른 CRC16으로 유효한 정적 PIX BR Code를 생성하고, 다시 파싱하여 자체 검증합니다

/br-bizdays?from=&to= (또는 ?year=)

$0.004

ANBIMA 252 협약에 따른 은행 영업일 — 부활절 연동 공휴일과 2024년 Consciência Negra 변경 포함, du/252 연도 분수를 지수로 사용 가능

/br-doc?doc=

$0.004

CNPJ/CPF 모듈로-11 검증 숫자 검사, 형식화된 출력, 본사 지점 감지

이들이 흡수하는 사양 수준의 함정: CRC16-CCITT/FALSE (poly 0x1021, seed 0xFFFF), 부활절에 따라 움직이는 Carnaval/Corpus Christi, 그리고 Consciência Negra가 2024년에야 국가 공휴일이 된 것. 이 중 하나라도 잘못 처리하면 금리 계산이 조용히 오염되거나 QR이 계산대에서 거부됩니다. 외부에서 검증 가능: GET /zero-upstream.json은 어떤 경로가 네트워크에 전혀 닿지 않는지 선언합니다.

노드는 또한 약 80개의 다른 엔드포인트(암호화폐, 외환, 원자재, 주식)를 노출합니다. 그것들은 공개 소스에 대한 편의 래퍼입니다 — /what-agents-buy를 보세요. 여기서 우리는 공식을 게시하고 어떤 것에 대해 비용을 지불하면 안 되는지 명확히 알려드립니다.


무엇이든 오프라인으로 검증

모든 관측값은 Merkle 리프입니다:

leaf = sha256("<series>|<ref_date>|<value>|<seq>|<observed_ts>")

리프는 정렬되어 일일 Merkle 루트로 해시됩니다(sha256; 홀수 레벨은 마지막 리프를 복제합니다). 루트는 서명됩니다:

Ed25519( "losbeto-pit|<day>|<root>" )   # pubkey published at /br-pit-proof
import base64, nacl.signing
pub = nacl.signing.VerifyKey(base58_decode(signer))
pub.verify(f"losbeto-pit|{day}|{root}".encode(), base64.b64decode(signature))

일일 루트는 선택적으로 Algorand에 제로 값 메모 트랜잭션으로 앵커링되므로, 타임스탬프는 우리를 신뢰하는 데 의존하지 않습니다.


에이전트용: 매니페스트에서 시작

GET /agents.json (/.well-known/agents.json에도 있음) — agents.json 매니페스트: 정확한 매개변수를 포함한 결과 기반 흐름, 결제 네트워크, 무료 티어, OpenAPI 계약·x402 매니페스트·스코어카드·충실도 레시피에 대한 포인터. CORS 개방, 1시간 캐시.

인덱서 및 QoS 스코어러용

ScoutScore, EntRoute, x402scan, x402-list, BlockRun 또는 x402 노드를 프로브하고 순위를 매기는 다른 서비스라면, 다음 항목이 유용합니다:

표면

제공 내용

/agents.json

agents.json 매니페스트 — 흐름, 결제 네트워크, 무료 티어

/scorecard.json

서명됨: 24시간 가용성, p50/p95 지연 시간, 402 챌린지 비용, 트래픽 구성, 유기적 vs 운영자 수익

/.well-known/fidelity.json

엔드포인트별 결정적 프로브 레시피 — 정확한 무료 URL, 필수 응답 필드, "정상"의 의미

/zero-upstream.json

어떤 엔드포인트가 외부 호출을 전혀 하지 않는지(공급자에 의한 속도 제한이나 503 불가)

/bazaar-status

이 노드가 CDP 파실리테이터를 통해 Base에서 정산했는지 여부(2,200+ 건 정산)

X-Scorecard / X-Fidelity

모든 응답의 헤더 — 찾기 위해 두 번째 요청이 필요 없음

무료 프로브는 절대 요금을 부과하지 않습니다. 예상치 못한 내부 오류가 발생한 유료 경로는 500 대신 402로 처리됩니다 — 리소스는 여전히 판매 중입니다. OpenAPI 및 Swagger 스펙은 안정적인 ETag를 가지며 304로 응답합니다 — 프로브 사이에 130KB를 다시 내려받을 필요가 없습니다.

수익 투명성

GET /.well-known/honest-revenue.json — 서명되어 있고 다음을 구분합니다:

  • organic — 운영자가 통제하지 않는 지갑에서 지불

  • operator-test — 운영자 자신이 선언한 지갑

  • self-sweep — 한 지갑이 짧은 시간 안에 여러 다른 엔드포인트를 정산

운영자 자금 트래픽은 라벨이 붙으며 숨겨지지 않습니다. 유기적 수치가 작으면 그렇게 명시합니다.


직접 실행하기

pip install -r requirements.txt
export SOLANA_WALLET_ADDRESS=...      # where payments land
export BASE_PAYTO_EVM=0x...           # optional
export ALGORAND_WALLET_ADDRESS=...    # optional
export BUYER_WALLETS=...              # your own test-buyer wallets, comma separated
gunicorn --workers 2 --threads 8 --preload --bind 0.0.0.0:$PORT nexus_omega:app

유용한 환경 변수: AI_WARMER=1 (AI 미리보기 워밍 재활성화), LLM_DAILY_BUDGET, LLM_PAID_RESERVE, PIT_INTERVAL_S, ALGO_ANCHOR_MNEMONIC (+ pip install py-algorand-sdk).


연락처

Roberto Martins — roberto.martins622@gmail.com

필요한 시계열이나 시장이 없나요? 이슈를 열어 주세요. 요청에 따라 새 엔드포인트가 구축됩니다.

MIT 라이선스.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Query a variety of data from Brasil resources seamlessly. Access information on postal codes, area codes, banks, holidays, taxes, and more through a unified interface. Enhance your AI agents and applications with rich and updated data from BrasilAPI effortlessly.
      6
      7
      -
    • A
      license
      A
      quality
      B
      maintenance
      Gives AI assistants access to all 261 Copom meeting minutes and official Banco Central do Brasil indicators, supporting hybrid keyword/semantic search, paragraph-level citations, structured meeting analysis, and Brazilian Portuguese queries. It also exposes resources and prompts for comparing meetings and extracting tone, risks, and forward guidance.
      5
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query official Brazilian Central Bank economic data, including Selic, CDI, IPCA, IGP-M, INCC, exchange rates, and Focus projections, and to correct values for inflation or calculate returns by CDI/Selic percentages.
      MIT