BETA
Anthropic-compatible API
Anthropic clients call POST /v1/messages on https://apily.pro. Point the SDK base URL at that host and keep the same message shape.
Base URL
https://apily.proEndpoint
POST /v1/messagesAnthropic client
index.js
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://apily.pro",
apiKey: "apily_your-api-key",
});
const message = await client.messages.create({
model: "claude-opus-5",
max_tokens: 1024,
messages: [{ role: "user", content: "ping" }],
});
console.log(message.content);