Skip to main content

GetModelData

API Playground

Retrieve a 3D model by its UUID. Bearer token authentication required.

Your authentication token will be sent as: Authorization: Bearer <token>
UUID of the model to retrieve

Endpoint

GET https://devapi.marketiger3d.com/v2/Model3D/GetModelData

Authentication

This endpoint requires a Bearer token. Include the token in the Authorization header:

Authorization: Bearer <your_access_token>

Parameters

NameTypeLocationRequiredDescription
modelIdstringqueryYesUUID of the model to retrieve

Parameter Schema

FieldTypeFormatRequiredDescription
modelIdstringuuidYesThe unique identifier of the 3D model

Example Request

curl -X GET "https://devapi.marketiger3d.com/v2/Model3D/GetModelData?modelId=123e4567-e89b-12d3-a456-426614174000" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
fetch('https://devapi.marketiger3d.com/v2/Model3D/GetModelData?modelId=123e4567-e89b-12d3-a456-426614174000', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
},
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://devapi.marketiger3d.com/v2/Model3D/GetModelData?modelId=123e4567-e89b-12d3-a456-426614174000");
request.Headers.Add("Content-Type", "application/json");
request.Headers.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", "YOUR_ACCESS_TOKEN");

var response = await client.SendAsync(request);
var responseContent = await response.Content.ReadAsStringAsync();
var result = JsonSerializer.Deserialize<ApiResponse>(responseContent);

Response

Success Response (200 OK) - Processing

{
"success": true,
"data": {
"modelReady": false,
"message": "Model is being processed",
"model": {
"id": "08de3d76-8a57-4342-88a2-210060b5f4f6",
"status": 2,
"uploaded": "2025-12-17T14:14:06.953808",
"fileName": "Example.zip",
"volume": null,
"supportVolume": null,
"bounds": null,
"price": null,
"parts": null,
"scale": null,
"image": null,
"additionalImages": []
}
}
}

Success Response (200 OK) - Processed

{
"success": true,
"data": {
"modelReady": true,
"message": "Model processed succesfully",
"model": {
"id": "08de3d76-8a57-4342-88a2-210060b5f4f6",
"status": 3,
"uploaded": "2025-12-17T14:18:04.554611",
"fileName": "Example.zip",
"volume": 7.99805,
"supportVolume": 1.32195,
"bounds": "x:20 y:20 z:20",
"price": 2385,
"parts": 1,
"scale": 1000,
"image": "https://s3.eu-north-1.amazonaws.com/.../08de3d77-17f5-4581-81d8-fcaa04701e93_0.png",
"additionalImages": [
"https://s3.eu-north-1.amazonaws.com/.../08de3d77-17f5-4581-81d8-fcaa04701e93_0.png",
"https://s3.eu-north-1.amazonaws.com/.../08de3d77-17f5-4581-81d8-fcaa04701e93_1.png",
"https://s3.eu-north-1.amazonaws.com/.../08de3d77-17f5-4581-81d8-fcaa04701e93_2.png",
"https://s3.eu-north-1.amazonaws.com/.../08de3d77-17f5-4581-81d8-fcaa04701e93_3.png",
"https://s3.eu-north-1.amazonaws.com/.../08de3d77-17f5-4581-81d8-fcaa04701e93_4.png"
]
}
}
}

Response Schema

FieldTypeDescription
successbooleanIndicates if the request succeeded
dataobjectResponse data container
data.modelReadybooleanIndicates whether the model has finished processing
data.messagestringHuman-readable status message
data.modelobjectThe 3D model object

data.model

FieldTypeDescription
idstring (UUID)Unique identifier of the model
statusintegerProcessing status of the model
uploadedstring (ISO 8601)Upload or processing timestamp
fileNamestringName of the uploaded file
volumenumberModel volume
supportVolumenumberEstimated support volume
boundsstringBounding box dimensions
pricenumberCalculated model price
partsintegerNumber of detected parts
scalenumberScale factor
imagestring (URL)Primary preview image (temporary, pre-signed)
additionalImages[]string (URL)Preview image URL

Note: The model object is stored under the lowercase key "model" (not "Model"). The response includes additional fields like Price.

Error Response (400 Bad Request)

{
"success": false,
"error": {
"type": "AUTHENTICATION",
"message": "Model not found"
}
}

Error Response (401 Unauthorized)

{
"success": false,
"error": {
"type": "AUTHENTICATION",
"message": "Authentication required. Please provide a valid Bearer token."
}
}

Error Response (404 Not Found)

{
"success": false,
"error": {
"type": "NOT_FOUND",
"message": "Model not found"
}
}

Error Codes

Error TypeStatusDescription
AUTHENTICATION401Missing or invalid Bearer token
AUTHENTICATION400Model not found or access denied
NOT_FOUND404Model with specified ID does not exist

Notes

  • The response includes all fields from the model object (using IncludeFields = true in the JSON serializer)
  • The modelId parameter must be a valid UUID format
  • The model data structure may vary depending on the model type and properties
  • Thumbnail URLs (imageUrl) and additional image URLs (additionalImages) expire after 5 minutes