SuperAPIAI Directory

brazil-ai-fiscal-apis-x402

github.com · AI finance

This project is a collection of Brazilian tax and financial APIs for AI agents, ERP, fintech, and automated workflows, comprising 12 serverless APIs deployed on Cloudflare edge nodes. It core-covers NF-e XML, FEBRABAN bills, Simples Nacional/Fator R, CNPJ/PIX, and Brazilian central bank data, and adds DeFi and infrastructure monitoring APIs. It supports the x402 v2 protocol (USDC settlement on the Base network) and the MCP protocol, is accessible via a unified gateway or individual subdomains, and offers free samples, a daily free trial, and B2B prepaid/monthly plans.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

This project provides a collection of Brazilian tax and financial APIs for AI agents, ERP systems, fintech companies, accounting firms, and automation tools (such as n8n, LangChain, Make). It contains 12 serverless APIs deployed on the Cloudflare edge network, claiming latency of 10–30 ms in Latin America.

Main capabilities

  • Brazilian tax suite (7 APIs): covers NF-e XML processing, FEBRABAN bills (Boletos), Simples Nacional/Fator R, CNPJ/PIX queries, and Brazilian central bank data.
  • Global high-capacity proxy and DeFi tools (5 APIs): includes DeFi simulation (Honeypot.is V2, GoPlus, DexScreener liquidity, DefiLlama oracle deviation, covering 7 EVM networks), wallet risk/balance queries, and Hyperliquid perpetual contract funding rate monitoring (about 180 markets), squeeze radar, and infrastructure instability radar for 10 key AI/crypto/RPC providers.
  • Unified gateway: all APIs are accessible via https://api.brunopompeo.com.br or individual subdomains (*.brunopompeo.com.br).
  • MCP server: provides a unified MCP server supporting Claude Desktop, Cursor, VS Code, and Windsurf, connected via npx -y @brunopompeo/brazil-ai-x402-mcp or npx -y github:brunopompeo1/brazil-ai-fiscal-apis-x402 , integrating 14 paid tools and 1 free tool.
  • x402 v2 payments: native settlement in USDC on the Base network, no registration or monthly subscription required, compatible with Coinbase CDP Facilitator (automatic fallback to PayAI).
  • Free trial: each API provides GET /sample free samples; 11/12 APIs support 3 full calls per IP per day (via the X-Free-Trial: 1 header or the MCP parameter free_trial: true), except agent-email.
  • Alternative payment methods: supports credit cards, Pix, B2B monthly plans (7 days free), RapidAPI subscriptions (4 APIs), and Apify pay-per-event (3 Actors). Prepaid credits start at 1 USD.

Usage

  1. MCP integration: configure the MCP server in claude_desktop_config.json or .cursor/mcp.json . Without credentials it enters discovery_only mode, listing 15 tools but actual calls return HTTP 402. You need to set X402_PRIVATE_KEY(a wallet containing USDC on the Base network) or BRAZIL_AI_API_KEY(B2B plan).
  2. curl testing: you can call API endpoints directly, using the X-Free-Trial: 1 header for the free trial.
  3. B2B plan: obtain a dedicated API Key via monthly PIX payment (X-API-Key), no crypto wallet required, see docs/GUIA_EMPRESAS_B2B.mdfor details.
  4. Code examples: provides n8n workflow JSON, LangChain/Vercel AI tools, TypeScript/Python x402 clients, and end-to-end execution scripts (node examples/execute.mjs free samples,--execute paid calls).
  5. Discovery endpoint:/llms.txt、/openapi.json、/catalog.json For automatic discovery by agents.

Applicable scenarios

  • AI agents autonomously call Brazilian fiscal and tax data or DeFi monitoring.
  • ERP and accounting software integrate compliance features such as NF-e and Simples Nacional.
  • Fintech companies perform CNPJ/PIX validation or central bank data queries.
  • Embed payment and data retrieval in automated workflows (n8n, LangChain).
  • DeFi traders or monitoring systems obtain real-time liquidity, oracle deviation, and funding rate signals.

Limitations

  • Some APIs (such as agent-email) do not offer a free trial.
  • Without credentials, only tool discovery is possible; actual calls require payment.
  • Pricing, specific routes, and x402 contract details are not fully listed in the materials; refer to the official documentation.
  • The free trial is 3 times per day per IP and may be subject to abuse limits.
  • The project is a third-party open-source repository; its functionality and stability must be verified independently.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools