xAI Grok API
xAI Grok API — free tier with API key
xAI Grok API exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗
On our probe schedule. Uptime charts appear after the first check lands.
GET https://docs.x.ai/v1
{
"code": "unauthenticated:no-credentials",
"error": "No credentials presented."
}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())BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET
/v1PROBEDxAI Grok API — free tier with API key
/v1/V1 — documented GET route.
/v1/searchSearch by query parameters.
/v1/popularPopular items ranked by usage.
/v1/api-keyGet information about an API key, including name, status, permissions and users who created or modified this key.
/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
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Not tracked yet. Shape-change history starts once this API joins our probe schedule.
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?
xAI Grok API is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.