{"slug":"pack-openverbs-com-v1-encode-526c5f","title":"Serialize a JSON value into a compact MessagePack or CBOR byte stream, returned ","host":"pack.openverbs.com","method":"POST","resource":"https://pack.openverbs.com/v1/encode","category":"other","description":"Serialize a JSON value into a compact MessagePack or CBOR byte stream, returned as a base64 (default), base64url or hex string, along with the byte length.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":459,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"data":"example","format":"msgpack","outputEncoding":"base64"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"data":{"description":"Any JSON value (object, array, string, number, boolean or null)."},"format":{"description":"Binary format, one of msgpack, cbor.","enum":["msgpack","cbor"],"type":"string"},"outputEncoding":{"description":"Envelope encoding of the bytes (base64, base64url, hex). Default base64.","enum":["base64","base64url","hex"],"type":"string"}},"required":["format","data"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":459,"error":null}],"description_full":"Serialize a JSON value into a compact MessagePack or CBOR byte stream, returned as a base64 (default), base64url or hex string, along with the byte length.","last_updated":"2026-09-06T08:09:38.119Z","schemes":["exact"]}