use-apify.com
PostgreSQL: guides & tutorials
Use PostgreSQL for scraped data: JSONB, constraints, and pgvector for embeddings. Learn ingestion patterns from Apify runs into durable tables.
3 articles
View all tags
PostgreSQL is a durable home for scraped data, with JSONB for flexible records, constraints for integrity, and pgvector for embeddings. These guides cover ingestion patterns from Apify runs into reliable tables.
Postgres handles both structured fields and semi-structured JSON well, which suits varied scrape output. Below you will find patterns for loading, deduplicating, and querying scraped data in PostgreSQL.

Firecrawl returns clean Markdown, structured JSON, and rich metadata from any URL — but by default it stores nothing. Every crawl result exists only for the duration of your API response. If you want to search past crawls, track changes over time, or build a content pipeline, you need persistent storage.
Supabase provides a managed PostgreSQL instance with a REST API, real-time subscriptions, and a built-in vector extension (pgvector) — making it the most developer-friendly database target for Firecrawl output. This tutorial walks through the complete pipeline: schema design, automated ingestion, full-text search, and incremental re-crawl updates.