Tollgate

Agents pay per API call in HBAR or an HTS token: x402 paywall, metered, no keys, no subscriptions.

Visit Repo
Tollgate banner

About

Tollgate turns an ordinary HTTP API into a pay-per-call resource that an autonomous agent can use with no account, no API key and no subscription.

An unpaid request returns HTTP 402 carrying a machine-readable price for that exact request. The agent signs a Hedera TransferTransaction for the quoted amount and retries with an X-PAYMENT header; the server verifies and settles that payment through the Blocky402 facilitator and only then serves the data. Pricing is metered rather than flat — a base charge plus a per-record charge plus a surcharge for full detail — so a one-record query costs a fraction of a hundred-record one, and the schedule is published at /schedule so an agent can budget before it spends anything.

The same request can be paid in HBAR or in X402T, a Hedera Token Service token that carries a 2% fractional fee. Both prices come from one meter — the token amount is derived from the tinybar quote — so choosing the token never changes what a request costs. The token was created with every key empty, so neither its fee nor its supply can be changed by anyone, including us.

The demo endpoint is live on a public host and serves real Hedera mirror-node data. The server holds no private key at all: the buyer signs, the facilitator submits the transaction and pays the network fee, and every settlement is independently verifiable on the mirror node by anyone, without trusting us or the facilitator.

Payments can also be recorded as receipts on a Hedera Consensus Service topic created with no admin key, so the trail is append-only and not even the operator can rewrite or delete a record after the fact. Writing receipts needs an operator key, so it is opt-in and switched off on the public demo, which keeps that box keyless. Reading needs no key, no account and no SDK: the /receipts endpoint hands back the raw mirror-node URL alongside its own answer, so anyone can audit the same trail from a source we do not control.

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?

QuietLast push 84 days ago

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.

Strata402

x402-powered pay-per-request DeFi service on Hedera — AI agents pay HBAR automatically, no API keys.

VendingAgent

Autonomous pay-per-call API proxy using Hedera x402 and Chainlink CRE for agentic workflows.