HTTPay, Decentralized API Marketplace for AI Agents

Team: HTTPay Protocol, r4topunk
Program: Cosmos Brasil Builders Program / May 2025
πΊ Project Pitch
π GitHub Repository
π Live Demo
Project Overview
HTTPay is a decentralized protocol that powers a new kind of API marketplace β one designed for AI agents. Built on Neutron (Cosmos) using CosmWasm smart contracts, HTTPay enables APIs to be discovered, consumed, and paid for autonomously, without human involvement.
It unlocks a programmable, microtransaction-based economy where agents can access services 24/7 β and developers monetize APIs without manual billing systems.
The Problem
The current API economy has major limitations:
- Developers struggle with monetization due to manual billing, API keys, and lack of automation.
- AI agents cannot independently pay for services, relying on human configuration.
- Trust is lacking: no guarantees for either party without centralized intermediaries.
- Latency and integration complexity block real-time, automated decision-making.
Thereβs no infrastructure designed for autonomous API consumers β until now.
The HTTPay Solution
HTTPay offers a trustless payment system between API providers and AI agents using smart contracts.
How it Works:
- Registry Contract
Developers register APIs with metadata, price per call, and control settings (pause/update). - Escrow Contract
AI agents lock funds before requesting services. Funds are automatically released upon verified delivery, or refunded on timeout. - Full Automation
No human keys, no credit cards, no dashboards β only secure, autonomous execution.
Technical Features
- CosmWasm Contracts for Registry and Escrow
- IBC token support for cross-chain payments
- TypeScript SDK (
httpay
) for off-chain verification, wallet integration, and error handling - Next.js Frontend with shadcn UI for service discovery, escrow management, and wallet connection
- AI Agent Integration via Eliza-based consumer agents
- Fee mechanism for protocol sustainability
- Comprehensive testing, strict auth, and emergency freezing
Why It Matters
HTTPay captures the convergence of AI agents and Web3 infrastructure:
- Developers can monetize services through autonomous microtransactions
- AI agents can access APIs programmatically, on-demand, and trustlessly
- No need for human-triggered payments or manual configuration
- APIs previously underused can now serve thousands of agents 24/7
Market Opportunity
- API market size: $18B (2024)
- CAGR: 18.9% through 2030
- HTTPay is the first autonomous-first API marketplace on Cosmos, benefiting from:
- Low transaction costs
- Fast execution (~3s block time)
- Multichain support via IBC
- Developer-friendly smart contracts with CosmWasm
Ecosystem Fit & Roadmap
HTTPay makes Cosmos the natural infrastructure for the autonomous agent economy:
Traditional API Platforms | HTTPay |
---|---|
Human dashboards | Programmatic agent discovery |
Manual billing | Smart contract escrow payments |
Credit cards | Crypto + IBC microtransactions |
Limited to business hours | 24/7 automated interactions |
Upcoming Features:
- Reputation system for developers
- ATOM staking requirements to publish APIs
- LangChain + Eliza integrations
- DAO governance
- Subscription models for agents
Final Thoughts
HTTPay is more than a tool β itβs infrastructure for the agentic economy.
It enables real-time, trustless, autonomous API consumption and brings programmable payments to life.
Built on Cosmos. Powered by agents. Open to all.
The future of AI needs decentralized rails β and HTTPay is building them.
π» Try the demo: https://cosmos-httpay.vercel.app
π¦ SDK: https://www.npmjs.com/package/httpay
π GitHub: https://github.com/r4topunk/HTTPay
πΊ Pitch: https://youtu.be/5D-8EYUkIVw
π§ DoraHacks: https://dorahacks.io/buidl/26635