About
## Challenges we ran into
The hardest part wasn't the payment logic: it was that x402 is new enough that two incompatible versions were in circulation at the same time, and the docs hadn't caught up.
My endpoint was correctly returning 402 with payment requirements, but the client couldn't generate a signature. The only error I got was Cannot convert undefined to a BigInt: which doesn't tell you which field is missing or why.
## The problem it solves
Every API is sold by the month, and that's not a product choice it's a payments. Card networks charge ~$0.30 in fixed fees per transaction. A single LLM call costs $0.000037. You cannot sell that on card rails, so it gets bundled into a subscription instead.
**The result:** a developer who needs five API calls has to create an account, hand over a card, and commit to a month. An AI agent, which can do none of those things, is locked out entirely.
**METER** makes the API pay for itself, mid-request. The client sends a request with no credentials. The server responds **402 Payment Required** with a price. The wallet signs a USDC authorization, the request retries, and settlement happens onchain about one second, end to end.
What this enables:
**Pay for what you use :** five calls costs five calls, not a month **No signup, no API key :** nothing to issue, rotate, or leak **No card required :** works for developers who can't easily get international cards, which is a real barrier in India **Agents can buy things : **an autonomous client can't fill in a signup form, but it can sign a payment inside an HTTP request
Why it's safer: there's no stored credential to steal. Each payment is a single-use signature, scoped to one amount, one recipient, with an expiry.
Built on the x402 protocol, running on Base Sepolia.
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.






