List Models
curl --request GET \
--url https://api.legitmark.com/api/v2/modelsconst options = {method: 'GET'};
fetch('https://api.legitmark.com/api/v2/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.legitmark.com/api/v2/models"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.legitmark.com/api/v2/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"rc_hit": true,
"rc_key": "models:d883666bf43f39feef1c4f4dcd1ea54d",
"message": "All the models are fetched successfully.",
"models": [
{
"uuid": "8464ae2d-f98a-410b-99c7-7824dff0138e",
"name": "Air Jordan 1 Low",
"feature": false,
"sides": [],
"media": null,
"brand": {
"uuid": "03e7eb07-5e1e-465d-92a6-228dcaa6b148",
"name": "Air Jordan",
"media": "https://cdn.legitmark.com/brands/air_jordan.png",
"sides": []
},
"types": null,
"category": null,
"created_at": "2023-11-12T03:54:22.000Z",
"updated_at": "2023-11-12T03:54:22.000Z"
}
],
"metadata": {
"total_count": 1250,
"page_number": 1,
"total_pages": 63,
"page_size": 20
}
}Taxonomy
List Models
Get all available models with enhanced filtering capabilities and comprehensive taxonomy data.
GET
/
api
/
v2
/
models
List Models
curl --request GET \
--url https://api.legitmark.com/api/v2/modelsconst options = {method: 'GET'};
fetch('https://api.legitmark.com/api/v2/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.legitmark.com/api/v2/models"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.legitmark.com/api/v2/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"rc_hit": true,
"rc_key": "models:d883666bf43f39feef1c4f4dcd1ea54d",
"message": "All the models are fetched successfully.",
"models": [
{
"uuid": "8464ae2d-f98a-410b-99c7-7824dff0138e",
"name": "Air Jordan 1 Low",
"feature": false,
"sides": [],
"media": null,
"brand": {
"uuid": "03e7eb07-5e1e-465d-92a6-228dcaa6b148",
"name": "Air Jordan",
"media": "https://cdn.legitmark.com/brands/air_jordan.png",
"sides": []
},
"types": null,
"category": null,
"created_at": "2023-11-12T03:54:22.000Z",
"updated_at": "2023-11-12T03:54:22.000Z"
}
],
"metadata": {
"total_count": 1250,
"page_number": 1,
"total_pages": 63,
"page_size": 20
}
}Query Parameters
Number of results per page
Required range:
1 <= x <= 100Page number
Required range:
x >= 1Search term for model names
Filter by specific brand
Filter by specific type
Filter by specific category
Response
200 - application/json
Models retrieved successfully
Example:
true
Example:
"All the models are fetched successfully."
Hide child attributes
Hide child attributes
Indicates if the response was served from cache
Example:
true
Cache key used for this response
Example:
"models:abc123"