# three.ws Model Check

> three.ws Model Check is a paid API for AI agents from three.ws, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches a glTF/GLB 3D model from a public URL, inspects its structure, and returns stats plus prioritized optimization recommendations

## Facts

- Endpoint: GET https://three.ws/api/x402/model-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/three-ws-369d20c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gHpjbEpevu2kEwlLolhAm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability three-ws-369d20c2
```

Example prompt: Can you check this 3D model for me before I mint it — run a full inspection on https://example.com/assets/character.glb and tell me the vertex count, triangle count, materials, textures, any extensions used, and what optimizations I should make?

## When to prefer this

Use this endpoint when an AI agent needs to vet, validate, or audit a 3D glTF or GLB asset before any downstream action such as minting, embedding in a scene, or purchasing. It is the right choice when structural stats (geometry, materials, textures, animations) and actionable optimization advice are needed for a single model URL. Prefer it over general-purpose file analyzers because it uses the canonical glTF-Transform inspector and returns 3D-specific recommendations.

## Known failure modes

- URL is not publicly accessible — returns fetch error
- File exceeds 16 MiB limit — returns size exceeded error
- URL does not point to a valid glTF/GLB file — returns parse error
- Payment not included or insufficient USDC — returns 402 Payment Required
- Network timeout fetching the remote model URL

## How this service works

three.ws — agent-first 3D platform: drag-and-drop glTF/GLB preview plus model validation, inspection, and optimization, with Solana agent data, all reachable as MCP tools or pay-per-call x402 endpoints. This Model Check route fetches a glTF/GLB model from a URL and returns structural stats (vertices, triangles, materials, textures, animations, extensions) plus a prioritized list of optimization recommendations. Pay-per-call in USDC on Solana mainnet.

## Output

Returns the fetched file size in bytes, model structural stats (scenes, nodes, meshes, materials, textures, animations, total vertices, total triangles, indexed vs non-indexed primitives), container type (glb/gltf), glTF version, generator tool, extensions used and required, plus a prioritized list of optimization suggestions each with a severity level (info/warn/critical) and estimated impact.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/main/2.0/Box/glTF-Binary/Box.glb"
  }
 },
 "output": {
  "type": "object"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public HTTPS URL of a glTF (.gltf) or binary glTF (.glb) model. Max 16 MiB."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "url",
      "fetchedBytes",
      "model",
      "suggestions"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      },
      "model": {
       "type": "object",
       "required": [
        "container",
        "counts"
       ],
       "properties": {
        "counts": {
         "type": "object",
         "properties": {
          "nodes": {
           "type": "integer"
          },
          "skins": {
           "type": "integer"
          },
          "meshes": {
           "type": "integer"
          },
          "scenes": {
           "type": "integer"
          },
          "textures": {
           "type": "integer"
          },
          "materials": {
           "type": "integer"
          },
          "animations": {
           "type": "integer"
          },
          "totalVertices": {
           "type": "integer"
          },
          "totalTriangles": {
           "type": "integer"
          },
          "indexedPrimitives": {
           "type": "integer"
          },
          "nonIndexedPrimitives": {
           "type": "integer"
          }
         }
        },
        "version": {
         "type": [
          "string",
          "null"
         ]
        },
        "container": {
         "enum": [
          "glb",
          "gltf"
         ],
         "type": "string"
        },
        "generator": {
         "type": [
          "string",
          "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://three.ws/avatars/mannequin.glb",
  "model": {
   "counts": {
    "nodes": 18,
    "skins": 1,
    "meshes": 6,
    "scenes": 1,
    "textures": 3,
    "materials": 4,
    "animations": 1,
    "totalVertices": 12480,
    "totalTriangles": 24812,
    "indexedPrimitives": 6,
    "nonIndexedPrimitives": 0
   },
   "version": "2.0",
   "container": "glb",
   "generator": "three.ws CharacterStudio v1.5",
   "extensionsUsed": [
    "KHR_materials_unlit"
   ],
   "extensionsRequired": []
  },
  "suggestions": [
   {
    "id": "texture_size",
    "message": "All textures are within 1024x1024 — good for mobile.",
    "severity": "info"
   }
  ],
  "fetchedBytes": 1572864
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/three-ws-369d20c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from three.ws](https://www.zero.xyz/host/three.ws/llms.txt)
