0%
Apiosk

Status

in progress

Client

Internal product

Duration

Ongoing

Overview

Apiosk is payment-native API infrastructure that enables AI agents and applications to discover, call, and pay for APIs on demand. It replaces traditional API keys, subscriptions, and invoicing with per-request USDC payments, turning payment into authentication and giving API providers a simpler way to monetize instantly consumable services.

Apiosk was built around a simple idea: APIs should be paid for the same way they are consumed—one request at a time. Traditional API access relies on API keys, subscriptions, and account provisioning, creating unnecessary friction for both providers and consumers. Apiosk replaces that model with payment-native authentication powered by the x402 protocol and on-chain settlement.

At its core is a high-performance Rust gateway that acts as a reverse proxy. When a client requests a paid endpoint, the gateway returns structured payment requirements, verifies the payment proof, and forwards the request once payment has been confirmed. This enables instant, trustless access for browsers, backend services, scripts, and AI agents without API keys or manual provisioning.

Alongside the gateway, Apiosk provides a management dashboard for publishing APIs, configuring pricing, managing wallets, monitoring usage, and tracking revenue. Providers can expose free and paid endpoints under a single API while maintaining complete control over pricing and access policies.

Gallery

Apiosk - Image 1
Apiosk - Image 2
Apiosk - Image 3
Apiosk - Image 4
Apiosk - Image 5
Apiosk - Image 6

Technologies Used

RustAxumTokioTypeScriptNext.js 16React 19Tailwind CSSshadcn/uiSupabasePostgreSQLBase (Ethereum L2)USDCx402 ProtocolMoka Cachesqlx

Key Features

Per-request USDC payments on Base instead of subscriptions or prepaid plans
HTTP 402 payment flow with machine-readable payment requirements
Browser paywall experience with wallet-based checkout
Programmatic flow for backends, scripts, and AI agents
Non-custodial payouts that route funds directly to provider wallets
Per-endpoint pricing for free and paid routes within the same API
High-performance Rust gateway with cached configuration lookups
x402 protocol support with EIP-712 payment proof verification
Real-time request, revenue, and settlement visibility in the dashboard
Reverse-proxy architecture that monetizes existing APIs without code rewrites
On-chain transaction receipts for transparent settlement history
Wallet identity model that removes API key issuance and rotation
!

Challenges

  • Eliminating API keys without sacrificing security
  • * Making payments feel as fast as a normal HTTP request
  • * Supporting browsers, servers, scripts, and AI agents with one protocol
  • * Designing a scalable gateway capable of very high throughput
  • * Giving providers flexible monetization without changing their existing APIs

Solutions

  • * Used wallet identity as the authentication mechanism
  • * Implemented the x402 payment flow with structured payment requirements
  • * Built a Rust reverse proxy optimized for low latency
  • * Added intelligent caching to minimize verification overhead
  • * Created a unified dashboard for pricing, wallets, analytics, and settlements
  • * Designed the platform around existing APIs, requiring minimal integration effort

Have a project in mind?

We'd love to hear about what you're building.