Facebook Marketplace API
Welcome to the Facebook Marketplace API backend.
API Status: ✅ Running
Quick Links:
Documentation
See API_DOCUMENTATION.md for complete API reference.
See SETUP_GUIDE.md for setup instructions.
Quick Test (Admin Login)
curl -X POST http://localhost:3000/api/auth/login \
-H "Content-Type: application/json" \
-d '{"token": "DevFMTPLA134"}'Available Endpoints:
- POST /api/auth/login - Authentication
- GET/POST /api/user/location - User location management
- POST /api/marketplace/search - Search marketplace
- GET /api/marketplace/listing/[id] - Listing details
- GET /api/marketplace/seller/[id] - Seller details
- GET /api/marketplace/categories - Categories
- GET/POST/DELETE /api/user/preferences - User preferences
- GET/POST/DELETE /api/user/saved-listings - Saved listings
- GET /api/cities - Top 50 US cities
- GET /api/listings/free-deals - Free deals
- GET /api/cron/gather-deals - Daily cron job