Fonts

Retrieve a list of fonts

List available fonts for text layers: the shared system catalog plus your own uploaded fonts. Supports search, category filtering, and pagination.

get/api/v1/fonts

Request

  • Base URL: https://api.sudomock.com
  • URL: https://api.sudomock.com/api/v1/fonts
  • Auth: API key in header x-api-key

Query parameters

pageinteger

Page number (1-based)

per_pageinteger

Results per page (1-100)

categorystring

Filter by category, e.g. 'serif'

searchstring

Filter by family name (case-insensitive contains)

scopestring

Which fonts to return: 'all' (system + yours), 'system', or 'custom' (yours only)

Response

Successful Response

successboolean

Always true on a successful response.

Example response

{
  "data": [
    {
      "category": "sans-serif",
      "created_at": "2026-07-13T00:00:00+00:00",
      "family": "Open Sans",
      "file_url": "https://cdn.sudomock.com/mockup-assets/fonts/web/9f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f.woff2",
      "is_premium": false,
      "is_system": true,
      "license": "OFL",
      "postscript_name": "OpenSans-Regular",
      "subfamily": "Regular",
      "uuid": "9f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
      "preview_url": null
    },
    {
      "category": "serif",
      "created_at": "2026-07-13T00:00:00+00:00",
      "family": "Playfair Display",
      "file_url": "https://cdn.sudomock.com/mockup-assets/fonts/web/4b8e6a71-2c05-4f93-ae17-6d3c9b204e58.woff2",
      "is_premium": false,
      "is_system": true,
      "license": "OFL",
      "postscript_name": "PlayfairDisplay-Bold",
      "subfamily": "Bold",
      "uuid": "4b8e6a71-2c05-4f93-ae17-6d3c9b204e58",
      "preview_url": null
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 50,
    "total": 2
  },
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.