Log in
  • science GET v2 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":170211,
             "MapUid":"IhKmjHBxSQGbT9ivnFHQDA",
             "OnlineMapId":"a282e3f9-5585-4edf-9db1-c370ff1190d9",
             "Name":"Deep Dip 2",
             "UploadedAt":"2024-05-03T18:48:16.15",
             "UpdatedAt":"2024-05-11T09:27:54.767",
             "ActivityAt":"2024-09-28T20:27:27.503",
             "Uploader":{
                "UserId":20547,
                "Name":"SparklingW"
             },
             "Authors":[
                {
                   "User":{
                      "UserId":20547,
                      "Name":"SparklingW"
                   },
                   "Role":""
                },
                ...
             ],
             "Tags":[
                {
                   "TagId":4,
                   "Name":"RPG",
                   "Color":""
                },
                ...
             ],
             "Images":[
                {
                   "Position":1,
                   "Width":0,
                   "Height":0,
                   "HasHighQuality":true
                }
             ],
             "Type":0,
             "Environment":1,
             "Vehicle":1,
             "Mood":"48x48Day",
             "MoodFull":null,
             "Style":0,
             "Routes":0,
             "Difficulty":4,
             "Medals":{
                "Author":3272100,
                "Gold":3469000,
                "Silver":3927000,
                "Bronze":4909000
             },
             "CustomLength":null,
             "Length":3272100,
             "AwardCount":402,
             "CommentCount":33,
             "DownloadCount":18253,
             "ReplayCount":0,
             "ReplayType":0,
             "ReplayWRID":null,
             "TrackValue":0,
             "OnlineWR":{
                "AccountId":"BD45204C-80F1-4809-B983-38B3F0FFC1EF",
                "DisplayName":"WirtualTM",
                "RecordTime":2236032,
                "User":{
                   "UserId":17372,
                   "Name":"Wirtual"
                }
             },
             "TitlePack":"TMStadium",
             "Feature":null,
             "UserOnlineRecord":null,
             "UserRecord":null,
             "ReplayWR":null,
             "HasThumbnail":true,
             "IsPublic":true,
             "IsListed":true
          }
       ]
    }

    Output parameters

    Loading...

    Issues

    Loading...