Developer API and Cipher SDK
Use Cipher in your own forms and apps with API keys and prepaid, pay-as-you-go API credits.
Use Cipher in your own forms and apps with API keys and prepaid, pay-as-you-go API credits.
The Cipher SDK brings Surbee's response checks into your own forms, apps, and data pipelines. You send a response, and Cipher returns a quality score, a keep, review, or discard recommendation, and the reasons behind it. You do not need a Surbee plan to use it.
Everything for developers lives in the platform console at platform.surbee.dev. Sign in with the same Surbee account you use for the app. From the app, you can also open Settings, then the Connectors tab, and click Open console.
The SDK is pay as you go. You buy API credits in advance and each scored response is paid from that balance.
| Cipher tier | Price per response | Per 1,000 responses |
|---|---|---|
| Tiers 1 and 2 | Free | Free |
| Tier 3 | $0.002 | $2 |
| Tier 4 | $0.01 | $10 |
| Tier 5 | $0.05 | $50 |
Tiers 1 and 2 run on-device and are free.
The first time you open the console, a short setup asks you to:
The sidebar has five pages, plus links to Docs, Help, and Feedback.
Keys start with cipher_sk_. The key is shown once, right after you create
it, so copy it and click I have saved it. Keep keys on your server and
never put them in a web page or app that users can inspect.
If a key leaks, Rotate it to get a new secret, or Revoke it to turn it off for good.
Payments are handled by Polar, so your card details never reach Surbee. The credits are added to your balance once the payment completes.
The SDK is published on npm as @surbee/cipher:
pnpm add @surbee/cipher
For setup, request examples, the full list of checks, and every option, read the developer docs.