API · /bencode-api

Bencode API

salutare 4,713 Abbonati

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
Ottieni una chiave API Prova nel parco giochi → Contatta provider

Specifica leggibile dalle macchine, così gli agenti AI possono integrare questa API.

/api/bencode-api/openapi.json
/api/bencode-api/llms.txt

Individuazione: GET /api/index.json elenca ogni API.

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
Accedi per abbonarti

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
Accedi per abbonarti

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
Accedi per abbonarti

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
Accedi per abbonarti

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

Elevator Traction API

Traction-elevator engineering maths as an API, computed locally and deterministically — the counterweight, hoist-motor and rope-traction numbers a lift engineer or building-services designer sizes a passenger elevator with. The counterweight endpoint gives the balancing mass = the empty car plus a fraction of the rated load (the overbalance, typically 40–50 %, 45 % common), so a 1,000 kg car rated for 1,000 kg uses a 1,450 kg counterweight — the car and weight balance near half load and the machine is sized for the worst-case imbalance, not the full load. The motor-power endpoint uses that: because the counterweight cancels most of the car, the motor only lifts the out-of-balance load = rated load × (1 − overbalance), so power = that × g × speed ÷ efficiency (~65–75 % geared) — a 1,000 kg lift at 1.5 m/s needs only about 11–12 kW, half what a counterweight-less hoist would draw. The traction-ratio endpoint checks the friction grip: a traction elevator moves the ropes by friction over the sheave, so the available traction (e^(μθ), the capstan equation) must beat the T1/T2 tension ratio at both worst cases — a full car at the bottom and an empty car at the top — and it returns the governing ratio. Everything is computed locally and deterministically, so it is instant and private. Ideal for lift-design and building-services tools, vertical-transport and MEP utilities, and engineering calculators. Pure local computation — no key, no third-party service, instant. Sizing estimates — follow the lift code and maker data. 3 compute endpoints. For block-and-tackle use a pulley API; for capstan friction a capstan API.

api.oanor.com/elevator-api

Railway Tractive Effort API

Railway train-performance maths as an API, computed locally and deterministically — the tractive-effort, resistance and adhesion numbers a railway engineer, train planner or rail-sim developer rates motive power with. The tractive-effort endpoint gives the pulling force a locomotive develops = 375 × horsepower × efficiency ÷ speed (mph), the classic hyperbolic curve where a constant-power loco pulls hardest at low speed and tapers as it accelerates — 4,000 hp at 25 mph and 82 % efficiency is about 49,200 lbf at the rail. The resistance endpoint gives the forces a train fights: grade resistance ≈ 20 lb per ton per 1 % of grade (the weight component along the slope, the dominant force on a hill — a 5,000-ton train on a 1 % grade fights 100,000 lbf) plus curve resistance ≈ 0.8 lb per ton per degree of curve from flange friction. The adhesion endpoint gives the hard ceiling: however much power a loco has, it can only pull as hard as the wheels grip — maximum starting tractive effort = the adhesion coefficient (≈ 0.25 dry, more with sand) × the weight on the driving wheels, so 200 tons on the drivers is about 100,000 lbf before slip. Everything is computed locally and deterministically, so it is instant and private. Ideal for rail-operations and motive-power planning tools, train-simulator and railfan apps, and transport-engineering utilities. Pure local computation — no key, no third-party service, instant. Excludes the speed-dependent Davis rolling/air resistance. 3 compute endpoints. For highway curve geometry use a horizontal-curve API.

api.oanor.com/railway-api

Domande frequenti

Risposte rapide su prezzi, quote e integrazione.

Come ottengo una chiave API per Bencode API?
Registrati gratuitamente su oanor.com, genera una chiave API dalla dashboard sviluppatore e chiama Bencode API con l'header x-oanor-key. Nessuna carta di credito richiesta per il piano gratuito.
Qual è il limite di velocità di Bencode API?
Il piano gratuito consente 1 richiesta al secondo. I piani a pagamento arrivano fino a 50 richieste al secondo nel piano Mega. I limiti rigorosi restituiscono HTTP 429 oltre la quota — nessuna spesa imprevista.
Quanto costa Bencode API?
Bencode API ha un piano gratuito con 100 chiamate / mese. I piani a pagamento partono da €6.85 / mese con quote più alte e limiti di velocità più rapidi.
Posso cancellare l'abbonamento in qualsiasi momento?
Sì. I piani sono fatturati mensilmente e puoi cancellare in qualsiasi momento dalla dashboard di fatturazione. Nessun contratto a lungo termine e nessuna penale di cancellazione.
Bencode API è conforme al GDPR?
Tutte le richieste a Bencode API passano attraverso il nostro gateway in UE. La tua chiave upstream non lascia mai il nostro server e nessun dato personale viene condiviso con il fornitore upstream oltre alla richiesta inviata.

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.

Accedi

Nuova discussione

/ 4000

📌 Fissato 🔒 Bloccato

·

· ·

/ 4000

🔒 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.

Accedi

Apri nuovo ticket

Descrivi cosa ti serve. Il team del provider riceve un'email e risponde sulla pagina del ticket.

  • Nessun ticket per questa API.

Abbonamento attivo: le chiamate possono iniziare subito.

Invia la tua prima richiesta —

Abbonamento attivo: copia uno snippet e avvia la tua prima chiamata.