# Sketchfab on Onekey > 3 endpoints for Sketchfab (0 stable, 3 beta), 1 to 5 credits each. Category: Entertainment, art & culture. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/sketchfab Reference (Markdown): https://onekey.dev/docs/api/sketchfab.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 3 mapped Sketchfab endpoints return each: - `author.displayName` (string): 3 - `author.id` (string): 3 - `author.username` (string): 3 - `content.text` (string): 3 - `content.createdAt` (ISO 8601 date): 2 - `content.id` (string): 2 - `content.title` (string): 2 - `content.url` (URL): 2 - `engagement.comments` (integer): 2 - `engagement.likes` (integer): 2 - `engagement.views` (integer): 2 - `media.thumbnailUrl` (URL): 2 - `author.avatarUrl` (URL): 1 - `author.followers` (integer): 1 - `author.following` (integer): 1 - `author.url` (URL): 1 - plus 2 platform-specific fields under `ext.` ## Endpoints ### sketchfab.model Fetch a Sketchfab model by uid. - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/sketchfab/model?uid=7w7pIDoEFDFN6uAI2PYUUMmVZmT` with header `x-api-key: YOUR_API_KEY` - Parameters: - `uid` (string, required): Model uid - Fields returned: `content.id`, `content.title`, `content.text`, `content.url`, `engagement.views`, `engagement.likes`, `engagement.comments`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `media.thumbnailUrl`, `ext.downloadable` - Reference: https://onekey.dev/docs/api/sketchfab/model.md ### sketchfab.search Search Sketchfab 3D models. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/sketchfab/search?q=car` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `content.id`, `content.title`, `content.text`, `content.url`, `engagement.views`, `engagement.likes`, `engagement.comments`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `media.thumbnailUrl`, `ext.downloadable` - Reference: https://onekey.dev/docs/api/sketchfab/search.md ### sketchfab.user Fetch a Sketchfab user profile. - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/sketchfab/user?username=sketchfab` with header `x-api-key: YOUR_API_KEY` - Parameters: - `username` (string, required): Sketchfab username - Fields returned: `author.id`, `author.username`, `author.displayName`, `author.url`, `author.followers`, `author.following`, `content.text`, `author.avatarUrl`, `ext.models` - Reference: https://onekey.dev/docs/api/sketchfab/user.md ## Sample request ```bash curl "https://api.onekey.dev/v1/sketchfab/model?uid=7w7pIDoEFDFN6uAI2PYUUMmVZmT" \ -H "x-api-key: YOUR_API_KEY" ```