xAI Grok API

xAI Grok API — free tier with API key

📚 Open DataDEADchecked 5h ago
AUTH APIKEYCORS AGENT ?HTTPS COMMERCIAL ?

xAI Grok API exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

0HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 0 · dead
🪦 DEADTHE GRAVEYARD
Uptime history
0.0%90 days
0.0%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://docs.x.ai/v1

{
  "code": "unauthenticated:no-credentials",
  "error": "No credentials presented."
}
Call itcurl · fetch · python
curl "https://docs.x.ai/v1"
const res = await fetch("https://docs.x.ai/v1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://docs.x.ai/v1")
print(res.json())

THIS API IS DEAD — NOTHING TO RUN

Endpoints · 6DeadFULL DOCS ↗
Offline — GET /v1 no longer responds reliably
GET/v1PROBED

xAI Grok API — free tier with API key

GET/v1/

V1 — documented GET route.

GET/v1/search

Search by query parameters.

GET/v1/popular

Popular items ranked by usage.

GET/v1/api-key

Get information about an API key, including name, status, permissions and users who created or modified this key.

GET/v1/chat/deferred-completion/{request_id}

Tries to fetch a result for a previously-started deferred completion. Returns `200 Success` with the response body, if t

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

xAI Grok API: common questions

Is xAI Grok API free to use?

Yes — xAI Grok API is a free open data API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does xAI Grok API need an API key?

Yes — xAI Grok API needs a free API key, which you pass on each request. Rate limits: Unpublished.

Can I call xAI Grok API from the browser?

Not directly — xAI Grok API doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is xAI Grok API up right now?

As of our last scheduled check, xAI Grok API is dead. We re-probe it every sweep — the status badge and uptime chart above always show the latest.