Claude API

Claude API

Create secure Claude API proxy with rate limiting and usage monitoring in one click.


Overview

The Claude API Plugin simplifies integration with Anthropic’s Claude models by providing a secure proxy layer with enhanced features. Access Claude 3 Opus, Claude 3.5 Sonnet, Claude 3.7 Sonnet, and other Claude models through a single, managed endpoint.

Key benefits include:

  • Secure API key management
  • Built-in rate limiting and quota management
  • Usage monitoring and analytics
  • Automatic token calculation
  • Request caching for cost optimization
  • Simplified error handling
  • Comprehensive usage logs

How to Setup

We assume you have signed up on API Plugin and are logged into the dashboard.

To set up the Claude API:

  1. Go to the marketplace
  2. Select Claude from the list
  3. You’ll need an Anthropic API Key to configure this API. You can generate the key at https://console.anthropic.com/.
  4. Now save your Anthropic account with key.
  5. Follow the form to complete the Claude API setup.

After that, you’ll have access to the Claude API playground.

Claude API Playground

Now you have secure, simple Claude API endpoints available to integrate into your projects.

Available Endpoints

The Claude API Plugin provides the following endpoints:

Create Message

Send messages to Claude and get responses.

Endpoint: /{appId}/{token}/messages
Method: POST

Request Body:

{
    "model": "claude-3-7-sonnet-20250219",
    "messages": [{ "role": "user", "content": "Tell me about Claude AI." }],
    "temperature": 0.7,
    "max_tokens": 1024,
    "system": "You are a helpful AI assistant.",
    "stream": false,
    "store": true
}

List Available Models

Get a list of available Claude models.

Endpoint: /{appId}/{token}/models
Method: GET

Create Batch Messages

Send multiple messages to Claude in a single request.

Endpoint: /{appId}/{token}/messages/batches
Method: POST

Request Body:

{
    "requests": [
        {
            "custom_id": "query-1",
            "params": {
                "model": "claude-3-sonnet-20240229",
                "max_tokens": 1024,
                "messages": [{ "role": "user", "content": "What is quantum computing?" }],
                "temperature": 0.7,
                "system": "You are a physics expert."
            }
        },
        {
            "custom_id": "query-2",
            "params": {
                "model": "claude-3-sonnet-20240229",
                "max_tokens": 1024,
                "messages": [{ "role": "user", "content": "What is machine learning?" }],
                "temperature": 0.7,
                "system": "You are an AI expert."
            }
        }
    ],
    "store": true
}

Now you have secure, simple Claude AI API endpoints available to integrate into your projects.