Decode MessagePack to a JSON value
API · /msgpack-api
MessagePack API
Codifica e decodifica MessagePack — il formato di serializzazione binaria compatto ("è come JSON, ma veloce e piccolo") utilizzato da Redis, Fluentd, molti sistemi RPC e protocolli IoT. L'endpoint di codifica trasforma un valore JSON in byte MessagePack, scegliendo automaticamente la rappresentazione più piccola per ogni intero, stringa, array e mappa; l'endpoint di decodifica analizza MessagePack restituendo un valore JSON. Implementa l'intera specifica — nil, booleani, ogni larghezza di intero fissa e variabile, float32 e float64, str e bin, array e mappe, e la famiglia ext — e rifiuta dati troncati o finali invece di modificarli silenziosamente. I valori binari (bin) e qualsiasi stringa non UTF-8 vengono restituiti senza perdita come oggetto {"_bytes_hex":"…"}, e i valori ext come {"_ext":{"type":N,"hex":"…"}}, quindi codifica e decodifica sono esatti. I byte vengono scambiati sia in esadecimale che in base64 per sopravvivere a qualsiasi trasporto. Tutto viene calcolato localmente e deterministicamente, quindi è istantaneo e privato. Ideale per il debug di payload MessagePack, per collegare sistemi JSON e msgpack, per strumenti RPC e cache, pipeline IoT e per insegnare il formato. Puro calcolo locale — nessuna chiave, nessun servizio di terze parti, istantaneo. Live, nulla viene memorizzato. 3 endpoint. Questo è specificamente MessagePack; per JSON, YAML, TOML o XML usa quelle API di formato, per Bencode di BitTorrent usa l'API Bencode, e per codifica base64, esadecimale, URL o HTML usa un'API di codifica generale.
API salute
salutare- Tempo di attività
- 100.00%
- Sondaggi del server · 24 ore su 24
- Latenza media
- 85 ms
- Sondaggi del server · 24 ore su 24
- Abbonati
- 3,183
- attiva
- Chiamate totali
- 39
- ultimi 7 giorni
Prezzi
Scegli un livello: fatturazione mensile, annullamento in qualsiasi momento.
Free
Gratis
- 5,435 chiamate/mese
- 2 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 5,435 llamadas/mes
- 2 solicitudes/segundo
- Codificar + decodificar
- Sin tarjeta de crédito
Starter
€6.95 /mese
- 14,950 chiamate/mese
- 8 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 14.95k calls/month
- 8 req/sec
- Full spec incl. bin/ext
- Email support
Pro
€26.85 /mese
- 200,500 chiamate/mese
- 20 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 200.5k calls/month
- 20 req/sec
- RPC / cache / IoT pipelines
- Priority support
Mega
€64.85 /mese
- 1,045,000 chiamate/mese
- 50 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 1.045M llamadas/mes
- 50 req/seg
- Escala de plataforma
- SLA dedicado
Costruito da
Correlato APIs
Altro APIs con tag sovrapposti.
CBOR API
Encode and decode CBOR (RFC 8949, Concise Binary Object Representation) — the IETF-standard binary data format behind COSE, WebAuthn/FIDO2, the EU Digital COVID Certificate, and many IoT and constrained-device protocols. The encode endpoint turns a JSON value into compact, definite-length CBOR, choosing the smallest head for each integer, string, array and map; the decode endpoint parses CBOR back into a JSON value. It implements the spec across all major types — unsigned and negative integers of every width, byte and text strings (including indefinite-length chunked strings), arrays, maps, tags, the simple values false/true/null, and half-, single- and double-precision floats — and rejects trailing or truncated data rather than silently mangling it. Byte strings and any non-UTF-8 text come back losslessly as {"_bytes_hex":"…"}, tags as {"_tag":{"tag":N,"value":…}}, non-finite floats as {"_float":"NaN|Infinity|-Infinity"}, and other simple values as {"_simple":N}, so encode and decode round-trip exactly. Bytes are exchanged as both hex and base64 so they survive any transport. Everything is computed locally and deterministically, so it is instant and private. Ideal for debugging CBOR, COSE and WebAuthn payloads, bridging JSON and CBOR systems, IoT and smart-card pipelines, and teaching the format. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is CBOR specifically; for MessagePack use the MessagePack API, for BitTorrent's Bencode use the Bencode API, for JSON, YAML, TOML or XML use those format APIs, and for base64, hex, URL or HTML encoding use a general encoding API.
api.oanor.com/cbor-api
Bencode API
Codifica e decodifica Bencode (BEP 3) — il formato di serializzazione che BitTorrent usa per i file .torrent metainfo e le risposte dei tracker. L'endpoint encode trasforma un valore JSON in Bencode: gli oggetti diventano dizionari con le loro chiavi ordinate in ordine di byte grezzo esattamente come richiesto dalla specifica, gli array diventano liste, i numeri interi diventano interi e le stringhe diventano stringhe di byte con prefisso di lunghezza. L'endpoint decode analizza Bencode in un valore JSON e applica rigorosamente la specifica — nessuno zero iniziale negli interi, nessuno zero negativo, le chiavi del dizionario devono essere ordinate e uniche, e nessun dato finale è tollerato — quindi input malformati vengono rifiutati anziché modificati silenziosamente. Le stringhe di byte binarie che non sono UTF-8 valide sono rappresentate senza perdita come un oggetto {"_bytes_hex":"…"}, quindi encode e decode fanno un round-trip esatto anche per il campo binario "pieces" di un torrent reale. Decode accetta i dati sia come testo che, per payload genuinamente binari, come esadecimale; encode restituisce sia il testo Bencode (quando stampabile) che i suoi byte esadecimali. Tutto è calcolato localmente e deterministicamente, quindi è istantaneo e privato. Ideale per creare e analizzare file .torrent, strumenti per tracker, client BitTorrent e messaggi DHT, e per insegnare come funziona il formato. Pura computazione locale — nessuna chiave, nessun servizio di terze parti, istantaneo. Live, nulla viene memorizzato. 3 endpoint. Questo è specificamente il Bencode di BitTorrent; per codifica base64, esadecimale, URL o HTML usa un'API di codifica generale, e per JSON, YAML, TOML o XML usa quelle API di formato.
api.oanor.com/bencode-api
Bitwise API
API de matemáticas enteras a nivel de bits, con anchos de 8, 16, 32 o 64 bits y aritmética exacta de enteros grandes. El endpoint inspect toma un número (decimal, hexadecimal 0x, binario 0b u octal 0o) y devuelve sus formas decimal, con signo (complemento a dos), hexadecimal, binaria y octal, además del conteo de población (peso de Hamming), paridad, conteo de ceros iniciales y finales, si es una potencia de dos, su valor invertido en bits y su valor intercambiado de bytes (endianness). El endpoint ops realiza una operación bitwise — AND, OR, XOR, NAND, NOR, XNOR, NOT, desplazamientos lógicos y aritméticos (shl, shr, sar) y rotaciones (rol, ror) — enmascarada al ancho elegido. El endpoint bit establece, limpia, alterna o prueba un bit individual por índice. Todo se calcula local y determinísticamente, por lo que es instantáneo y privado. Ideal para programación embebida y de sistemas, manejo de protocolos de red y banderas, gráficos y hashing, emuladores e ingeniería inversa, y enseñanza de binario. Cálculo local puro — sin clave, sin servicio de terceros, instantáneo. En vivo, nada se almacena. 4 endpoints. Esto es manipulación de bits; para conversión de base 2-36 use una API de conversión de bases y para bits de punto flotante IEEE-754 use una API de punto flotante.
api.oanor.com/bitwise-api
IEEE 754 API
Inspect and build IEEE 754 floating-point numbers — see exactly how a number is stored in the bits. The encode endpoint takes a number and decomposes its single (32-bit) or double (64-bit) representation into the sign bit, the raw and unbiased exponent, the mantissa, the full binary layout split into sign / exponent / mantissa, the hexadecimal word, and a classification (normal, subnormal, zero, infinity or NaN); for single precision it also returns the actual value after rounding, so you can see floating-point error directly. The decode endpoint goes the other way — give it a hex word or a 32-/64-bit binary string and it returns the number it represents along with the same field breakdown. It accepts inf, -inf and nan, and lays bytes out big-endian. Everything is computed locally and deterministically, so it is instant and exact. Ideal for systems and embedded programming, teaching how floats work, debugging precision and rounding bugs, binary protocols and file formats, and interview prep. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This inspects floating-point bits; for integer base conversion use a base-convert API.
api.oanor.com/ieee754-api
Domande frequenti
Risposte rapide su prezzi, quote e integrazione.
Come ottengo una chiave API per MessagePack API?
Qual è il limite di velocità di MessagePack API?
Quanto costa MessagePack API?
Posso cancellare l'abbonamento in qualsiasi momento?
MessagePack API è conforme al GDPR?
Scegli un endpoint dall'elenco a sinistra per visualizzarne i dettagli e provarlo.
Frammenti di codice
Iscriviti per ottenere una chiave API, quindi chiama qualsiasi percorso sotto il tuo slug.
curl https://api.oanor.com/msgpack-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/msgpack-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/msgpack-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/msgpack-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Valutazioni
Accedi per votare.
Nessuna recensione ancora.
Discussione
Fai domande, condividi consigli, ricevi risposte dal provider e dagli altri sviluppatori. Pubblico — chiunque può leggere.
Accedi per scrivere o rispondere.
AccediNuova discussione
·
-
Risposta del provider
🔒 Discussione bloccata — non si può più rispondere.
-
·
- Nessuna discussione — inizia tu.
Supporto
Supporto privato 1:1 con il provider — fatturazione, integrazione, account. Solo tu e il team del provider vedete questi thread.
Accedi per aprire un ticket di supporto.
AccediApri nuovo ticket
Descrivi cosa ti serve. Il team del provider riceve un'email e risponde sulla pagina del ticket.
-
·
Urgente - Nessun ticket per questa API.