{"id":"io.github.89rat/code402","slug":"io-github-89rat-code402","title":"Code402","description":"Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.","version":"1.0.1","publisher":{"kind":"github","id":"89rat","label":"@89rat on GitHub","url":"https://github.com/89rat"},"website":"https://code402.dev","repository":"https://github.com/89rat/m2m-exchange","remotes":[{"type":"streamable-http","url":"https://rail.hcrb.in/mcp"}],"packages":[],"published":"2026-09-25","updated":"2026-09-25","status":"online","auth":"","latency_ms":1854,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"crypto_ticker","title":"Crypto ticker","description":"Spot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt.","read_only":true},{"name":"erc20_balance","title":"ERC-20 Token Balance Snapshot","description":"Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.","read_only":true},{"name":"fx_spot_price_oracle","title":"FX spot price oracle","description":"Reference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt.","read_only":true},{"name":"block_info","title":"Base Block Header Info","description":"Base chain (8453) block header data: block number, timestamp, transaction count and base fee for any block. Result carries a signed receipt.","read_only":true},{"name":"tx_activity","title":"Tx Activity & Contract Detection","description":"Outbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt.","read_only":true},{"name":"token_contract_risk","title":"Token contract facts (Base)","description":"Deterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed receipt.","read_only":true},{"name":"clean_markdown_scraper","title":"Clean markdown scraper","description":"Fetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt.","read_only":true},{"name":"context_distill","title":"Context distill","description":"Deterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function — no external calls, no ML.","read_only":true},{"name":"instant_json_schema_verifier","title":"Instant JSON schema verifier","description":"Validate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines.","read_only":true},{"name":"balance_check","title":"Base Account Balance Snapshot","description":"Native ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt.","read_only":true},{"name":"calculate_fx_savings","title":"Calculate cross-border FX savings","description":"Arithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The comparators are assumptions, not measurements of any bank or provider; no protocol fee is deducted on this rail.","read_only":true},{"name":"counterparty_live_dossier","title":"Counterparty Pre-Wire Live Proof Dossier","description":"Unified pre-wire proof combining IBAN/BIC syntax, live registry lookup, retained exact-match sanctions snapshot, legal-name token match, country consistency, and signed receipt.","read_only":true},{"name":"lei_live_lookup","title":"Live GLEIF LEI & Parent Consolidation Lookup","description":"Live GLEIF v1 API lookup returning entity status, legal address, LOU registration, direct/ultimate parent relationships, SHA-256 payload digest, and signed receipt.","read_only":true},{"name":"vat_vies_live_lookup","title":"Live EU VIES VAT Registration Lookup","description":"Live European Commission VIES lookup for EU intra-Community transactions returning active registration status, trader name/address, requestIdentifier, SHA-256 digest, and signed receipt.","read_only":true},{"name":"uk_company_live_lookup","title":"Live UK Corporate Existence & ISO 20022 Office Lookup","description":"Live UK corporate lookup returning company status, registered office structured into ISO 20022 <PstlAdr> XML, PO Box check, SHA-256 payload digest, and signed receipt.","read_only":true},{"name":"iso20022_cbpr_cure","title":"ISO 20022 Structured & Hybrid <PstlAdr> Registry Cure","description":"Resolves live statutory registries (GLEIF, UK Companies House, Norway Brreg) into schema-bounded ISO 20022 Structured/Hybrid <PstlAdr> and pain.001 XML with signed receipt.","read_only":true},{"name":"iban_check","title":"IBAN Structure and Checksum Check","description":"Validate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud.","read_only":true},{"name":"lei_check","title":"LEI Structure and Checksum Check","description":"Validate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification.","read_only":true},{"name":"vat_mod97_check","title":"Belgian VAT MOD-97 Check","description":"Check the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance.","read_only":true},{"name":"swift_bic_check","title":"SWIFT/BIC Structure Check","description":"Check SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity.","read_only":true},{"name":"batch_validate","title":"Batch Identifier Checks (up to 50 items)","description":"Validate up to 50 tax, bank and legal-entity identifiers (IBAN, LEI, VAT, SWIFT/BIC, ABA routing, EIN, IFSC, ABN, GSTIN, ISIN, SEDOL, EAN-13, ISBN, E.164 or Luhn checks) in one batch request. Each result states its scope. Compare the current batch quote with individual quotes; savings depend on batch size.","read_only":true},{"name":"vendor_onboarding_pack","title":"Vendor Identifier Check Pack","description":"Check supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance.","read_only":true},{"name":"india_supplier_check","title":"India Supplier Verification Pack","description":"One call, one receipt: GSTIN + PAN + UPI VPA + IFSC for an Indian counterparty. Four deterministic structural checks, each stating its own scope. Built for cross-border procurement where the buyer is an agent that cannot open an INR account.","read_only":true},{"name":"pre_disbursement_guard","title":"Counterparty Risk Indicators","description":"Check supplier tax and bank identifiers (IBAN, LEI, EU VAT, UK company number), domain-age evidence and country mismatch signals before vendor payment. Requires a preceding receipt hash. An advisory result is not verified identity, fraud clearance or authorization to release funds.","read_only":true},{"name":"gstin_check","title":"GSTIN check (India)","description":"Validate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum.","read_only":true},{"name":"ifsc_check","title":"IFSC Format Check","description":"Check the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification.","read_only":true},{"name":"sanctions_address_screen","title":"Address Snapshot & Operator Policy Comparison","description":"Screen an EVM wallet address or ISO country code by exact comparison against the identified sanctions address snapshot and existing operator block policy. Current legal status is unknown; is_sanctioned is null. valid=false preserves a local block; valid=null never authorizes a transaction. Names are not screened. Missing, stale or incomplete evidence is explicit; no UN/EU coverage or sanctions cle","read_only":true},{"name":"company_number_format","title":"UK Company Number Format Check","description":"Check supported UK company-number syntax. No Companies House lookup, entity-existence check or active-registration verification.","read_only":true},{"name":"aba_routing_check","title":"ABA Routing Number Check (US Fedwire/ACH)","description":"Validate a US ABA routing number by its (3,7,1)-weight mod-10 Fedwire/ACH checksum. Catches mistyped or invalid routing numbers before payment; does NOT prevent transfer reversals or establish the recipient. Returns signed XDR-1 receipt.","read_only":true},{"name":"ein_format_check","title":"EIN Format Check (US)","description":"Validate US Employer Identification Number FORMAT (NN-NNNNNNN). Use during US business counterparty KYB verification. Returns signed XDR-1 receipt.","read_only":true},{"name":"abn_check","title":"ABN Check (Australia)","description":"Validate an Australian Business Number by its mod-89 checksum (11 digits). Required before invoice payment to Australian contractors. Returns signed XDR-1 receipt.","read_only":true},{"name":"cnpj_check","title":"Brazil CNPJ Check (Cadastro Nacional da Pessoa Jurídica)","description":"Validate Brazilian corporate tax ID (CNPJ) with official dual mod-11 check digits. Required for Brazilian B2B payments, PIX verification, and vendor due diligence. Returns signed XDR-1 receipt.","read_only":true},{"name":"uscc_check","title":"China USCC Check (Unified Social Credit Code / 统一社会信用代码)","description":"Validate 18-character Chinese business registration and tax code using GB 32100-2015 ISO 7064 Mod-31-3 checksum. Required for B2B supply chain trade with Chinese manufacturers. Returns signed XDR-1 receipt.","read_only":true},{"name":"japan_corp_check","title":"Japan Corporate Number Check (法人番号 - Houjin Bangou)","description":"Validate 13-digit Japanese Corporate Number assigned by the National Tax Agency using Mod-9 check digit algorithm. Required for Japanese B2B SaaS and enterprise billing. Returns signed XDR-1 receipt.","read_only":true},{"name":"kra_pin_check","title":"Kenya KRA PIN Check (Kenya Revenue Authority)","description":"Validate Kenyan Revenue Authority Tax PIN structure (A/P followed by 9 digits and checksum character). Required for M-Pesa B2B disbursement and Kenyan remote agency invoicing. Returns signed XDR-1 receipt.","read_only":true},{"name":"rfc_check","title":"Mexico RFC Check (Registro Federal de Contribuyentes)","description":"Validate Mexican SAT RFC corporate (12-char) or individual (13-char) tax code and homoclave. Required for Mexican contractor invoicing and SPEI cross-border settlements. Returns signed XDR-1 receipt.","read_only":true},{"name":"upi_vpa_check","title":"India UPI Virtual Payment Address (VPA) Validator","description":"Deterministic structural validation of an Indian UPI Virtual Payment Address (VPA / handle): local-part syntax, handle against a LOCAL list of accredited PSP handles (okhdfcbank, okaxis, paytm, ybl and others), and length rules. It is NOT a live registry lookup: no request leaves this worker, and an unlisted handle is reported as unrecognised rather than nonexistent. This does not establish that t","read_only":true},{"name":"uae_trn_check","title":"UAE Tax Registration Number (TRN) Format Validator","description":"Deterministic validation of UAE 15-digit Tax Registration Number (TRN) issued by the Federal Tax Authority (FTA) for VAT purposes.","read_only":true},{"name":"china_supplier_check","title":"China Supplier Verification Pack","description":"One call, one receipt: USCC + settlement IBAN + SWIFT/BIC for a Chinese counterparty. Deterministic structure and checksum validation with explicit scope per identifier.","read_only":true},{"name":"japan_supplier_check","title":"Japan Supplier Verification Pack","description":"One call, one receipt: 13-digit Corporate Number + settlement IBAN for a Japanese counterparty. Deterministic check digits, explicit scope.","read_only":true},{"name":"latam_supplier_check","title":"LatAm Supplier Verification Pack","description":"One call, one receipt: Brazilian CNPJ + Mexican RFC + settlement IBAN. Deterministic checks for the two largest LatAm corridors in one paid call.","read_only":true},{"name":"gulf_supplier_check","title":"Gulf Supplier Verification Pack","description":"One call, one receipt: UAE TRN + settlement IBAN + SWIFT/BIC. Deterministic structure validation for Gulf trade corridors, scope stated per identifier.","read_only":true},{"name":"africa_supplier_check","title":"Africa Supplier Verification Pack","description":"One call, one receipt: Kenya KRA PIN + settlement IBAN + SWIFT/BIC. Deterministic structural checks for East African trade corridors.","read_only":true},{"name":"rent_deposit_guard","title":"Rental Deposit Risk Indicators","description":"Check deposit IBAN checksum and supplied country/viewing indicators. Rule-based risk signals only; no ownership verification, escrow protection or guarantee against theft.","read_only":true},{"name":"rental_listing_risk","title":"Rental Listing Risk & Fraud Engine","description":"Explainable tenancy fraud risk score evaluated across irreversible payment demands, off-platform pressure, stolen photos, and advance wire signals. Deterministic rule engine.","read_only":true},{"name":"rental_verdict","title":"Rental Risk Summary","description":"Combine deposit identifier checks with supplied country, viewing and listing indicators. Does not verify landlord identity, property ownership or safety of payment.","read_only":true},{"name":"reconcile","title":"Settlement Reconciliation (ISO 20022 + NACHA)","description":"Deterministic reconciliation verdicts: pain.001/pacs.008 instructions vs camt.053 statements or NACHA ACH files, matched by end-to-end id and BigInt-exact amounts. Verdicts: SETTLED, UNPAID, AMOUNT_MISMATCH, DUPLICATE_PAYMENT, plus unmatched statement entries. Facts computed from the documents only — never inferred, never guessed. Returns signed XDR-1 receipt.","read_only":true},{"name":"create_b2b_invoice","title":"Create B2B contractor invoice","description":"Create a merchant-direct Base token invoice. New automated payments require a durable EOA authorization journal and a configured provider. No active protocol fee; no generic bank-wire authority, independent delivery or contract-wallet guarantee.","read_only":true},{"name":"get_b2b_invoice","title":"Get B2B invoice status","description":"Read public recorded invoice status and held-operation next action. Private records and credentials require a separate fresh read-only signature from the durably confirmed original payer; URLs and payment vouchers grant no read authority.","read_only":true},{"name":"simulate_spend_sentinel","title":"Simulate Spend Sentinel policy defense and delivery predicates","description":"Run synthetic prompt-injection halts, malformed-delivery rejection, and bounded-spend eligibility examples under AP2 envelopes. No live escrow, refund, facilitator or chain action occurs.","read_only":true},{"name":"aci_trust_lookup","title":"ACI-1 Agent Credit & Trust Rating Lookup","description":"Deterministic agent trust scoring and non-custodial unsettled exposure advisory evaluation (ACI-1). Quantifies counterparty grade (T0-T3), historical success rate, and maximum suggested settlement exposure without uncollateralized lending or float.","read_only":true},{"name":"csp_commitment_create","title":"CSP-1 Confidential Terms Commitment & Stealth Announce","description":"Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.","read_only":true},{"name":"iso20022_validate","title":"BAP-1 ISO 20022 Banking Message Validator","description":"Deterministic validation for institutional ISO 20022 XML/JSON payment messages (pain.001 credit transfer, pacs.008 customer credit, camt.053 bank statement) with XML DOCTYPE security guards, BigInt CtrlSum decimal sums, and ISO 13616 / 9362 / 17442 checksums (BAP-1).","read_only":true},{"name":"iso20022_to_x402_intent","title":"BAP-1 ISO 20022 to x402 Intent Mapper","description":"Translates validated ISO 20022 payment instructions (pain.001 / pacs.008) into deterministic EIP-712 payment-intent templates for autonomous x402 Base L2 USDC settlement (BAP-1). Zero custody, no fiat leg.","read_only":true},{"name":"syntax_preflight","title":"Multi-Identifier Syntax & Checksum Preflight (Free)","description":"Free offline mathematical checksum and format preflight across IBAN, BIC, LEI, EU VAT, and UK CRN, with live registry upgrade pointers and a signed receipt.","read_only":true},{"name":"counterparty_passport_verify","title":"Counterparty XDR-1 Passport Verifier (Free)","description":"Free bilateral verifier checking a counterparty's XDR-1 receipt signature, published signer, live-registry SKU tier, and timestamp age, returning a signed receipt.","read_only":true},{"name":"check_price","title":"Zero-cost price index and gasless x402 quote generator","description":"Instant zero-cost pricing hook for code402 tools. Returns the live price, an opaque quote_id, TTL, and the settlement URL. Free forever — feeds the price index into an agent planner's context without creating any financial obligation. If the planner acts on the quote, it hits the settlement_url with an EIP-3009 signed voucher.","read_only":true},{"name":"receipt_verify","title":"Verify any XDR-1 receipt — free, stateless, any issuer","description":"Verifies a signed XDR-1 receipt from ANY x402 service: recomputes the canonical digest and recovers the signer, then compares it to the declared signer. Free forever — no account, no quota, no storage (stateless). A valid receipt proves the signer signed that tool call at that timestamp; it does NOT prove funds moved or any business claim.","read_only":true}],"server_info":{"name":"code402","version":"1.3.0"},"category":"crypto","tags":["finance","developer","real-estate"],"kind":"remote","source":"registry","submitted":{},"first_party":false,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-09-25","stars":0,"badges":[],"sponsor":null,"page":"https://agentsindex.org/agents/io-github-89rat-code402/"}