BiGapiguides
POST /v1/cbor/convert · 1 cent per operation

CBOR ↔ JSON

Decode CBOR (IoT, WebAuthn, COSE) to readable JSON or encode JSON as compact CBOR. Bytes come back as base64, large integers as strings.

Try it

curl -X POST https://api.bigapi.dev/v1/cbor/convert -H 'Authorization: Bearer $KEY' -H 'Content-Type: application/json' -d '{"cborBase64":"omFhAWFigvVheA=="}'

New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.

Parameters

NameMeaning
fileA CBOR or JSON file; the direction is detected from the content unless to is set.
Default: none, send file, json or cborBase64
toForce the direction for an uploaded file: json decodes CBOR, cbor encodes JSON.
Allowed: json, cbor
Default: detected from the file
jsonJSON value to encode as CBOR (JSON request body instead of a file).
Default: none
cborBase64CBOR bytes as base64 to decode to JSON (JSON request body instead of a file).
Default: none

Result and price

1¢ · 1 cent per operation

Returns application/json | application/cbor. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds cbor_convert on its own.