Case study

API SPFC Calendar

Web Scraping API to extract matches from the São Paulo FC calendar using Firecrawl.

API SPFC CalendarPreview

🇾🇪 API SPFC Calendar 🇾🇪 Web Scraping API to extract matches from the São Paulo FC calendar using Firecrawl.

Features

GET /api/games - Lists all the games in the calendar (only futures by default) GET /api/games/week - Returns matches from the next N weeks GET /api/games/week/pending - Unsynchronized games of the week (ideal for n8n) GET /api/next-game - Returns only the next game GET /api/games/pending - Games not synchronized with Google Calendar GET /api/games/calendar - Games already synchronized POST /api/games/{id}/mark-calendar - Mark game as synchronized DELETE /api/games/{id}/calendar - Unmark game GET /api/cache/status - Cache status POST /api/cache/clear - Clear cache manually GET /health - Health check (without authentication)

Security Rate limiting: 30 requests/minute per IP Security headers (XSS, Clickjacking, MIME sniffing) Configurable CORS Compatible with Cloudflare Proxy

Authentication All routes (except /health) require authentication via Bearer Token.

Gallery

01 / 01