The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Agentic Endpoints listing page.
x402-powered micro-SaaS utilities for autonomous AI agents. Pay-per-call with USDC micropayments on Base — no API keys, no accounts, no subscriptions.
Live at https://ai.oliverkiss.com
| Route | Method | Price | Description |
|---|---|---|---|
/once-key | POST | $0.001 | Claim an action exactly once, and replay its recorded result |
/once-key/complete | POST | Free | Record the outcome of a claimed action |
/once-key/release | POST | Free | Surrender a claim whose work failed |
/scrape | POST | $0.005 | Web scraping and text extraction |
/pdf-parse | POST | $0.01 | PDF text extraction from a URL |
/compress | POST | $0.005 | Token compression / context reduction for LLMs |
/meetings/import | POST | $0.004 | Import a meeting transcript, private or searchable |
/meetings/search | POST | $0.006 | Full-text search across your meetings |
/meetings/get | POST | $0.002 | Read one meeting in full |
/meetings/list | POST | $0.001 | List meetings (metadata only) |
/meetings/delete | POST | $0.001 | Delete a meeting and its index entry |
/vault/store | POST | $0.02 | Store a client-encrypted item |
/vault/retrieve | POST | $0.02 | Retrieve a client-encrypted item |
/vault/delete | POST | $0.005 | Delete an item |
/vault/exists | POST | $0.001 | Check whether an item exists |
/vault/list | POST | $0.001 | List the keys in a namespace (metadata only) |
/vault/rotate-token | POST | Free | Replace a namespace token that may have leaked |
/credits/buy | POST | $5.00 | Buy $6.00 of prepaid credit (20% bonus) |
/credits/buy-25 | POST | $25.00 | Buy $32.50 of prepaid credit (30% bonus) |
/credits/balance | POST | Free | Check a credit balance |
/revenue | GET | Free | On-chain USDC received, read from Base |
/mcp | POST | Free to list | Remote MCP server; each tool costs its route's price |
/ | GET | Free | Service discovery (JSON) or landing page (HTML) |
/health | GET | Free | Health check |
/status | GET | Free | Uptime, error rate and latency, derived from recorded behaviour |
/stats | GET | Free | Demand funnel: challenged, paid, free, by route |
/llms.txt | GET | Free | Prose description for a model given only a URL |
/openapi.json | GET | Free | OpenAPI 3.1 description |
GET / content-negotiates: send Accept: application/json for the machine-readable
endpoint catalogue, anything else gets the HTML landing page.
HTTP 402 Payment Required with the price, network and receiving addressX-PAYMENT headerTry it — this returns a real 402 challenge, not an error:
Every paid endpoint is also exposed as an MCP tool over Streamable HTTP at
https://ai.oliverkiss.com/mcp, implementing revision 2026-07-28 (stateless:
no initialize handshake, no session header) with a fallback for clients still
sending the 2025-06-18 handshake.
tools/list is free so clients can discover the catalogue. tools/call
re-enters the corresponding paid route in-process, so it passes the same x402
gate, body cap and validation as a direct HTTP call. Without a valid
X-PAYMENT header the tool returns isError: true and a machine-readable
payment demand (price, payTo, asset, network) rather than performing work.
Per-call x402 caps revenue at whatever a buyer will tolerate signing: $1,000 at $0.005 a call is 200,000 signatures. Prepaid credits sell the same work once, in an amount worth the transaction, and let callers whose wallets cannot sign per request use the service at all.
Both paths run side by side and neither is privileged:
Omitting X-Credit-Token produces exactly the 402 challenge it always did, so
the Bazaar listing and every existing integration are unaffected.
Credits are integer micro-dollars, never floats: $0.001 has no exact binary representation, and a ledger that drifts is worse than no ledger. Each account is its own Durable Object addressed by the hash of its token, so the balance check and its debit are atomic and one account cannot queue behind another. Calls are debited before the work and refunded if it 5xxs, because an outage must not bill a customer for nothing.
The token is shown once and is not recoverable — only its hash is stored.
An endpoint nobody can find earns nothing, so the service is registered wherever agents actually look. Every catalog below was chosen because it verifies ownership by domain or wallet rather than by a financial account — the Coinbase CDP Bazaar is skipped for exactly that reason.
| Catalog | Status | How |
|---|---|---|
| PayAI Bazaar | Not listed on mainnet — mechanism proven on testnet | Listing requires a payment that settles, once per route; reaching /verify does nothing. Confirmed on Base Sepolia: all 9 routes appeared in /discovery/resources within seconds of paying. X402_TEST_PRIVATE_KEY=0x... node scripts/trigger-indexing.mjs costs $0.068 for the whole catalogue |
| x402-list.com | Submitted, pending review | POST /api/v1/submit; free because the service is on a custom domain |
| Official MCP Registry | Published — com.oliverkiss/agentic-endpoints, status active | ./scripts/publish-registry.sh. Ownership proven by an apex TXT record and an ed25519-signed timestamp, so no financial account is involved |
| npm | Published — agentic-endpoints | cd sdk && npm publish. Counts as discovery, not just convenience: npm is crawled by every AI coding assistant, so the client is findable by the same models that would use the service |
| Smithery | Published — kiss-olie/agentic-endpoints, quality 98/100 | npx -y @smithery/cli@latest mcp publish "https://ai.oliverkiss.com/mcp" -n kiss-olie/agentic-endpoints — no auth needed, and it updates in place. The scan finds all 16 tools. Note the namespace is kiss-olie, not the GitHub handle. Their registry API and the markdown view served to non-browser clients are both badly stale (still report 12 tools and the old favicon); only the browser-rendered page is current, so verify there |
| Glama | Not listed; claim file pre-placed | glama.json at the repo root (maintainers: ["olie-kiss"], schema glama.ai/mcp/schemas/server.json) claims the listing automatically if their GitHub crawler indexes us. The separate /.well-known/glama.json is a different schema (connector.json, an opaque glama_claim_ token) for remote connectors and needs a listing to exist first |
Aggregators such as PulseMCP ingest from the official registry, so publishing there covers several directories at once. The repository is public, so directories that crawl source repos can now see it too.
Machine-readable descriptions are generated from the same pricing table that
gates payment, so they cannot drift from what is actually charged: /llms.txt
for a model handed a bare URL, /openapi.json for tooling, plus /robots.txt
and /sitemap.xml. Tests assert the prices agree across all of them.
The service could demand payment for months with no way to tell whether a
payment ever arrived — including the failure mode where payments verify but
never settle. A cron trigger sweeps Base every 5 minutes for USDC Transfer
logs into the receiving address and folds them into a running ledger in KV.
Revenue is read from the chain, not from our own logs or the facilitator's
word, so it cannot be inflated by a bug on either side. GET /revenue publishes
the ledger for free — it costs nothing and gives a prospective caller evidence
the service actually transacts.
Set ALERT_WEBHOOK_URL to a Discord webhook to be notified when money lands:
The first scan starts the watermark at the current chain head rather than genesis; scanning millions of blocks through a public RPC node would fail repeatedly and never establish a watermark at all. The watermark advances only on a successful scan, so a transient RPC failure is retried on the next tick with nothing missed.
Revenue monitoring only sees money that arrived. The service takes thousands of requests a day and, so far, no revenue — and reviewing the callers, almost all of it is liveness probes, trust scanners and directory crawlers, which are indistinguishable from a customer in an access log. The gap that leaves is a genuine buyer being refused for a fixable reason and leaving without ever appearing as a distinguishable line.
src/lib/tripwire.ts emits one structured line per notable request:
| Signal | Meaning | Confidence |
|---|---|---|
payment_attempt | Carried a payment authorization | high |
credit_use | An existing customer spending prepaid credit | high |
prospect_402 | An unrecognised caller hit a priced route | low |
It keys on behaviour, not identity. A monitor never carries a payment
authorization, so anything that does is trying to buy — and that holds even
when the User-Agent claims to be a bot. User-Agent only suppresses known
noise and grants nothing, because it is forged for free.
Note that the SDK inherits Node's User-Agent, which is exactly what an
anonymous script sends, so no string positively identifies a customer.
Anything unrecognised stays unclassified rather than being written off; the
tests pin this, since misfiling it would suppress the one signal worth having.
prospect_402 is a guess and is marked low confidence for that reason — it
should never be read as a sale.
The check runs ahead of the credit and x402 gates, both of which answer without reaching application code, because a refusal is precisely the event worth recording. No header values are logged and the caller IP is dropped in favour of the country Cloudflare already derived.
An agent choosing between two paid services has no way to tell which one works.
GET /status is free and answers that from recorded behaviour, not a promise:
Getting the number honest mattered more than getting it published. It first
shipped reporting an 11.39% error rate; every one of those was a 404 on a path
that never existed — my own probes and passing crawlers — plus tokens that were
correctly rejected. An agent reading that would have taken its money elsewhere
and been right to. So client errors (4xx) are counted separately from failures
(5xx), and requests to unknown paths are excluded from the rate entirely and
surfaced as a raw count instead. Otherwise any stranger could degrade our
published reliability just by scanning for /wp-admin.
Latency comes from histogram buckets, so the figures are reported as
p95_at_most — a bound, which is what a bucket can honestly support, rather
than a precise percentile it cannot. Uptime credits only the window actually
observed, so day one does not claim 24 hours from an hour of heartbeats. The
heartbeat is written before the revenue scan, so an outage at a public RPC
node is not reported as ours.
GET /stats publishes the demand funnel — challenged, paid, free, per route —
which is the only thing that distinguishes "nobody has found us" from "agents
arrive and decline to pay".
sdk/ is a dependency-free TypeScript client. It deliberately does
not sign payments — it takes a credit token, or your own x402-aware
fetch, so it never needs a private key.
Its reason to exist is exactlyOnce, which collapses the claim/complete/release
protocol into one call: it handles all four claim outcomes, records the result
so later callers can replay it, releases the claim if your work throws, and
rethrows your error untouched.
exact scheme)npx wrangler if not installed globally)Do not set
FACILITATOR_URLunless you mean to override the default. It must be a valid URL. If it is set to anything else, every paid endpoint returns 500 instead of a 402, and the failure is only visible innpx wrangler tail— this silently broke all payments once already.
The default facilitator is https://facilitator.xpay.sh: free, no signup, and it
supports Base mainnet.
Settlement is the one step that cannot be tested by inspection, and on
mainnet every attempt costs real USDC. [env.testnet] deploys the same code
to a workers.dev URL priced in Base Sepolia USDC, which
faucet.circle.com gives away with no account.
Only the exact string eip155:84532 selects Sepolia; anything unrecognised
falls back to mainnet. That asymmetry is deliberate — a Worker that wrongly
demanded testnet tokens would hand out real work for money anyone can mint.
Pays for each route once, which is what puts it in the catalogue. $0.082 for
all 14 utility routes; credit packs are excluded unless you pass
--include-credits. The script checks the payer's USDC balance against that
total first and refuses to start if it falls short, because a wallet that runs
dry midway leaves the catalogue half-populated with no way to tell which
routes made it.
A claim on its own is only half an idempotency key. The agent that loses the race needs to know what happened, or it has to either block forever or repeat the side effect anyway — which is the failure this endpoint exists to prevent. So the lifecycle is three calls, and only the first one costs money.
status | Meaning |
|---|---|
claimed | You won. Do the work, then call /once-key/complete |
duplicate | Already done. result holds the original outcome — use it. has_result is false if the original caller recorded no result, in which case result is null because there is nothing to replay |
held | Claimed by someone who set no lease and never finished. There is no result and may never be one. Do not do the work and do not treat it as done; locked until expires_at |
in_progress | Another caller holds a live lease. Wait retry_after; do not do the work |
conflict | Same key, different payload hash. Your key derivation is wrong; never retry |
Every later claim of that key returns duplicate with that result.
duplicate always means completed. A claim that was started but never
completed reports held instead, precisely so a caller cannot mistake work
that is still in flight — or that died half way through — for work that
succeeded. The SDK raises HeldError rather than returning a result of
undefined.
If the work fails, POST /once-key/release (free) frees the key immediately.
lease_ttl is opt-in, deliberately. Without it a claim is held for its
full ttl and nothing can ever run your side effect twice. With it, a
claimant that crashes is presumed dead once the lease lapses and the next
caller takes over with recovered: true. Leases on by default would have
made every key claimed by the original claim-only API silently reclaimable —
a duplicated charge is a far worse failure than a key that needs a retry
under a fresh name.
The agentic-endpoints npm package wraps all of this in one call:
Inflates FlateDecode content streams, expands PDF 1.5+ object streams, and maps
character codes through each font's /ToUnicode CMap, so subset and composite
fonts come back as real text rather than glyph indices. Encrypted PDFs and
image-only scans return 422 rather than filler content, so callers are not
billed for a result that is known to be useless.
Meeting notetakers keep transcripts inside their own app, where the only reader is a human scrolling a sidebar. This puts them somewhere your agents can ask questions of them.
You choose, per meeting, whether this service can read it. The choice is required, and the wrong field for the mode is refused rather than guessed.
visibility | You send | Stored as | Searchable | We can read it |
|---|---|---|---|---|
private (default) | ciphertext | opaque bytes | no | no |
queryable | transcript | plaintext + FTS index | yes | yes |
Sending plaintext as private is an error rather than a quiet indexing, and
sending ciphertext as queryable is an error rather than a meeting that can
never match a search. Both refusals exist because the failure they prevent is
silent and only discovered long after it matters.
Search returns ranked excerpts plus searched_meetings and
private_meetings_skipped. Read them. If searched_meetings is 0, an empty
result means nothing was searched, not that the topic was never discussed —
and an agent that conflates those will confidently tell a user something never
happened.
Via MCP the same thing is meetings_search, meetings_import, meetings_get
and meetings_list.
Storage is free; retrieval is paid. The server only ever sees ciphertext — encrypt client-side before calling.
Namespaces are caller-chosen strings, so they are claimed on first write. That
first store returns a namespace_token once; every later operation on the
namespace must present it.
Writes are last-write-wins unless you say otherwise, so two agents rotating
the same secret would clobber each other silently. Pass if_match with the
item's current updated_at for a compare-and-swap, or if_absent to create
only; either answers status: "precondition_failed" instead of overwriting.
POST /vault/list ($0.001) returns the keys and their versions but never any
ciphertext — that is what the $0.02 retrieve is for.
Rotate a token you think has leaked, with POST /vault/rotate-token. It
is free: putting a price on the correct response to a suspected leak is how
you get callers who never rotate. It requires the current token, and there
is no recovery if that is lost — any path that could restore access without
it would be a second way in, and would serve an attacker just as readily as
the owner. Lose it and the namespace is gone by design; there is no account
to reset it against.
| Limit | Value |
|---|---|
Free requests (no X-PAYMENT) | 60/min per IP, per Cloudflare location |
| Vault writes | 20/min per IP |
| Paid requests | 600/min |
| Request body | 2 MiB |
| Vault item | 256 KiB ciphertext |
| Vault namespace | 1,000 items / 25 MiB |
Paid requests are throttled far more loosely than anonymous ones, because a caller who is paying per call already has a spend ceiling. They are not unlimited.
Paid calls issued concurrently from the same wallet are refused a
noticeable fraction of the time — measured at 2 in 10 up to 8 in 15 on Base
Sepolia, independent of our rate limits, and reproducible with as few as 5 in
flight. The refusal is an ordinary 402, and it originates at the facilitator,
which will not verify overlapping authorizations from one payer.
Nothing is charged for a refused call. Measured directly: 10 concurrent calls at $0.005, 8 settled, 2 refused, and the payer's balance moved by exactly $0.040. Any status at or above 400 cancels x402 settlement, and that holds here.
So a 402 on a paid request means the payment did not happen and it is safe to
retry with a fresh signature. If you need throughput, issue paid calls
sequentially, or retry on 402 with a short backoff. Do not treat a 402 as a
charge you need to reconcile.
Since 0.4.0 the SDK does this for you: post() replays a 402 twice by
default, with jittered backoff, and maxPaymentRetries tunes it. Jitter is not
decoration — the colliding requests belong to a single payer, so a fixed delay
would realign them on the next attempt. Retries only happen when you supplied
an x402-aware fetch; the SDK never signs payments itself, so without one a
402 is terminal and is surfaced immediately rather than stalling.
src/lib/url-guard.ts): scheme
allowlist, private/reserved IPv4 and IPv6 ranges blocked, hostnames resolved
over DNS-over-HTTPS and private answers rejected, every redirect hop
re-validated, and response bodies bounded. It fails closed.
It does not defeat DNS rebinding, and does not claim to: the DoH probe
and the fetch are two independent resolutions, so a hostile low-TTL
nameserver can answer them differently. Pinning the fetch to the vetted
address is not expressible on Workers — cf.resolveOverride only accepts
hostnames inside your own zone, and an IP literal breaks TLS SNI. What
bounds the risk is the egress path: Workers reach the internet through
Cloudflare's network, which has no route to RFC1918 or loopback and exposes
no metadata endpoint. Do not place anything sensitive where this Worker's
egress can reach it on the assumption that this guard stops it.namespace_token; tokens are stored only as
SHA-256 hashes and compared in constant time.invoices
or billing could be claimed by anyone for $0.001 and would lock out the
rightful owner permanently. Making real namespaces unguessable means there
is nothing worth squatting. Use myapp-<uuid>. Names claimed before this
rule keep working./once-key/complete and /once-key/release return an identical 404 whether
the namespace was never claimed or your token is wrong, because a free
existence oracle is the reconnaissance step before squatting. The paid
/once-key and /vault/* routes answer 200 with status: "forbidden"
instead of 403, so that each probe actually settles a payment — a 4xx
would cancel settlement and leave the payment header replayable, making the
oracle free after all. Branch on status, not on the HTTP code.namespace_token is a bearer credential with no recovery path. Anyone
holding it is the owner. Worse than a normal leak: /vault/rotate-token
is free and needs only the current token, so whoever steals it can rotate
first and lock you out irreversibly. OnceKey has no rotation at all, so a
leaked OnceKey token is permanent. There are no accounts, no email, and no
support channel that can restore access — treat these tokens like a private
key, and store them before you make the call that returns one.alg label and the size are all stored in the
clear, so the service can tell which named secrets you hold and how large
they are. alg is an advisory label: nothing here can verify that what you
sent was in fact encrypted. Use high-entropy namespace names — ownership is
first-writer-wins, so a guessable namespace can be squatted (now enforced;
see above).status field, never a
4xx. The x402 middleware cancels settlement above 399, so a 4xx returned
after the work is done gives the answer away free and leaves the payment
header replayable.RECEIPT_SECRET. Note that only /once-key
and the vault endpoints return a receipt — the stateless utilities
(/pdf-parse, /scrape, /compress) do not.X402_PAY_TO. If it leaks, the money is gone.Canadian-friendly off-ramps: Kraken, Newton, Shakepay, Coinbase. US-only services such as Mercury and Sphere Pay are not an option.
/verify does nothing, which is why the catalogue held 0 of 28,095 of our
routes. On testnet all 9 appeared within seconds. Announcing the mainnet
catalogue costs $0.068, not the ~$1 assumed for months./stats records the funnel precisely so that
"nobody has found us" and "agents arrive and refuse to pay" stop looking
identical. So far the answer is the first one./.well-known/agent-card.json and /.well-known/agent.json roughly 80 times
a day and get a 404, which is the correct answer. Under A2A v1.0 a card is
a binding declaration, not a description: §8.3.1 requires each interface to
"accurately declare its transport protocol and URL", §8.3.2 obliges clients
to call it, and §5.1/§3.1 make a declared interface owe all 11 operations
(SendMessage, GetTask, ListTasks, CancelTask, …). This is an MCP
server, not an A2A agent. Publishing a card would advertise a broken agent to
every A2A crawler and registry — strictly worse than the 404. Revisit only
alongside a real A2A binding./scrape, /pdf-parse and /compress compete with free libraries. The
defensible endpoints are /once-key and /vault: coordination primitives a
single agent cannot self-host, because they answer questions about what
other agents have done.extractive compression strategy is heuristic and unvalidated against real
agent workloads.MIT — see LICENSE.