Welcome to the ModelSaber API v2!

The currently supported endpoints are:

These will return a JSON object with the available resources in that category.

They support the following optional GET options:

  • type=<string>: The model type to return. Default is type=all
  • platform=<string>: The model platform to return. Default is platform=all, possible values: allpcquest
  • start=<int>: The first index to return.
  • end=<int>: The last index to return.
  • sort=<date|name|author> : The sort method to use. Default is sort=date
  • sortDirection=<asc|desc> : The sort direction to use. Default is sortDirection=asc
  • filter=<filter1,filter2,etc> : Filter results. Comma delimited.
    • Allows author:<author>, name:<name>, tag:<tag>, hash:<hash>, discordid:<discordid>, and <name>* as filters.* not an exact match
    • Allows negative filters with a - before the filter.

Example query:

https://modelsaber.com/api/v2/get.php
?
type
=
all
&
start
=
1
&
end
=
3
&
sort
=
name
&
sortDirection
=
desc
&
filter
=
author
:
MissRaynor
,
-
Lightning
        

Test you own query:

https://modelsaber.com/api/v2/get.php

Example response:

{
    "1546069241": {
        "tags": [
            "Zelda",
            "Shield"
        ],
        "type": "saber",
        "name": "MasterSword & Shield",
        "author": "MissRaynor",
        "thumbnail": "image.jpg",
        "id": 1546069241,
        "hash": "f08dbcf6dd4f86c8593591c4a66bffdb",
        "bsaber": "missraynor",
        "status": "approved",
        "discordid": "-1",
        "discord": null,
        "variationid": null,
        "platform": "pc",
        "download": "https://modelsaber.com/files/saber/1546069241/MasterSword & Shield.saber",
        "install_link": "modelsaber://saber/1546069241/MasterSword & Shield.saber",
        "date": "2018-12-29 07:40:41 UTC"
    },
    "1546847438": {
        "tags": [
            "Kitchen",
            "Hitspark"
        ],
        "type": "saber",
        "name": "Kitchen Knife",
        "author": "MissRaynor",
        "thumbnail": "image.png",
        "id": 1546847438,
        "hash": "ae6a637042f514ab75e3053c195797d8",
        "bsaber": "missraynor",
        "status": "approved",
        "discordid": "-1",
        "discord": null,
        "variationid": null,
        "platform": "pc",
        "download": "https://modelsaber.com/files/saber/1546847438/Kitchen Knife.saber",
        "install_link": "modelsaber://saber/1546847438/Kitchen Knife.saber",
        "date": "2019-01-07 07:50:38 UTC"
    }
}