VOOZH about

URL: https://apify.com/hospitable_luck/grok-scraper

⇱ Grok Scraper Β· Apify


πŸ‘ Grok Scraper avatar

Grok Scraper

Under maintenance

Pricing

from $0.005 / result-item

Go to Apify Store

Grok Scraper

Under maintenance

Bypasses Anti-Bot detection, Queries and Scrapes Grok guest chat responses via Playwright with stealth evasion and Apify proxy rotation.

Pricing

from $0.005 / result-item

Rating

0.0

(0)

Developer

πŸ‘ hospitable_luck

hospitable_luck

Maintained by Community

Actor stats

1

Bookmarked

4

Total users

0

Monthly active users

a month ago

Last modified

Share

Apify Actor that sends a prompt to Grok as a guest user and returns the parsed chat response to the run Dataset. No Grok account is required.

What it does

  1. Opens Grok in a stealth Playwright browser through an Apify proxy in your chosen country.
  2. Aligns browser locale, timezone, and language headers with that country.
  3. Waits for Grok’s session handshake, types your prompt, and submits it.
  4. Captures the POST /rest/app-chat/conversations/new response.
  5. Parses the NDJSON stream into structured JSON and saves one record to the Dataset.

On failure (rate limits, timeouts), the Actor retries with a new proxy session and browser profile (up to 10 attempts).

Input

FieldRequiredDefaultDescription
promptyesβ€”Question or instruction for Grok
countryyesUSProxy country and browser locale (see list below)
useResidentialProxynotrueUse residential proxies; set false for datacenter
includeHtmlnofalseAdd the full Grok page HTML to the output

Supported countries: US, GB, DE, FR, CA, AU, IT, ES, NL, BR, IN, JP, MX, PL, SE

Example:

{
"prompt":"What is the cheapest electric car?",
"country":"US",
"useResidentialProxy":true,
"includeHtml":false
}

Output

One Dataset record per run:

{
"text":"Assistant reply with citation tags stripped…",
"searchQueries":["cheapest electric car 2026"],
"sources":[
{
"position":1,
"url":"https://example.com/article",
"label":"Article title",
"siteName":"example.com"
}
],
"model":"grok-3"
}

If includeHtml is true, an html field is added with the full page source.

Run on Apify

  1. Push the Actor: apify push
  2. Open the Actor in Apify Console
  3. Fill in the input form and start a run
  4. Open the Dataset tab for the result

Or from the CLI:

apify login
apify push
apify call -i'{"prompt":"What is the cheapest electric car?","country":"US"}'

Requirements: Apify proxy enabled on your account (residential recommended).

Run locally

npminstall
npx playwright install chromium
cp .env.example .env # add your APIFY_TOKEN

Option A β€” environment variable:

$APIFY_INPUT='{"prompt":"What is the cheapest electric car?","country":"US"}'npm run start:dev

Option B β€” input file:

mkdir-p storage/key_value_stores/default
cp .actor/INPUT.example.json storage/key_value_stores/default/INPUT.json
npm run start:dev

Results are saved to storage/datasets/default/*.json (not printed to the terminal).

$cat storage/datasets/default/*.json | jq .

Optional local settings (in .env):

  • HEADLESS=false β€” show the browser window while debugging
  • DEBUG=1 β€” verbose scraper logs

Project scripts

CommandDescription
npm run start:devRun the Actor locally (TypeScript)
npm run buildCompile to dist/
npm startRun compiled Actor (dist/main.js)
npm run typecheckTypeScript check

Tags

Grok scraper, LLM ui chat scraper, stealth grok scraper, anti-bot detection, Gemini scraper, Chatgpt scraper, GEO, SEO, AEO

You might also like

LLM Visibility Tracker β€” ChatGPT, Claude, Perplexity, Gemini

khadinakbar/llm-visibility-tracker

Track LLM visibility, ranking, share-of-voice, and citations for any brand across ChatGPT, Claude, Perplexity, and Gemini MCP-ready. $0.090/result.

21

Nano Banana Pro - Premium AI Image Generator

alizarin_refrigerator-owner/nanobanana-pro

Generate premium quality AI images using Google's latest Gemini 3 Pro model. (Nano Banana Pro) Up to 4K resolution with superior text rendering and photorealistic output.

231

5.0

Gemini 3.1 High AI Query API

dev00/gemini-ai-query-api

Send natural language questions to Google's Gemini 3.1 High model and receive clean, structured answers β€” no API keys or setup required.

dev00

5

Apple App Store Review Scraper

scraped/apple-app-store-review-scraper

Scrape reviews for apps on the Apple App Store

GPT Browser

anchor/gpt-browser

A GPT browser to use OpenAI prompt on any website. Put a list of URLs and a prompt, then the GPT agent will give you the answer you need. Fast, easy, and not limited with OpenAI ChatGPT restrictions. The best way to search and use GPT on large number of websites. Upload Excel or CSV. Screenshots πŸ“Έ

GPT Search

tri_angle/gpt-search

Send queries to ChatGPT and retrieve structured answers with full source citations. Easily integrate into your tools or workflows for flexible, scalable AI-powered solutions.

πŸ‘ User avatar

Tri⟁angle

630

Top Ranking Mobile Apps

codebyte/top-ranking-mobile-apps

Scrape top trending apps for both Apple App Store and Google Play Store. Extract by category, country, device, and date including download estimates, revenue estimates, ratings, publisher info and pricing data. Monitor competitor rankings, track market trends, measure app performance across regions.

Website Logo Extractor

botflowtech/website-logo-extractor

Extract logos, favicons, brand icons, og:image, and Twitter card images from any URL. Bulk processing with concurrency. Ideal for brand monitoring and data enrichment.

242

5.0