{"id":50969710,"url":"https://github.com/mithun-ctrl/epci-games-scraper","last_synced_at":"2026-06-19T00:34:13.807Z","repository":{"id":329470479,"uuid":"1119720857","full_name":"mithun-ctrl/epci-games-scraper","owner":"mithun-ctrl","description":"Scraps weekly free Epic games data","archived":false,"fork":false,"pushed_at":"2025-12-19T19:42:27.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T00:34:12.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://epci-games-scraper.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mithun-ctrl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-19T18:24:23.000Z","updated_at":"2025-12-19T19:55:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mithun-ctrl/epci-games-scraper","commit_stats":null,"previous_names":["mithun-ctrl/epci-games-scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mithun-ctrl/epci-games-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithun-ctrl%2Fepci-games-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithun-ctrl%2Fepci-games-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithun-ctrl%2Fepci-games-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithun-ctrl%2Fepci-games-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mithun-ctrl","download_url":"https://codeload.github.com/mithun-ctrl/epci-games-scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithun-ctrl%2Fepci-games-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34513020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-19T00:34:12.991Z","updated_at":"2026-06-19T00:34:13.794Z","avatar_url":"https://github.com/mithun-ctrl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Epic Games Scraper\n\nAn API scraper for fetching free games and mystery games from the Epic Games Store.\n\n## Features\n\n- Fetch currently free games from Epic Games Store\n- Detect and track upcoming mystery/locked games\n- Countdown timers for game expiry and unlock times\n- Comprehensive game metadata (developer, publisher, genres, features)\n- Multiple image formats (thumbnail, portrait, landscape, logo)\n- Real-time data from Epic's official API\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/mithun-ctrl/epci-games-scraper.git\n\n# Navigate to project directory\ncd epci-games-scraper\n\n# Install dependencies\nnpm install\n```\n\n## Configuration\n\nCreate a `config.js` file in your `utils` folder:\n\n```javascript\nconst Config = {\n    PORT: 3000,\n    EPIC_URL: \"https://store-site-backend-static-ipv4.ak.epicgames.com/freeGamesPromotions?locale=en-US\u0026country=US\u0026allowCountries=US\"\n};\n\nexport default Config;\n```\n\n## Usage\n\n### Start the Server\n\n```bash\nnpm start\n```\n\nThe API will be available at `http://localhost:3000` (or your configured port).\n\n### API Endpoints\n\n#### Get Free Games\n\n```http\nGET /api/free-games\n```\n\n**Response:**\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"title\": \"Game Title\",\n      \"description\": \"Game description\",\n      \"longDescription\": \"Extended game description\",\n      \"developer\": \"Developer Name\",\n      \"publisher\": \"Publisher Name\",\n      \"seller\": \"Seller Name\",\n      \"genres\": [\"Action\", \"Adventure\"],\n      \"features\": [\"Single Player\", \"Controller Support\", \"Cloud Saves\"],\n      \"ageRating\": \"ESRB:T\",\n      \"images\": {\n        \"thumbnail\": \"https://...\",\n        \"portrait\": \"https://...\",\n        \"landscape\": \"https://...\",\n        \"logo\": \"https://...\",\n        \"featured\": \"https://...\"\n      },\n      \"releaseDate\": \"2024-01-01T00:00:00.000Z\",\n      \"url\": \"https://store.epicgames.com/en-US/p/game-slug\",\n      \"originalPrice\": 2999,\n      \"discountPrice\": 0,\n      \"currencyCode\": \"USD\",\n      \"expiryDate\": \"2024-12-26T16:00:00.000Z\",\n      \"timeRemaining\": {\n        \"days\": 7,\n        \"hours\": 168,\n        \"humanReadable\": \"7d 0h\"\n      }\n    }\n  ]\n}\n```\n\n#### Get Mystery/Locked Games\n\n```http\nGET /api/mystery-games\n```\n\n**Response:**\n\n```json\n{\n  \"success\": true,\n  \"count\": 1,\n  \"data\": [\n    {\n      \"title\": \"Mystery Game\",\n      \"isMystery\": true,\n      \"description\": \"A mystery game awaiting reveal\",\n      \"productSlug\": \"free-game-promotion\",\n      \"images\": {\n        \"vault\": \"https://...\",\n        \"wide\": \"https://...\",\n        \"thumbnail\": \"https://...\",\n        \"tall\": \"https://...\"\n      },\n      \"unlockDate\": \"2024-12-26T16:00:00.000Z\",\n      \"expiryDate\": \"2025-01-02T16:00:00.000Z\",\n      \"timeUntilUnlock\": {\n        \"days\": 7,\n        \"hours\": 168,\n        \"humanReadable\": \"7d 0h\"\n      },\n      \"status\": \"UPCOMING\"\n    }\n  ]\n}\n```\n\n## Data Fields\n\n### Free Games\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `title` | String | Game title |\n| `description` | String | Short description |\n| `longDescription` | String | Extended description |\n| `developer` | String | Game developer |\n| `publisher` | String | Game publisher |\n| `genres` | Array | Game genres/categories |\n| `features` | Array | Game features (multiplayer, co-op, etc.) |\n| `ageRating` | String | Age rating (ESRB, PEGI) |\n| `releaseDate` | String | Original release date |\n| `expiryDate` | String | When the free offer ends |\n| `timeRemaining` | Object | Countdown until expiry |\n\n### Mystery Games\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `title` | String | \"Mystery Game\" or revealed title |\n| `isMystery` | Boolean | Whether game is still locked |\n| `unlockDate` | String | When the game will be revealed |\n| `expiryDate` | String | When the free offer ends |\n| `timeUntilUnlock` | Object | Countdown until reveal |\n| `status` | String | \"UPCOMING\" or \"AVAILABLE\" |\n\n## Project Structure\n\n```\n.\n├── routes/\n│   └── epic.js              # API route handlers\n├── scraper/\n│   ├── free-games.js        # Free games scraper\n│   └── mystery-games.js     # Mystery games scraper\n├── utils/\n│   └── config.js            # Configuration\n└── server.js                # Express server setup\n```\n\n## Features Detection\n\nThe API automatically detects game features based on Epic's tags:\n\n- **Single Player** - Tag ID: 1264\n- **Multiplayer** - Tag ID: 1203\n- **Co-op** - Tag ID: 1299\n- **Controller Support** - Tag ID: 1370\n- **Cloud Saves** - Tag ID: 9547\n\n## Error Handling\n\nAll endpoints return consistent error responses:\n\n```json\n{\n  \"success\": false,\n  \"message\": \"Error description\",\n  \"error\": \"Detailed error message\"\n}\n```\n\n## Dependencies\n\n- `express` - Web framework\n- `axios` - HTTP client\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis is an unofficial API scraper and is not affiliated with Epic Games. Use responsibly and in accordance with Epic Games' Terms of Service.\n\n## Acknowledgments\n\n- Data provided by Epic Games Store public API\n- Inspired by the Epic Games free games promotion\n\n## Support\n\nIf you encounter any issues or have questions, please open an issue on GitHub.\n\n---\n\n**Note:** Epic Games' API structure may change without notice. This wrapper is maintained on a best-effort basis.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmithun-ctrl%2Fepci-games-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmithun-ctrl%2Fepci-games-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmithun-ctrl%2Fepci-games-scraper/lists"}