Sketchfab Viewer API

Client-side JavaScript library for controlling an embedded Sketchfab 3D viewer. Exposes camera control, screenshot capture, annotation, material and texture manipulation, post-processing filters, animation playback, and an event stream (viewerready, click, annotationSelect, animationPlay, etc.). Distributed as a browser-loadable script from static.sketchfab.com and published on npm.

API entry from apis.yml

apis.yml Raw ↑
aid: sketchfab:sketchfab-viewer-api
name: Sketchfab Viewer API
tags:
- 3D
- Viewer
- JavaScript
- WebGL
- Embed
humanURL: https://sketchfab.com/developers/viewer
properties:
- url: https://sketchfab.com/developers/viewer
  type: Documentation
- url: https://sketchfab.com/developers/viewer/functions
  type: Documentation
  name: Viewer API Functions Reference
- url: https://sketchfab.com/developers/viewer/initialization
  type: Documentation
  name: Viewer API Initialization
- url: https://github.com/sketchfab/viewer-api
  type: SourceCode
  name: Viewer API GitHub
- url: https://static.sketchfab.com/api/sketchfab-viewer-1.12.1.js
  type: SDK
  name: Sketchfab Viewer JavaScript SDK
description: Client-side JavaScript library for controlling an embedded Sketchfab 3D viewer. Exposes camera
  control, screenshot capture, annotation, material and texture manipulation, post-processing filters,
  animation playback, and an event stream (viewerready, click, annotationSelect, animationPlay, etc.).
  Distributed as a browser-loadable script from static.sketchfab.com and published on npm.