copy, paste, haunt

Copy-paste recipes for real extraction jobs.

Recipes are copyable examples. Pick the example closest to your job, copy the prompt, then change the URL and fields for your own page.

public page

Fast path

Try the fixed demo first. Then get a key only when the output makes sense. If you are new, start with company website or pricing page recipes before the harder routes.

Company pages

Company website to JSON

Use this for lead research, competitor positioning, vendor pages, and public business metadata.

copy request
curl https://hauntapi.com/v1/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: PASTE" \
  -d '{"url":"https://example.com","prompt":"Extract the company name, positioning, product categories, pricing link, and contact page link. Use null for missing fields."}'
GitHub

GitHub repository intelligence

Prefer the dedicated route for repo metadata. It is cheaper and cleaner than generic page extraction.

copy request
curl "https://hauntapi.com/v1/github/repo?owner=browserbase&repo=stagehand" \
  -H "X-API-Key: PASTE"
Products

Product or pricing page extraction

Good for public plan tables, pricing cards, product lists, and competitor packaging checks.

copy request
curl https://hauntapi.com/v1/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: PASTE" \
  -d '{"url":"https://example.com/pricing","prompt":"Extract plan names, prices, monthly limits, and highlighted features as structured JSON."}'
Docs

Docs page extraction

Turn docs and API references into concise structured facts for agents, QA, and onboarding.

copy request
curl https://hauntapi.com/v1/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: PASTE" \
  -d '{"url":"https://docs.example.com/quickstart","prompt":"Extract the install command, authentication steps, required environment variables, and first API call."}'
Reddit

Reddit thread extraction

Use Haunt's dedicated Reddit route. Generic Reddit page scraping is intentionally not the reliable path.

copy request
curl https://hauntapi.com/v1/reddit \
  -H "Content-Type: application/json" \
  -H "X-API-Key: PASTE" \
  -d '{"subreddit":"webscraping","sort":"hot","limit":5}'
Hacker News

Hacker News item extraction

Use the public item route for story metadata, points, comment count, author, and source URL.

copy request
curl https://hauntapi.com/v1/hackernews/item/40310896 \
  -H "X-API-Key: PASTE"
Check What Haunt can extract before you lean on an unusual target. Setting up an agent? Start with the AI agent web extraction path, or jump straight to your job: turn URL into JSON, extract pricing tables, or MCP web scraping.