Authenticate with OAuth 2.1 when connecting Claude, ChatGPT, or Cursor via MCP, or pass a Bearer API key (fc_live_...) for REST API, SDK, CLI, and server-to-server MCP calls.
When you add https://api.foxcite.com/mcp as a custom connector in Claude, ChatGPT, or Cursor, Foxcite automatically handles OAuth 2.1 discovery and opens a sign-in window. No manual key copy-pasting is required.
For direct REST API requests, SDKs, CLI automation, or headless MCP clients, generate an API key from your Foxcite dashboard under Account → API Keys and pass one of the following headers:
| Header | Format & Scope |
|---|---|
| Authorization | Bearer fc_live_... — Recommended for REST API, SDKs, CLI, and headless MCP clients. Scoped to your account's brands and credit balance. |
| SIGN-IN-WITH-X | Wallet-signed SIWX identity proof for autonomous agents accessing brand and query management routes. |
| x-payment-token | Pay-per-request execution over the x402 protocol (USDC on Base Mainnet) with no subscription required. |
curl -X GET "https://api.foxcite.com/brands" \ -H "Authorization: Bearer $FOXCITE_API_KEY"
curl -X POST "https://api.foxcite.com/quick-audit" \ -H "x-payment-token: YOUR_X402_PAYLOAD"
Security tip: Store FOXCITE_API_KEY in environment variables or your secrets manager—never commit keys to git or expose them in browser-side JavaScript.