Skip to main content

Overview

The Anthropic Claude proxy provides pay-per-request access to Claude models via the Anthropic Messages API. No Anthropic account or API key required.
Proxy URLhttps://corbits-claude.api.corbits.dev
Proxy ID10
Default price$0.10 per request
Pricing schemeExact

Quick start

Install the payment SDK and make a message request:
import { payer } from "@faremeter/rides";

// Load your Solana keypair
await payer.addLocalWallet(process.env.PAYER_KEYPAIR);

const response = await payer.fetch("https://corbits-claude.api.corbits.dev/v1/messages", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "anthropic-version": "2023-06-01",
  },
  body: JSON.stringify({
    model: "claude-sonnet-4-20250514",
    max_tokens: 1024,
    messages: [{ role: "user", content: "Hello from Corbits!" }],
  }),
});

const data = await response.json();
console.log(data.content[0].text);

Key endpoints

EndpointMethodDescription
/v1/messagesPOSTCreate a message with Claude
/v1/messages/count_tokensPOSTCount tokens in a message before sending
/v1/messages/batchesPOSTCreate a batch of message requests
/v1/messages/batchesGETList all message batches
/v1/messages/batches/{id}GETGet batch status
/v1/messages/batches/{id}/cancelPOSTCancel a running batch
/v1/messages/batches/{id}/resultsGETStream batch results as JSONL
This proxy does not currently have a registered OpenAPI spec in Discovery. The endpoint information above is based on the Anthropic API reference. Use the proxy URL with the standard Anthropic API request format. Batch endpoints have not been verified through this proxy and may not behave as expected for long-running operations.

Discover this merchant

Query the Discovery API to get live details about this proxy:
# Search for this proxy
curl "https://api.corbits.dev/api/v1/search?q=claude"

# Get proxy details
curl "https://api.corbits.dev/api/v1/proxies/10"

# List endpoints (may be empty if no spec is registered)
curl "https://api.corbits.dev/api/v1/proxies/10/endpoints"

Notes

  • Requests are proxied to the Anthropic API. Request and response formats match the Anthropic API reference.
  • Include the anthropic-version header in your requests as required by the Anthropic API.
  • Payment is handled at the proxy layer via x402 — the @faremeter/rides SDK manages the challenge/response cycle automatically.