{"note":"OpenAPI conversion -- returning structured metadata","name":"rapidapi-com-football-prediction","description":"Football Prediction API","version":"2","base_url":"https://football-prediction-api.p.rapidapi.com","endpoints":5,"raw":"@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"}