Decode Bencode to a JSON value
API · /bencode-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 salute
salutare- Tempo di attività
- 100.00%
- Sondaggi del server · 24 ore su 24
- Latenza media
- 350 ms
- Sondaggi del server · 24 ore su 24
- Abbonati
- 4,713
- attiva
- Chiamate totali
- 39
- ultimi 7 giorni
Prezzi
Scegli un livello: fatturazione mensile, annullamento in qualsiasi momento.
Free
Gratis
- 5,335 chiamate/mese
- 2 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 5,335 calls/month
- 2 req/sec
- Encode + decode
- No credit card
Starter
€6.85 /mese
- 14,850 chiamate/mese
- 8 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 14.85k calls/month
- 8 req/sec
- Binary-safe (hex) round-trip
- Email support
Pro
€26.75 /mese
- 199,500 chiamate/mese
- 20 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 199.5k calls/month
- 20 req/sec
- Torrent / tracker pipelines
- Priority support
Mega
€64.75 /mese
- 1,040,000 chiamate/mese
- 50 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 1.04M 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
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.oanor.com/msgpack-api
Winch Drum API
Winch and cable-drum maths as an API, computed locally and deterministically — the rope-capacity, line-pull and rope-out numbers a winch operator, rigger or recovery driver works a drum with. The capacity endpoint gives the rope a drum holds by exact layer geometry: the sum over every full layer of the turns per layer × π × that layer's mean wrap diameter, where turns per layer = drum width ÷ rope diameter and the number of layers = the flange-to-barrel depth ÷ rope diameter — a 10-inch barrel, 20-inch flange, 12-inch-wide drum on half-inch rope holds about 940 ft over 10 layers. The layer-pull endpoint shows why pull falls as the drum fills: the rated pull is for the bare-drum first layer, and as rope piles on, the growing lever arm cuts the line pull and raises the line speed in the same ratio — pull × (first-layer diameter ÷ this layer's diameter) — so the top layer of a deep drum can pull barely half the bottom-layer rating, which is why you spool off to bare drum for a hard pull or add a snatch block. The length-at-layer endpoint gives the rope wound after a number of full layers, for marking the rope or knowing how much line is out. Everything is computed locally and deterministically, so it is instant and private. Ideal for winch- and hoist-sizing tools, recovery and off-road apps, marine and industrial-rigging utilities, and engineering calculators. Pure local computation — no key, no third-party service, instant. Geometric estimate — allow for nesting and freeboard. 3 compute endpoints. For capstan friction use a capstan API; for block-and-tackle a pulley API.
api.oanor.com/winch-api
Mobile Crane Lift API
Mobile-Crane-Lift-Planungsmathematik als API, lokal und deterministisch berechnet – die Lastmoment-, Kippkapazitäts- und Abstützplattenzahlen, die ein Kranführer, Liftplaner oder Rigging-Ingenieur bei einem Hub überprüft. Der Lastmoment-Endpunkt gibt die Last × ihren Arbeitsradius (den horizontalen Abstand vom Drehzentrum zum Haken), die einzelne Zahl, die der Tragfähigkeitsbegrenzer eines Krans überwacht: Eine 5-Tonnen-Last bei 8 m ergibt ein Moment von 40 Tonnenmetern, dasselbe wie 10 Tonnen bei 4 m, weshalb die Diagrammkapazität steil abfällt, wenn der Ausleger ausfährt – das Moment, nicht das Gewicht, kippt den Kran. Der Kapazitätsendpunkt gibt eine vereinfachte Kippbilanz um den Drehpunkt: Die Last, die gerade kippt = Gegengewicht × sein Radius ÷ Lastradius, und die zulässige sichere Last ist ein Stabilitätsbruchteil davon (~75 % auf Abstützungen, ~66 % auf Raupen gemäß den Normen) – eine Lehr-/Plausibilitätszahl, die den Ausleger und das Überbaugerät ignoriert, niemals ein Ersatz für das Lastdiagramm. Der Abstützplattenendpunkt dimensioniert die Tellerplatte: Erforderliche Plattenfläche = Abstützbeinlast ÷ zulässiger Bodendruck (und die Seite einer quadratischen Matte), da Überlastung von schwachem Boden eine Hauptursache für Umkippen ist – ein 30-Tonnen-Bein auf 200 kPa benötigt etwa eine 1,2 m quadratische Matte. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für Liftplanungs- und Rigging-Tools, Bau- und Kranbetriebs-Apps sowie Baustellensicherheitsdienstprogramme. Reine lokale Berechnung – kein Key, kein Drittanbieterdienst, sofort. Vereinfacht – verwenden Sie immer das Lastdiagramm des Herstellers. 3 Compute-Endpunkte. Verwenden Sie für Anschlag- und WLL-Lasten eine Rigging-API.
api.oanor.com/crane-api
Domande frequenti
Risposte rapide su prezzi, quote e integrazione.
Come ottengo una chiave API per Bencode API?
Qual è il limite di velocità di Bencode API?
Quanto costa Bencode API?
Posso cancellare l'abbonamento in qualsiasi momento?
Bencode 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/bencode-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/bencode-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/bencode-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/bencode-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.