{"files":{"SKILL.md":"---\nname: football-prediction-api\ndescription: \"Football Prediction API skill. Use when working with Football Prediction for api. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Football Prediction API\nAPI version: 2\n\n## Auth\nApiKey X-RapidApi-Key in header\n\n## Base URL\nhttps://football-prediction-api.p.rapidapi.com\n\n## Setup\n1. Set your API key in the appropriate header\n2. GET /api/v2/predictions -- this endpoint returns by default the next non-expired football predictions. url parameters can be specified to show specific date in the past or future or to filter by federation and prediction market name.\n3. Explore available endpoints below\n\n## Endpoints\n5 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Api\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /api/v2/predictions | This endpoint returns by default the next non-expired football predictions. URL parameters can be specified to show specific date in the past or future or to filter by federation and prediction market name. |\n| GET | /api/v2/predictions/{id} | Returns all predictions available for a match id. |\n| GET | /api/v2/performance-stats | Returns predictions accuracy in the last 1, 7, 14, 30 days. |\n| GET | /api/v2/list-federations | Returns an array of all the available federations. |\n| GET | /api/v2/list-markets | Returns an array of all the supported prediction markets |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all predictions?\" -> GET /api/v2/predictions\n- \"Get prediction details?\" -> GET /api/v2/predictions/{id}\n- \"List all performance-stats?\" -> GET /api/v2/performance-stats\n- \"List all list-federations?\" -> GET /api/v2/list-federations\n- \"List all list-markets?\" -> GET /api/v2/list-markets\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Football Prediction API\n@base https://football-prediction-api.p.rapidapi.com\n@version 2\n@auth ApiKey X-RapidApi-Key in header\n@endpoints 5\n@toc api(5)\n\n@endpoint GET /api/v2/predictions\n@desc This endpoint returns by default the next non-expired football predictions. URL parameters can be specified to show specific date in the past or future or to filter by federation and prediction market name.\n@optional {X-RapidApi-Key: str(uuid) # Your key obtained from https://boggio-analytics.com/fp-api/}\n@returns(200) Good request, returns object that contains data array with all predictions.\n@errors {404: Bad request, check response for detailed errors.}\n\n@endpoint GET /api/v2/predictions/{id}\n@desc Returns all predictions available for a match id.\n@required {id: int # ID of match}\n@returns(200) {data: [map]} # Good request, returns object that contains all the predictions for a certain event.\n@errors {404: Bad request, check response for detailed errors.}\n\n@endpoint GET /api/v2/performance-stats\n@desc Returns predictions accuracy in the last 1, 7, 14, 30 days.\n@optional {X-RapidApi-Key: str(uuid) # Your key obtained from https://boggio-analytics.com/fp-api/}\n@returns(200) {data: map{market: str, accuracy: map{yesterday: num, last_7_days: num, last_30_days: num, last_14_days: num}, details: map{yesterday: map{total: int, lost: int, pending: int, won: int, postponed: int}, last_7_days: map{total: int, lost: int, pending: int, won: int, postponed: int}, last_30_days: map{total: int, lost: int, pending: int, won: int, postponed: int}, last_14_days: map{total: int, lost: int, pending: int, won: int, postponed: int}}}} # Good request, returns object that contains accuracy and other datails about predictions.\n@errors {404: Bad request, check response for detailed errors.}\n\n@endpoint GET /api/v2/list-federations\n@desc Returns an array of all the available federations.\n@optional {X-RapidApi-Key: str(uuid) # Your key obtained from https://boggio-analytics.com/fp-api/}\n@returns(200) {data: [str]} # Static response, shows available federations.\n@errors {404: Bad request, check response for detailed errors.}\n\n@endpoint GET /api/v2/list-markets\n@desc Returns an array of all the supported prediction markets\n@optional {X-RapidApi-Key: str(uuid) # Your key obtained from https://boggio-analytics.com/fp-api/}\n@returns(200) {data: map{all: [str], allowed_for_your_subscription: [str]}} # Static response, shows available markets for the current subscription and all available markets in general.\n@errors {404: Bad request, check response for detailed errors.}\n\n@end\n"}}