Crypto API (aggregator)

Grok (xAI): Chat completions against xAI Grok models (grok-4.7, grok-4.3, grok-4.20-0309-non-reasoning, grok-build-0.1; BYOK supported).

Chat completions against xAI Grok models (grok-4.7, grok-4.3, grok-4.20-0309-non-reasoning, grok-build-0.1; BYOK supported). Billing lanes, in order: x402 pay-per-call ($0.005 USDC via HTTP 402, no credentials) — or send your own upstream key via BYOK, or authenticate with a three.ws API key / OAuth session / browser session for the plan lane.

post/api/v1/x/grok/chat

Request

  • Base URL: https://three.ws
  • URL: https://three.ws/api/v1/x/grok/chat
  • Auth: one of:
    • none
    • HTTP bearer
    • API key in header Authorization

Request body

object required

model: Grok model id, e.g. "grok-4.7" (required); messages: array of {role, content} (required); …: any other OpenAI chat-completions parameter is forwarded

Response

Normalized upstream response, wrapped as { data, _meta }

Changes

No recorded changes to this operation across all 1 revision of this API.