Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/sigelo-io:sigelo-io-delegation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: sigelo-spend keeper Delegation API
version: 0.1.19
summary: The bounded-spending keeper (MONERO.md §4) — loopback HTTP, one agent per bearer token.
license:
name: MIT
identifier: MIT
description: 'A non-LLM service over one `monero-wallet-rpc`. Each agent is one Monero **account** with its
own bearer token, caps, allowlist and derived sigelo identity. The request never names an
account: the token decides it. Loopback only (127.0.0.1); experimental: stagenet by default, mainnet
with small amounts; no outside review yet.
**Errors.** Every error response is `{error, code, …}` (`#/components/schemas/Error`):
`error` names the failing check in prose, `code` is that check as a token (the reason''s
prefix, see `Error.code`), and a cap refusal adds `facts`. Some answers carry more fields
beside those (a replay''s `txid`, a revoke''s `revoked`, /health''s `service`); they are listed
per response. An unexpected exception on any route is `500 {error: "service: …", code: internal}`.
**Status codes.** 200 · 202 approval needed · 400 malformed request (`request`, or `body`
for a broken stream) · 401 missing, unknown or revoked token (`token`; every route but
`/approve`, which takes no token) · 403 refused by policy · 404 unknown route or foreign
`?agent=` · 408 body too slow (10 s, `body`) · 409 `ref` reused for a different payment
(`repeat`) · 413 body over 1 MB (`body`) · 500 the log could not be written (`log`) or an
unexpected exception (`internal`) · 502 the wallet refused, failed or answered malformed
(`wallet`, `wallet_locked`, `wallet_funds`, `wallet_offline`, `wallet_slow`) — and, on `/pay` and `/fund`, UNCERTAIN (`code:
relay_failed`: the money may have moved; never retry) · 503 the keeper''s clock is behind the
newest line it signed, or before its build''s floor (`clock_behind`, every route that signs:
nothing was signed, logged or sent; try later), or (`busy`, with `Retry-After: 1`) more
than 64 requests already wait in the one-at-a-time lane (`/pay`, `/delegate`, `/fund`,
`/revoke`, `/approve`; at most 4 of them `/approve`): nothing was done, try again in seconds.
**Who may call (every route, before any token or body).** The `Host` header must be
`127.0.0.1`, `localhost` or `[::1]`, with this keeper''s port if a port is given; any `Origin`
header (`null` included) is refused: both **403, `code: origin`** — browsers send `Origin` on
every POST and a DNS-rebound page sends its own `Host`; no keeper client sends either. A POST
must be `Content-Type: application/json` (else **415**, `code: request`): a web page can post
`text/plain` to 127.0.0.1 without a CORS preflight, never JSON. On the lane routes but
`/approve` the token is checked before the body is read or the request waits, so a
token-less post never delays a real one; it is checked again when the request''s turn comes.
**Free and paid (`licence_required`).** A keeper without a valid licence (apps/keeper/README.md
"Install") is the free tier: one keeper, one agent, that agent''s whole policy. The paid
verbs refuse with **403, `code: licence_required`** — a refusal like every other check, not
402 — and the message names the feature and why the licence is not valid, then says that
nothing was signed, logged or sent: `POST /delegate`, `POST /fund`, `POST /approve`, and a
`/pay` that would need an approval (above `approval_above`; refused, never paid without
one). `POST /revoke`, `GET /delegates` and every other route are never gated. The licence
is a sigelo attestation, verified offline at start, on a policy reload and before each paid
verb; an expired one makes the paid verbs refuse from that second and changes nothing else.'
servers:
- url: http://127.0.0.1:38090
description: The default port (`sigelo-spend serve --port`). Loopback only; never exposed.
security:
- bearer: []
tags:
# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/sigelo-io/openapi/sigelo-io-delegation-api-openapi.yml