Tutorial

DataPhantom uses Google’s Gemini API to power its AI features. You’ll need your own Gemini API key to use them. Follow these steps:

  1. Open Google AI Studio — Go to aistudio.google.com/apikey and sign in with your Google account.
  2. Create an API key — Click “Create API key” (or “Get API key”). Choose an existing Google Cloud project or create a new one, and the key will be generated.
  3. Copy the key — Copy the API key and keep it private. You can return to the API keys page in Google AI Studio anytime to view or copy it again, create a new key, or delete a key you no longer use.
  4. Add the key in DataPhantom — Open the DataPhantom extension. On the main screen, paste your key into the GEMINI API KEY field and click SAVE. It’s stored locally on your device and used only for AI features you trigger.

Gemini has a free tier with usage limits. For heavy use, check Google’s pricing. Keep your API key private; don’t share it or commit it to code.

Go to the page you want to scrape, open DataPhantom, and choose a method:

Extract with AI

  1. Obtain a Gemini API key — see How to get Gemini API keys above.
  2. Click Extract with AI in the popup.
  3. Set up page navigation — choose Single Page Scrape, Multi Page Scrape (then click Select "Next" Button and pick the site's next-page control), or Sub-Page Scrape to visit each item's own page (click Pick Product Card Link). Click Next.
  4. Click AI Suggest Fields — Gemini reads the page and detects the fields automatically. Remove any you don't need.
  5. Click Execute to run the scrape.
  6. Export your data as CSV, JSON, or Excel when done.

Manual Scrape

  1. Click Manual Scrape in the popup.
  2. Set up page navigation — choose Single Page Scrape or Multi Page Scrape (then click Select "Next" Button and pick the site's next-page control). Click Next.
  3. Click AI Suggest Fields to auto-detect fields, or Pick Elements to click them yourself on the page.
  4. Click Execute to run the scrape.
  5. Export your data as CSV, JSON, or Excel when done.