13trust / 100
Chat Completions
by blockrun-staging-d3b8a58-222114-vbsbhh7lea-uc.a.run.app in AI models & inference
x402 APIFailing, checked 11 min ago
AI chat completions API - pay per request with USDC on Base
POST https://blockrun-staging-d3b8a58-222114-vbsbhh7lea-uc.a.run.app/api/v1/chat/completions
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 11 min ago: Expected HTTP 402, got 404
- Next check
- in 46 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://blockrun-staging-d3b8a58-222114-vbsbhh7lea-uc.a.run.app/api/v1/chat/completions" \
-H "content-type: application/json" \
-d '{}'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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fblockrun-staging-d3b8a58-222114-vbsbhh7lea-uc.a.run.app%2Fapi%2Fv1%2Fchat%2Fcompletions
const res = await pay("https://blockrun-staging-d3b8a58-222114-vbsbhh7lea-uc.a.run.app/api/v1/chat/completions", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({}),
});
console.log(await res.json());Example output
{
"choices": [],
"usage": {}
}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 |
|---|---|---|---|---|
| 11 min ago | Expected HTTP 402, got 404 | 404 | 195 ms | - |
| 4 h ago | Expected HTTP 402, got 404 | 404 | 2.2 s | - |
| 9 h ago | Expected HTTP 402, got 404 | 404 | 159 ms | - |
| 13 h ago | Expected HTTP 402, got 404 | 404 | 208 ms | - |
| 17 h ago | Expected HTTP 402, got 404 | 404 | 230 ms | - |
| 21 h ago | Expected HTTP 402, got 404 | 404 | 219 ms | - |
| 25 h ago | Expected HTTP 402, got 404 | 404 | 196 ms | - |
| 29 h ago | Expected HTTP 402, got 404 | 404 | 274 ms | - |
| 33 h ago | Expected HTTP 402, got 404 | 404 | 218 ms | - |
| 38 h ago | Expected HTTP 402, got 404 | 404 | 235 ms | - |
| 41 h ago | Expected HTTP 402, got 404 | 404 | 189 ms | - |
| 45 h ago | Expected HTTP 402, got 404 | 404 | 278 ms | - |