copy, paste, haunt
Extraction recipes that prove the product.
Use these for Haunt's best commercial lanes: company intelligence, docs, GitHub repositories, products, pricing, Reddit, and Hacker News. No fake social scraping cosplay.
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"
Use What Haunt can extract before promising a customer anything weird. Keep the focused AI agent web extraction path for generic onboarding, and use these specific problem pages for high-intent activation: turn URL into JSON, extract pricing tables, and MCP web scraping.