Grid402 — Brazil Public Data & Network Oracle

v1.9.1
io.github.oliveiratc/grid402 Checked 11 hours ago Published 14 days ago

24 MCP tools: Brazil CNPJ, compliance, ANBIMA, FX, GLEIF LEI, OFAC & DNS/SSL via x402 Base USDC.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

grid402_summary

Get consolidated live health, latency and 30-day uptime summary for all 25 Grid402 public-data services (free, no x402 charge).

grid402_forex

Get official commercial fiat exchange rates (USD, EUR, GBP to BRL) with daily percentage change and ECDSA oracle proof (0.0050 USDC / 1 credit).

ParameterTypeDescription
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash (0x..., polygon:0x..., arbitrum:0x..., solana:<sig>), x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_crypto

Get real-time spot prices and 24h changes for BTC, ETH, SOL, USDC and BASE in USD and BRL (0.0050 USDC / 1 credit).

ParameterTypeDescription
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_dns

Resolve authoritative DNS records (A, AAAA, MX, TXT, NS, CNAME) for any domain with query latency (0.0050 USDC / 1 credit).

ParameterTypeDescription
domain *stringTarget domain name to resolve (e.g. "github.com", "base.org").
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_ssl

Inspect and validate port 443 TLS/SSL certificate (issuer, validity, SANs, cipher suite and days until expiration) (0.0050 USDC / 1 credit).

ParameterTypeDescription
host *stringTarget hostname or domain to inspect on port 443 (e.g. "base.org", "google.com").
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_asn

Query BGP routing intelligence: ASN number, allocated IP prefix, organization/ISP and country for any IPv4/IPv6 address (0.0050 USDC / 1 credit).

ParameterTypeDescription
ipstringIPv4 or IPv6 address to inspect (e.g. "1.1.1.1"). Defaults to requester IP if omitted.
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_domain_audit

Consolidated domain security and infrastructure audit (DNS + TLS/SSL + BGP/ASN) with risk score in a single call (0.0150 USDC / 3 credits).

