Build a live competitor pricing comparison table
Когда использовать: You're refreshing your pricing strategy and need to see what 5 competitors charge for comparable plans, with sources.
Предварительные требования
- Firecrawl API key — firecrawl.dev — free tier gives 500 credits, enough for ~50 pages
Поток
-
Define a schema for what 'pricing' meansI want to compare pricing for [your category]. Define a schema that captures: plan name, monthly price, included usage, key features, and any per-unit overage costs.✓ Скопировано→ Schema with these fields as strict types
-
Run extraction across 5 competitor URLs in parallelExtract pricing from these 5 URLs using the schema: [list URLs]. Use the structured extraction endpoint.✓ Скопировано→ 5 normalized JSON blobs you can compare
-
Render as a comparison table with citationsRender this as a Markdown table with each competitor as a column. Add a citation footnote pointing to each source URL.✓ Скопировано→ Comparison ready to drop into a doc or deck
Итог: A normalized pricing table you can re-run anytime to detect changes — costs ~5 Firecrawl credits per refresh.
Подводные камни
- Pricing pages often have toggles (monthly/annual, usage tiers) that scraping doesn't reveal — Run with
actions: [{type: 'click', selector: '...toggle...'}]to capture both states, or note the limitation in your final output - Some sites block scrapers via Cloudflare — Firecrawl handles most. If still blocked, the page is likely using anti-bot measures intentionally — respect that and cite manually