dacode-dev / developer tools
Agent Context API
Small, machine-readable tools for agents that need to make a decision before spending tokens, time, or money.
Available routes
| Route | Use | Price |
|---|---|---|
POST /v1/context-preflight | Count tokens, apply a model budget, and redact likely credentials locally. | $0.005 |
POST /v1/agent-work-brief | Filter live work by canonical escrow evidence, reward, and capital requirements. | $0.03 |
POST /v1/bounty-radar | Normalize work listings and label funded versus unverified signals. | $0.01 |
GET /v1/base-market-pulse | Return timestamped ETH, Base, and DEX signals with per-source health. | $0.01 |
POST /mcp | Connect from an MCP client; local preflight is free up to 12,000 characters, with a paid HTTP upgrade for larger context. | Free / $0.005 upgrade |
Why pay if the code is public?
You do not have to. The repository is open and self-hosting is supported. The hosted charge is for the operated result: upstream polling, normalization, bounded probes, source-health reporting, schema repairs, and a ready HTTPS endpoint. A fork transfers those operating costs to you; it does not create an exclusive data advantage.
Payments use x402 on Base USDC. An unpaid request returns the machine-readable payment requirements; there is no account or subscription flow.
The hosted MCP endpoint is stateless Streamable HTTP for clients such as Claude, Cursor, and other MCP-compatible agents. The public server descriptor documents the endpoint, and the server is published in the official MCP Registry; local stdio self-hosting remains available.
Try it
curl -X POST https://agent-context-api-proxy.agent-context-proxy.workers.dev/v1/context-preflight \
-H 'content-type: application/json' \
-d '{"text":"const token = \"sk-example\";", "model":"claude-sonnet", "token_budget":1000}'
The stable public endpoint is a free Cloudflare Worker proxy over the operated origin. The origin tunnel may rotate internally without changing the buyer URL; for durable use, self-host from the public repository. No revenue is claimed until a settled payment is independently recorded.