Firecrawl integrates with SourceSync.ai for web scraping capabilities.
curl -X PATCH https://api.sourcesync.ai/v1/namespaces/YOUR_NAMESPACE_ID \ -H "Authorization: Bearer YOUR_SOURCE_SYNC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "webScraperConfig": { "provider": "FIRECRAWL", "apiKey": "YOUR_FIRECRAWL_API_KEY" } }'
curl -X POST https://api.sourcesync.ai/v1/ingest/urls \ -H "Authorization: Bearer YOUR_SOURCE_SYNC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "namespaceId": "YOUR_NAMESPACE_ID", "ingestConfig": { "source": "URLS_LIST", "config": { "urls": [ "https://example.com/page1", "https://example.com/page2" ], "scrapeOptions": { "includeSelectors": ["article", "main"], "excludeSelectors": [".navigation", ".footer"] } } } }'
curl -X POST https://api.sourcesync.ai/v1/ingest/website \ -H "Authorization: Bearer YOUR_SOURCE_SYNC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "namespaceId": "YOUR_NAMESPACE_ID", "ingestConfig": { "source": "WEBSITE", "config": { "url": "https://example.com", "maxDepth": 3, "maxLinks": 100, "includePaths": ["/docs", "/blog"], "excludePaths": ["/admin"], "scrapeOptions": { "includeSelectors": ["article", "main"], "excludeSelectors": [".navigation", ".footer"] } } } }'
curl -X POST https://api.sourcesync.ai/v1/ingest/sitemap \ -H "Authorization: Bearer YOUR_SOURCE_SYNC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "namespaceId": "YOUR_NAMESPACE_ID", "ingestConfig": { "source": "SITEMAP", "config": { "url": "https://example.com/sitemap.xml", "scrapeOptions": { "includeSelectors": ["article", "main"], "excludeSelectors": [".navigation", ".footer"] } } } }'