API reference / Devices, signing & primitives / Protobuf decode
Protobuf decode
Decode a raw protobuf payload to JSON.
- Upstream
local · protobuf decoder- Access
- Every plan
- Runs on
- Primitive
- Billing
- Failed calls are free
Authorization
x-api-keyheader · stringrequired
Your API key. Create one in API keys.
Body
Send JSON with content-type: application/json.
hexstringrequired
The payload as hex. For example 080c120474657374.
Response
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.
Errors
Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.