docsAPI EndpointsOverview

API Overview

Fizzly API provides a unified interface compatible with OpenAI API format, allowing you to access multiple AI models through a single API.

Base URL

https://api.fizzlyapi.com/v1

For Anthropic-compatible endpoints:

https://api.fizzlyapi.com

Authentication

All API requests require authentication using an API key. Include your key in the Authorization header:

Authorization: Bearer your-api-key
⚠️

Keep your API key secure. Never expose it in client-side code or public repositories.

Request Format

All requests should be JSON-encoded with the following headers:

Content-Type: application/json
Authorization: Bearer your-api-key

Response Format

All responses are JSON-encoded. A successful response looks like:

{
  "id": "chatcmpl-xxx",
  "object": "chat.completion",
  "created": 1234567890,
  "model": "gpt-4o",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 10,
    "completion_tokens": 15,
    "total_tokens": 25
  }
}

Available Endpoints

EndpointMethodDescription
/v1/chat/completionsPOSTCreate chat completions
/v1/modelsGETList available models
/v1/embeddingsPOSTCreate embeddings

Rate Limits

Default rate limits:

  • Requests per minute: 60
  • Tokens per minute: 100,000

Contact support for higher limits if needed.

Quick Example

curl https://api.fizzlyapi.com/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Next Steps