ANTHROPIC-COMPATIBLE /v1/messages — Claude Haiku 4
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.
10000 (raw units)
price
66
calls / 30d
4
unique payers
2026-09-16
updated
Provider
api.webbersites.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"max_tokens": 256,
"messages": [
{
"content": "Summarize x402 in one sentence.",
"role": "user"
}
],
"model": "claude-haiku-4-5"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"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
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"max_tokens": {
"description": "output cap, clamped to 1,024",
"type": "number"
},
"messages": {
"description": "Anthropic-style messages: [{role, content}], text content only, 16,000 chars total",
"type": "array"
},
"model": {
"description": "claude-haiku-4-5 (the only model on this route)",
"type": "string"
},
"system": {
"description": "optional system prompt (counts toward the input cap)",
"type": "string"
}
},
"required": [
"messages"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"content": {
"description": "Anthropic-shape content blocks; the answer is content[0].text",
"type": "array"
},
"stop_reason": {
"type": "string"
},
"usage": {
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.webbersites.com/v1/messages" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.webbersites.com/v1/messages");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.webbersites.com/v1/messages")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3687.json, and this resource appears in /discovery/resources and /discovery/search.