Fingerprint Detector
ReferenceProxy API

Relay an API request

POST
/api/proxy

Sends body to the upstream endpoint url and relays the JSON or SSE response, including its status. The proxy sends the caller's key as x-goog-api-key for Gemini and x-api-key for Messages. Messages also receives anthropic-version: 2023-06-01 and, when body contains speed, anthropic-beta: fast-mode-2026-02-01. Chat Completions and Responses receive Authorization. The proxy blocks redirects, omits cookies and applies a 250-second timeout. Cancelling the call cancels the upstream request.

Authorization

upstreamKey
AuthorizationBearer <token>

The API key of the upstream service. The proxy does not store it.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/proxy" \  -H "Content-Type: application/json" \  -d '{    "url": "https://api.example.com/v1/chat/completions",    "format": "gemini",    "body": {      "contents": [        {}      ]    }  }'
{}

Last updated on