ParameterTypeDescription
domain *stringTarget domain name to audit (e.g. "base.org").
payment_tx_hashstringOptional payment proof (0.0150 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_kyb_audit

Global corporate KYB audit in one call: Brazil Receita Federal CNPJ + US OFAC/UN Sanctions + GLEIF ISO 17442 LEI (0.0250 USDC / 5 credits).

ParameterTypeDescription
cnpj *string14-digit Brazilian CNPJ number (e.g. "00000000000191").
payment_tx_hashstringOptional payment proof (0.0250 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_get_dossier_360

Premium 360-degree Brazil KYB Dossier with deterministic AI verdict (APPROVED, FLAGGED, REJECTED), 0-100 risk score, Receita Federal CNPJ, Simples Nacional/MEI and CGU CEIS/CNEP sanctions (0.0500 USDC / 10 credits).

ParameterTypeDescription
cnpj *string14-digit Brazilian CNPJ number (with or without mask, e.g. "00000000000191").
payment_tx_hashstringOptional payment proof (0.0500 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_market_snapshot

Consolidated financial and macro market snapshot in one call: Forex + Crypto Spot + Brazil Selic/CDI/IPCA + ANBIMA calendar (0.0150 USDC / 3 credits).

ParameterTypeDescription
payment_tx_hashstringOptional payment proof (0.0150 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_cep

Lookup Brazilian postal code (CEP) returning street, neighborhood, city, state and official IBGE municipality code (0.0050 USDC / 1 credit).

ParameterTypeDescription
code *string8-digit Brazilian CEP postal code (e.g. "01310100").
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_cnpj

Lookup official Brazil Receita Federal CNPJ corporate registry data (legal name, trade name, active status, CNAE, address and share capital) (0.0100 USDC / 2 credits).

ParameterTypeDescription
cnpj *string14-digit Brazilian CNPJ number with or without punctuation (e.g. "00000000000191").
payment_tx_hashstringOptional payment proof (0.0100 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_indicators

Get official Brazil Central Bank (BCB) and IBGE macro indicators: Selic target/daily, annual/daily CDI and 12-month IPCA inflation (0.0050 USDC / 1 credit).

ParameterTypeDescription
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_holidays

Get official Brazil national and ANBIMA/Febraban banking holidays calendar for any year including movable holidays (0.0050 USDC / 1 credit).

ParameterTypeDescription
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.
yearinteger4-digit calendar year between 1900 and 2100 (e.g. 2026). Defaults to current year.

grid402_workdays

Calculate Brazilian ANBIMA banking business days, D+N settlement maturity dates, or check if a date is a banking business day (0.0050 USDC / 1 credit).

ParameterTypeDescription
datestringSingle date in YYYY-MM-DD format to check whether it is a banking business day.
daysintegerInteger business days to project (positive for future, negative for past).
end_datestringEnd date in YYYY-MM-DD format for business-day interval counting.
payment_tx_hashstringOptional payment proof (0.0050 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".
start_datestringStart date in YYYY-MM-DD format for interval counting or D+N projection.

grid402_sanctions

Check Brazil CGU administrative sanctions registries (CEIS and CNEP) for a given CNPJ (0.0100 USDC / 2 credits).

ParameterTypeDescription
cnpj *string14-digit Brazilian CNPJ number to check against CEIS/CNEP sanctions.
payment_tx_hashstringOptional payment proof (0.0100 USDC on Base, Polygon, Arbitrum or Solana), x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_simples

Check Brazil Simples Nacional and SIMEI (MEI) tax regime enrollment status for a CNPJ (0.0100 USDC / 2 credits).

ParameterTypeDescription
cnpj *string14-digit Brazilian CNPJ number for tax regime verification.
payment_tx_hashstringOptional payment proof (0.0100 USDC on Base, Polygon, Arbitrum or Solana), x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_compliance

Compute consolidated Brazil Compliance Score 360 (0-100) and approval status for a CNPJ cross-checking Receita Federal and CGU (0.0300 USDC / 6 credits).

ParameterTypeDescription
cnpj *string14-digit Brazilian CNPJ number for 360 compliance scoring.
payment_tx_hashstringOptional payment proof (0.0300 USDC on Base, Polygon, Arbitrum or Solana), x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_lei

Lookup Global Legal Entity Identifier (ISO 17442) corporate identity via GLEIF across 200+ jurisdictions (0.0100 USDC / 2 credits).

ParameterTypeDescription
lei *string20-character ISO 17442 LEI code (e.g. "5493006MHB84DD0ZWV18") or legal entity name.
payment_tx_hashstringOptional payment proof (0.0100 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_ofac

Screen EVM wallet addresses (0x...), LEI codes or entities against US Treasury OFAC SDN, UN Consolidated Sanctions and Base Mainnet AML risk (0.0200 USDC / 4 credits).

ParameterTypeDescription
target *stringEVM wallet address (0x...), LEI code or legal entity name to screen against OFAC/UN lists.
payment_tx_hashstringOptional payment proof (0.0200 USDC on Base, Polygon, Arbitrum or Solana), Session Pass token (pass_g402_...), or "demo".

grid402_notarize

Create an M2M cryptographic timestamp and SHA-256 proof-of-existence signed with ECDSA secp256k1 (0.0050 USDC / 1 credit).

ParameterTypeDescription
content *stringText payload or 64-char hex SHA-256 hash to timestamp and notarize.
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_global_markets

Query global exchange settlement calendars (US NYSE/Fed, EU TARGET2, UK LSE, BR B3) and 30+ European Central Bank (ECB) FX reference rates (0.0050 USDC / 1 credit).

ParameterTypeDescription
basestringBase currency for ECB FX reference rates (default: USD).
datestringOptional target date in YYYY-MM-DD format.
marketstringMarket code: US, EU, UK or BR (default: US).
payment_tx_hashstringOptional payment proof: Multi-Chain USDC tx hash, x402 base64 payload, Session Pass token (pass_g402_...), or "demo" for Sandbox.

grid402_extract

SSRF-hardened web page URL to clean LLM-ready Markdown extractor for RAG and AI agents, returning title, metadata and absolute links (0.0050 USDC / 1 credit).

ParameterTypeDescription
url *stringPublic HTTP or HTTPS web page URL to fetch and convert to clean Markdown.
max_charsintegerOptional max output character length (500 to 25000; default: 12000).
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

grid402_email_verify

Zero-PII B2B email deliverability and risk audit: RFC syntax, DNS MX, SPF, DMARC, disposable domain detection, free provider and role-based score (0.0050 USDC / 1 credit).

ParameterTypeDescription
email *stringCorporate or business email address to audit without persisting PII.
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

grid402_token_safety

Multi-Chain token security & DEX liquidity audit across Base, Ethereum, Polygon, Arbitrum and Solana via public GoPlus Security + DexScreener APIs, returning deterministic score (0-100), verdict (SAFE/CAUTION/HIGH_RISK/CRITICAL), honeypot/tax flags and signed proof (0.0150 USDC / 3 credits).

ParameterTypeDescription
address *stringToken contract/mint address (EVM 0x... 40 hex chars or Solana Base58).
chainstringOptional chain: base, ethereum, polygon, arbitrum, or solana (auto-detected for Solana Base58).
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

grid402_prediction_markets

Normalized public prediction market odds (0-100% implied probability), 24h volume and liquidity aggregated from Polymarket Gamma and Kalshi Public Trade API v2 with graceful degradation (0.0100 USDC / 2 credits).

ParameterTypeDescription
limitintegerMaximum normalized markets to return (1 to 20, default 10).
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".
qstringOptional keyword search filter (e.g. "bitcoin", "fed", "election").
sourcestringMarket source filter: all (default), polymarket, or kalshi.
statusstringMarket status filter: active (default) or closed.

grid402_sec_company

Query US SEC EDGAR public company profile (CIK, SIC, exchanges, fiscal year end), filtered 10-K/10-Q/8-K filings and optional bounded XBRL financial facts (0.0100 USDC / 2 credits).

ParameterTypeDescription
cikstringSEC Central Index Key (1 to 10 digits, e.g. "0000320193"). Provide ticker or cik.
formsstringOptional comma-separated SEC form types to filter (e.g. "10-K,10-Q,8-K").
include_factsbooleanOptional boolean to fetch US-GAAP XBRL metrics (subject to 8 MB response guard).
limitintegerMaximum filings to return (1 to 25, default 10).
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".
tickerstringUS stock ticker symbol (e.g. "AAPL", "MSFT"). Provide ticker or cik.

grid402_vuln_audit

Deterministic vulnerability and active-exploitation audit combining OSV.dev and CISA KEV by package (ecosystem + package + version) or CVE/GHSA ID (0.0050 USDC / 1 credit).

ParameterTypeDescription
ecosystemstringPackage ecosystem (npm, PyPI, Go, Maven, Packagist, crates.io, NuGet, RubyGems) for package mode.
idstringDirect vulnerability ID (e.g. "CVE-2021-44228" or "GHSA-..."). Use id OR ecosystem + package.
packagestringPackage name to audit (e.g. "lodash", "requests").
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".
versionstringOptional specific package version to narrow vulnerability matching.

grid402_chain_telemetry

Real-time blockchain RPC telemetry (block/slot, gas/priority fees, RPC latency) combined with DeFiLlama TVL across Base, Ethereum, Polygon, Arbitrum and Solana (0.0050 USDC / 1 credit).

ParameterTypeDescription
chainstringTarget network: base (default), ethereum, polygon, arbitrum or solana.
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

grid402_batch

Execute 1 to 5 paid Grid402 data services in a single HTTP POST call (max 2 items in sandbox/demo). Dynamically priced as the exact sum of item fees, with automatic Session Pass partial refund on sub-item failures.

ParameterTypeDescription
items *arrayList of 1 to 5 sub-requests: [{"service":"dns","params":{"domain":"base.org"}}]. Recursive/admin services (batch, pass, verify, summary) are blocked.
idempotency_keystringOptional Idempotency-Key header for safe retries without duplicate billing (300s TTL).
payment_tx_hashstringOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

grid402_pass

Issue an x402 prepaid Session Pass (Starter 2 USDC = 400 credits/180d, Pro 5 USDC = 1,200 credits/180d, Fleet 20 USDC = 6,000 credits/365d; 1 credit = 0.0050 USDC) or check pass status.

ParameterTypeDescription
payment_tx_hashstringOptional Multi-Chain USDC payment proof (Base, Polygon, Arbitrum, Optimism, Ethereum or Solana) to issue a new Session Pass.
statusstringOptional existing pass_g402_... token for free balance and status lookup.

grid402_pass_balance

Free real-time lookup of Session Pass credit balance, expiration and Spend Controls (daily_credit_limit, credits_used_today, allowed_endpoints).

ParameterTypeDescription
tokenstringSession Pass token (pass_g402_...) to inspect (or uses GRID402_SESSION_PASS env var).

grid402_verify

Stateless cryptographic verification of an _oracle_proof ECDSA secp256k1 signature on any Grid402 API response (free).

ParameterTypeDescription
payload *stringSerialized JSON API response containing the _oracle_proof block to verify.