HookPay

Pay-per-use API billing with off-chain micropayments via state channels.

Repo
HookPay banner

About

Description:

HookPay is a developer-focused CLI tool that enables API metering and per-call billing using off-chain state channels on the Yellow Network. It allows API providers to set rates (e.g., 0.001 USDC per call) and consumers to automatically pay as they use the API—no subscriptions, no gas per call, and instant settlement when the session ends. The project brings a Stripe-like experience for Web3 but focused on developer infrastructure (B2B) — ideal for metering AI inference, blockchain RPCs, or data feeds. It unlocks new forms of machine-to-machine micropayments, enabling use by IoT devices, drones, and autonomous agents.

Problem:

Current issues with API billing: High transaction fees make pay-per-use impractical. Developers rely on subscriptions or prepaid credits, leading to capital lock-in. Dynamic, real-time pricing models (based on load, latency, etc.) are nearly impossible. No direct machine-to-machine payment infrastructure for autonomous systems. On-chain microtransactions (e.g., per-API-call) are too slow and costly.

Solution:

HookPay introduces: ⚡ Off-chain, zero-fee micropayments through Yellow state channels (Nitrolite). 💡 True pay-per-use model: pay only for what you consume. 💸 Instant settlement after session close (hourly/daily). 🔄 Dynamic pricing—APIs can change cost on-the-fly based on usage metrics. 🤖 Autonomous payments—suitable for IoT, bots, and M2M systems. 🔓 Redeemable balance—users can withdraw unused funds anytime.

Innovation:

We are not just “on-chain billing.” The innovation is in combining metering + off-chain settlement + CLI-based developer UX for: Real-time accounting without blockchain latency. Interoperability across any API (Web2 or Web3). Enabling autonomous economic agents to transact natively. Bringing usage-based billing to decentralized systems — something Stripe and AWS haven’t yet done natively on-chain.

Market:

Primary: Developer infrastructure (API providers, SaaS platforms, data or AI APIs). Secondary: IoT, autonomous systems, trading bots, blockchain RPC services. Market trend: shift from subscriptions → usage-based → streaming payments. TAM: multi-billion-dollar API economy (~$180B by 2028) underserved in Web3.

Revenue model:

1–2% protocol fee per settlement. Premium CLI features for analytics, dashboards, and integrations (Stripe-like). Enterprise SDK/API licensing for larger API networks. Optional staking / slashing mechanism to secure payment channels.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

ServiceNet

Monetize APIs, AI models, and services with instant micropayments using Yellow and ENS

HackMoney 2026Prize winner Dormant#ai#payments

AgentPay-x402

Autonomous AI agent that discovers, pays for, and uses APIs with real crypto micropayments

Micropay Agents

Trustless micropayment channels for pay-as-you-go DeFi data using Hashchain Protocol and 1inch API.