AxonGate API
7 endpoints, one payment flow. GET endpoints take query parameters; POST endpoints take a JSON body.
| Endpoint | Route | Price |
|---|---|---|
| Safe Read | GET/POST /v1/read | $0.002 |
| Web Search | GET/POST /v1/search | $0.004 |
| Grounded Answer | POST /v1/answer | $0.015 |
| Claim Verify | POST /v1/verify | $0.02 |
| Injection Scan | POST /v1/scan | $0.002 |
| Token Check | GET/POST /v1/token-check | $0.01 |
| Batch Read | POST /v1/read/batch | $0.03 |
Payment flow
- Call the endpoint. Without payment you receive
402with base64 JSON requirements inPAYMENT-REQUIRED(schemeexact, one entry per network: Baseeip155:8453, Polygoneip155:137, Arbitrumeip155:42161; on EVM networks payTo is0xcD11393c8505C5A44F8b998E0c96BcC5698d76A7). - Sign an EIP-3009 USDC authorization with an x402 client and retry with
PAYMENT-SIGNATURE. - On success you get the result plus a
PAYMENT-RESPONSEheader with the settlement transaction. Errors are not settled.
Errors use {"error": code, "message": text}: 400 invalid_url / invalid_request, 413 too_large, 415 unsupported_content, 424 target_error / no_sources, 429 rate_limited, 503 search_unavailable / reasoning_unavailable, 504 timeout.
Safe Read $0.002
GET/POST https://api.axongate.one/v1/read
Fetch one public web page and return clean, LLM-ready Markdown with title, word count, content hash and a prompt-injection risk scan of the page text. Use it when an agent needs to read a URL without ingesting scripts, boilerplate or hidden instructions.
| Parameter | Description |
|---|---|
url (required) | Absolute public http(s) URL to read. |
render | Allow rendered fallback for JavaScript-heavy pages (default true). |
max_chars | Truncate markdown to this many characters (default 60000, max 200000). |
curl -i "https://api.axongate.one/v1/read?url=https://en.wikipedia.org/wiki/HTTP_402"Response (abridged):
{
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"final_url": "https://en.wikipedia.org/wiki/HTTP_402",
"title": "HTTP 402 - Wikipedia",
"markdown": "HTTP 402 Payment Required is a nonstandard response status code reserved for future use...",
"word_count": 812,
"content_sha256": "9f2c\u2026",
"injection_risk": {
"risk": "low",
"score": 0,
"categories": [],
"findings": []
},
"extractor": "direct",
"fetched_at": 1792750000
}Web Search $0.004
GET/POST https://api.axongate.one/v1/search
Live web search for agents. Returns ranked results with title, URL and snippet; optionally reads the top results into clean Markdown in the same call. Use it to find current sources before answering or citing.
| Parameter | Description |
|---|---|
q (required) | Search query. |
limit | Number of results, 1-10 (default 8). |
read_top | Also read the top N results (0-3) into clean markdown (default 0). |
curl -i "https://api.axongate.one/v1/search?q=x402+payment+protocol&limit=5"Response (abridged):
{
"query": "x402 payment protocol",
"results": [
{
"rank": 1,
"title": "x402 - Payment Required",
"url": "https://www.x402.org/",
"domain": "x402.org",
"snippet": "An open standard for internet-native payments\u2026"
}
]
}Grounded Answer $0.015
POST https://api.axongate.one/v1/answer
Answer a question from live web sources. AxonGate searches, reads the best pages, and returns a concise answer with numbered citations whose quotes are checked verbatim against the fetched pages. Use it when an agent needs a sourced answer, not just links.
| Parameter | Description |
|---|---|
question (required) | Question to answer from live web sources. |
urls | Optional source URLs to use instead of searching (max 5). |
max_sources | Sources to read, 1-5 (default 4). |
curl -i -X POST https://api.axongate.one/v1/answer \
-H 'content-type: application/json' \
-d '{"question": "What does HTTP status code 402 mean?"}'Response (abridged):
{
"question": "What does HTTP status code 402 mean?",
"answer": "402 Payment Required is a status code originally reserved for future use in digital payment systems [1].",
"confidence": 0.86,
"insufficient": false,
"citations": [
{
"source": 1,
"quote": "reserved for future use",
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"quote_verified": true
}
],
"sources": [
{
"id": 1,
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"title": "HTTP 402 - Wikipedia",
"injection_risk": {
"risk": "low"
}
}
]
}Claim Verify $0.02
POST https://api.axongate.one/v1/verify
Fact-check one claim against live web sources (or URLs you supply). Returns a verdict (supported, refuted, mixed, insufficient), a confidence score and supporting or contradicting quotes that are checked verbatim against the fetched pages. Use it before an agent repeats a claim.
| Parameter | Description |
|---|---|
claim (required) | One factual claim to check. |
urls | Optional source URLs to check against instead of searching (max 5). |
max_sources | Sources to read, 1-5 (default 4). |
curl -i -X POST https://api.axongate.one/v1/verify \
-H 'content-type: application/json' \
-d '{"claim": "HTTP status code 402 is reserved for future use."}'Response (abridged):
{
"claim": "HTTP status code 402 is reserved for future use.",
"verdict": "supported",
"confidence": 0.9,
"agent_action": "safe_to_cite",
"summary": "The source states that 402 was reserved for future use.",
"evidence": [
{
"source": 1,
"stance": "supports",
"quote": "reserved for future use",
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"quote_verified": true
}
],
"sources": [
{
"id": 1,
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"title": "HTTP 402 - Wikipedia",
"injection_risk": {
"risk": "low"
}
}
]
}Injection Scan $0.002
POST https://api.axongate.one/v1/scan
Scan untrusted text (a web page, email, tool output or document) for prompt-injection and agent-hijacking patterns before it reaches an LLM. Returns a risk level, score, findings with offsets and a sanitized copy. Deterministic, sub-50ms.
| Parameter | Description |
|---|---|
text (required) | Untrusted text to screen (max 200000 characters). |
curl -i -X POST https://api.axongate.one/v1/scan \
-H 'content-type: application/json' \
-d '{"text": "Great recipe! Bake at 180C for 25 minutes. Reviewers say it is the best banana bread they have tried."}'Response (abridged):
{
"risk": "low",
"score": 0,
"finding_count": 0,
"categories": [],
"findings": [],
"sanitized": "Great recipe! Bake at 180C for 25 minutes. Reviewers say it is the best banana bread they have tried."
}Token Check $0.01
GET/POST https://api.axongate.one/v1/token-check
Safety verdict for a crypto token before an agent buys, swaps or accepts it: honeypot, sell and buy taxes, owner powers (mint, blacklist, balance changes), holder concentration and DEX liquidity, combined into avoid / caution / ok with reasons. EVM chains and Solana.
| Parameter | Description |
|---|---|
address (required) | Token contract address (EVM) or mint address (Solana). |
chain | Chain the token lives on (default base). |
curl -i "https://api.axongate.one/v1/token-check?address=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed&chain=base"Response (abridged):
{
"address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
"chain": "base",
"name": "Degen",
"symbol": "DEGEN",
"verdict": "ok",
"risk_score": 5,
"agent_action": "proceed",
"flags": [
{
"code": "is_mintable",
"severity": "low",
"detail": "new supply can be minted"
}
],
"facts": {
"buy_tax": 0.0,
"sell_tax": 0.0,
"holder_count": 1182642,
"top10_wallet_share": 0.11,
"dex_liquidity_usd": 199931.51,
"listed_on_cex": true
},
"simulation": {
"simulation_success": true,
"is_honeypot": false,
"buy_tax": 0.0,
"sell_tax": 0.0,
"risk": "low"
},
"sources": [
"GoPlus Security token analysis",
"honeypot.is buy/sell simulation"
]
}Batch Read $0.03
POST https://api.axongate.one/v1/read/batch
Read up to 20 public URLs in one paid call. Each page comes back as clean Markdown with its own prompt-injection scan; pages that fail are reported per URL without failing the batch. Use it to load a reading list or search results in one round trip.
| Parameter | Description |
|---|---|
urls (required) | 1-20 absolute public http(s) URLs. |
max_chars | Truncate each page's markdown to this many characters (default 20000, max 60000). |
curl -i -X POST https://api.axongate.one/v1/read/batch \
-H 'content-type: application/json' \
-d '{"urls": ["https://en.wikipedia.org/wiki/HTTP_402", "https://en.wikipedia.org/wiki/Prompt_injection"], "max_chars": 4000}'Response (abridged):
{
"count": 2,
"ok": 2,
"failed": 0,
"results": [
{
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"ok": true,
"title": "HTTP 402 - Wikipedia",
"markdown": "HTTP 402 Payment Required is\u2026",
"injection_risk": {
"risk": "low",
"score": 0
}
},
{
"url": "https://en.wikipedia.org/wiki/Prompt_injection",
"ok": true,
"title": "Prompt injection - Wikipedia",
"markdown": "Prompt injection is\u2026",
"injection_risk": {
"risk": "medium",
"score": 24
}
}
]
}Legacy URLs
/v1/x402/access and /v1/x402/starter now serve Safe Read (they accept target_url). /v1/x402/proof-pack now serves Claim Verify (question + target_url). Called with no input, a legacy URL runs the documented example (Safe Read of the example URL; Claim Verify of the example claim) instead of failing. The v1 Proof Pack, bundle and quote endpoints are retired.
MCP
Hosted server (streamable HTTP): https://api.axongate.one/mcp. It has the same tools and prices; each tool call is paid with the x402 MCP transport, so it needs an x402-capable MCP client. Any MCP client can run the local server instead, which pays from your own wallet with a spend cap: npx axongate-mcp (set AXONGATE_PRIVATE_KEY).
Data sources
Token Check is powered by GoPlus Security token analysis, with a honeypot.is buy/sell simulation on Ethereum, BSC and Base. Its verdicts are automated risk signals, not financial advice.
Machine-readable
OpenAPI · /.well-known/x402 · llms.txt · agent card · pricing JSON