Skip to main content

API Overview

Sketchfab API options, features, and documentation

Written by Elaine

There are a number of APIs to integrate Sketchfab into your apps, export and upload 3D models, or build apps on top of our platform.

Before using the Sketchfab API, we recommend reading our Terms of Service.

Sketchfab Login (OAuth 2.0)

We recommend using Sketchfab Login to improve the UX of your app. Users can connect to their Sketchfab account and publish 3D content on Sketchfab without leaving your app.

Sketchfab Login uses OAuth 2.0, the industry standard for connecting apps and accounts.

Data API v3

The REST API provides programmatic access to read and write Sketchfab data. Upload models, edit settings, manage collections, search, and more. Some endpoints are public, while others require authentication with OAuth or your API Token.

If you're building an application, please read our Developer Guidelines.

If you want to manipulate the 3D viewer in real-time, try the Viewer API.

Download API (Beta)

The Download API is an extension of the existing Data API (v3). It's a REST-like API that allows developers to download 3D models from Sketchfab.

The Download API currently provides:

  • A library of 500,000+ free models, licensed under Creative Commons. Most models are compatible with commercial use.

  • Aodels in glTF and USDZ format, new standard for 3D models that supports PBR, animation and more.

Viewer API

The Viewer API lets you build web apps on top of Sketchfab's 3D viewer. With the API, you can control the viewer in JavaScript. It provides functions for starting, stopping the viewer, moving the camera, taking screenshots and more.

Examples and experiments here: https://labs.sketchfab.com/experiments/

oEmbed

Sketchfab implements the oEmbed protocol to allow seamless embedding of any model on any website.

Did this answer your question?