Back to overview

This announcement is out of date, and some information is deprecated. You can find up-to-date information about the API on our developer pages:https://help.sketchfab.com/hc/en-us/articles/202512446-Material-Editor


Sketchfab API

We built an API to ease the provess of uploading a 3D model from a third party website. Sketchfab uses a REST API accessible through https with a private api-key. Ask for your private key support@sketchfab.com

To upload a new model

  • you must POST to https://api.sketchfab.com/model
  • your file contents must be compatible with sketchfab (see http://sketchfab.com/faq)
  • send JSON in your requestbody:
    • title : model title
    • description (optional) : model description
    • contents : base64 encoded model data
    • filename : name of your model file, this must be given with the extension related to content
    • tags (optional) : list of space separated tags
    • token : your sketchfab API token
    • thumbnail (optional) : base64 encoded png thumbnail
  • returns :
    • {success: true, id: ‘xxxxxx’} when upload OK
    • {success: false, error: ‘error message’} when upload error

Check out more details on http://sketchfab.com/api

About the author

Sketchfab Team


Leave a Reply

Your email address will not be published. Required fields are marked *

    Related articles