Dedicated Grok API

Real Grok answers. Web and X sources included.

Ask the real Grok assistant and receive structured JSON with the answer, citations, X post references, follow-ups, and conversation history. No xAI developer key required.

4
Endpoints
Web + X
Grounding sources
3
Assistant modes
POST /v1/grok/ask
{
  "answer": "The capital of Lithuania is Vilnius.",
  "conversation_id": "2121360458318016619",
  "model": "grok-3-latest",
  "mode": "fast",
  "citations": [],
  "search_results": [],
  "x_search_results": [],
  "web_search_triggered": false,
  "truncated": false,
  "elapsed_ms": 3390
}

One API for answers and AI visibility

Every endpoint returns structured JSON. Failed upstream calls are not billed.

Cost estimator

Credits per request20
Total credits20,000
Loading plans…

Frequently asked questions

Does this use the official paid xAI developer API?

No. It returns the real consumer Grok assistant response, including the web citations and X post references shown by the product. You only need a ScrapeBadger API key.

Can I continue a conversation?

Yes. Pass the returned conversation_id to /v1/grok/ask to add a follow-up, or fetch /v1/grok/conversations/{conversation_id} for the normalized message history.

Which search modes are available?

web_search=auto lets Grok decide, force requests web and X search, and off disables those tools. mode selects auto, fast, or expert answering.

How long does a request take?

Simple answers can return in seconds. Grounded answers with web and X research take longer, so use a timeout of at least 90 seconds.