82trust / 100
Messages
by WebberSites x402 Data API in Email & messaging
x402 APIPassing, checked 2 h ago
ANTHROPIC-COMPATIBLE /v1/messages — Claude Haiku 4.5 through the exact Anthropic API dialect: same request/response shape, no Anthropic account, the x402 payment IS the auth. Point an Anthropic SDK's base_url at https://api.webbersites.com and pay per call. Caps: 16,000 input chars, 1,024 output tokens (max_tokens clamped), text-only, no streaming.
POST https://api.webbersites.com/v1/messages
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 240 ms typical, 240 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.webbersites.com/v1/messages" \
-H "content-type: application/json" \
-d '{"max_tokens":256,"messages":[{"content":"Summarize x402 in one sentence.","role":"user"}],"model":"claude-haiku-4-5"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.webbersites.com%2Fv1%2Fmessages
const res = await pay("https://api.webbersites.com/v1/messages", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_tokens":256,"messages":[{"content":"Summarize x402 in one sentence.","role":"user"}],"model":"claude-haiku-4-5"}),
});
console.log(await res.json());Example input
{
"max_tokens": 256,
"messages": [
{
"content": "Summarize x402 in one sentence.",
"role": "user"
}
],
"model": "claude-haiku-4-5"
}Example output
{
"content": [
{
"text": "x402 is an open protocol...",
"type": "text"
}
],
"id": "msg_...",
"model": "claude-haiku-4-5",
"role": "assistant",
"stop_reason": "end_turn",
"type": "message",
"usage": {
"input_tokens": 18,
"output_tokens": 24
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 240 ms | $0.01 |