78trust / 100

Chat Completions

by masterclaw.dev in AI models & inference

x402 APIPassing, checked 2 h ago

OpenAI-compatible chat completions backed by DeepSeek (GET probe variant). Answers open-ended questions and returns reasoned analysis.

GET https://masterclaw.dev/api/v1/chat/completions

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
416 ms typical, 510 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 GET "https://masterclaw.dev/api/v1/chat/completions"
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%2Fmasterclaw.dev%2Fapi%2Fv1%2Fchat%2Fcompletions
const res = await pay("https://masterclaw.dev/api/v1/chat/completions");
console.log(await res.json());

Example input

{
  "messages": [
    {
      "content": "Hello",
      "role": "user"
    }
  ]
}

Example output

{
  "choices": [
    {
      "message": {
        "content": "Hello back.",
        "role": "assistant"
      }
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402466 ms$0.05
5 h agoPassed402471 ms$0.05
8 h agoPassed402405 ms$0.05
12 h agoPassed402412 ms$0.05
16 h agoPassed402408 ms$0.05
19 h agoPassed402400 ms$0.05
24 h agoPassed402421 ms$0.05
27 h agoPassed402530 ms$0.05
31 h agoPassed402510 ms$0.05
34 h agoPassed402416 ms$0.05
37 h agoPassed402404 ms$0.05
42 h agoPassed402492 ms$0.05