Log in
  • science GET Search Maps
    TM2.MX TMX SMX
    /api/maps?{params} content_copy arrow_forward

    Description

    Search paged maps using query parameters.

    Note: It is necessary to provide the fields= parameter in the query string, comma-seperated and then url-encoded.

    Example: to query for MapId, Uploader and Authors[], use fields=MapId%2CUploader.UserId&2CUploader.Name%2CAuthors%5B%5D.

    The complete list of available fields is stated in the example output.

    Input parameters

    Loading...

    Endpoint URL

    https://tm.mania.exchange/api/maps?{params}	// TM2.MX
    https://trackmania.exchange/api/maps?{params}	// TMX
    https://sm.mania.exchange/api/maps?{params}	// SMX

    Output Object

    {
       "More":true,
       "Results":[
          {
             "MapId":1,
             "Name":"Alive",
             "Uploader":{
                "UserId":14413,
                "Name":"Keissla.wp"
             },
             "Type":0,
             "Environment":1,
             "Vehicle":1,
             "Mood":"Sunrise",
             "MoodFull":"48x48Sunrise",
             "Style":2,
             "Routes":0,
             "Difficulty":3,
             "Awards":79,
             "Comments":20,
             "UploadedAt":"2020-07-01T20:12:09.127",
             "UpdatedAt":"2020-07-01T20:12:09.127",
             "ActivityAt":"2024-09-29T16:49:12.637",
             "ReplayType":0,
             "ReplayWRID":151406,
             "TrackValue":67,
             "OnlineWR":{
                "AccountId":"72C7E1CC-4E28-43F7-9F45-9C39D1317C5D",
                "DisplayName":"meexz-",
                "RecordTime":78086,
                "User":{
                   "UserId":41950,
                   "Name":"meeq"
                }
             },
             "ReplayCount":9,
             "TitlePack":"Trackmania",
             "DownloadCount":8858,
             "UserOnlineRecord":null,
             "UserRecord":null,
             "ReplayIDWR":151406,
             "ReplayTimeWR":78321,
             "ReplayScoreWR":67,
             "UsernameWR":"SkiFreak",
             "UserIDWR":27633,
             "Length":86495,
             "HasThumbnail":true,
             "IsPublic":true,
             "IsListed":true,
             "UId":"RXEhmRhMZN8LGlKPfMaecAM871f",
             "Medals":{
                "Author":86495,
                "Gold":92000,
                "Silver":104000,
                "Bronze":130000
             },
             "Tags":[
                {
                   "TagId":2,
                   "Name":"FullSpeed",
                   "Color":""
                },
                ...
             ],
             "Images":[
                {
                   "Position":1,
                   "Width":1920,
                   "Height":1080,
                   "HasHighQuality":true
                },
                ...
             ],
             "Authors":[
                {
                   "User":{
                      "UserId":14413,
                      "Name":"Keissla.wp"
                   },
                   "Role":""
                }
             ]
          }
       ]
    }

    Output parameters

    Loading...

    Issues

    Loading...