Quickstart
Your first API request in three steps.
BlooAPI speaks the Claude Messages API, so you can use the official Anthropic SDKs. Set the base URL, add your key, send.
Create a free account
Sign up with e-mail or Google. Verify your e-mail and $1 of free credit is ready.
Create an API key
In the Console, open API keys and choose Create key. It's shown once: store it as BLOOAPI_API_KEY.
Send a request
Point the SDK at https://api.blooapi.com and pick a model ID from Models.
Also on the same API
- Streaming
- Tool use
- Images & PDFs
- Citations
- Thinking
- Web search
- Web fetch
- Code execution
- Skills for Word, Excel, PowerPoint and PDF
- Files
- Message Batches
- Token counting
- Managed Agents with MCP, skills and vaults (on request)
Every answer has a request-id header, and error replies are not charged. The Console's Get started page explains each error code.
pip install anthropic
import os
import anthropic
client = anthropic.Anthropic(
base_url="https://api.blooapi.com",
api_key=os.environ["BLOOAPI_API_KEY"],
)
message = client.messages.create(
model="claude-haiku-4-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello, Bloo!"}],
)
for block in message.content:
if block.type == "text":
print(block.text)npm install @anthropic-ai/sdk
import Anthropic from "@anthropic-ai/sdk";
const apiKey = process.env.BLOOAPI_API_KEY;
if (!apiKey) throw new Error("Set BLOOAPI_API_KEY first.");
const client = new Anthropic({
baseURL: "https://api.blooapi.com",
apiKey,
});
const message = await client.messages.create({
model: "claude-haiku-4-5",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello, Bloo!" }],
});
for (const block of message.content) {
if (block.type === "text") console.log(block.text);
}curl https://api.blooapi.com/v1/messages \
-H "x-api-key: $BLOOAPI_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-haiku-4-5",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Hello, Bloo!" }
]
}'api.blooapi.com/v1/messages