OK JSON IconOK JSON
  • Overview
  • Glossary
    • Launch Screen
    • Viewer
    • Navigator
    • Editor
    • Node
    • Path Bar
    • Scripts Panel
  • Interactions
    • Drag-and-Drop
    • Toggle Nodes
    • Zoom In Node
    • Keyboard Shortcuts
    • Path Bar
    • Toolbar
    • Quick Look
  • History
  • Scripts
    • Scheme
    • API
      • Utility
      • Alert
      • Text
      • File
      • History
      • jq
      • Include
    • Examples
      • Copy As Minified JSON
      • Convert Timestamp
      • Parse XML
      • Show Text Stats
  • Integrations
    • macOS Services
    • Quick Look Extension
    • Raycast Extension
    • Apple Script
  • URL Schemes
  • Alternate Icon
  • Migration for macOS Sequoia
  • Contact Us
Scripts
API

API

OK JSON offers APIs to let you interact with the app and macOS.

To distinguish from the JavaScript APIs, these APis are prefixed with $.

For example, you can use $utility.getClipboardText in your JavaScript scripts to get the clipboard text.

UtilityAlertTextHistoryInclude
SchemeUtility

Copyright © 2023-2025 Anybox LTD. All rights reserved.