A

Animica · Chat Completions

by Animica

POSTBaseanimica:1

$0.0018

per call · USD Coin on Base

Standard-tier chat/completions (OpenAI-compatible), served by Animica's network. Cheaper than priority, standard latency — priced at 3x settlement gas.

Endpoint

POST https://animica.dev/x402/v1/standard/chat/completions

10

Calls / 30d

2

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://animica.dev/x402/v1/standard/chat/completions", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "max_tokens": 8,
    "messages": [
      {
        "content": "Reply with exactly: OK",
        "role": "user"
      }
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://animica.dev/x402/v1/standard/chat/completions" \
  -H "Content-Type: application/json" \
  -d '{"max_tokens":8,"messages":[{"content":"Reply with exactly: OK","role":"user"}]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x5d17c40fd6b119dc6006c4ab3c20a917fcab2acd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, animica:1
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Animica & similar services