Indietro

#utilities

16 APIs con questa etichetta

Betting Odds API

Betting-odds maths as an API, computed locally and deterministically. The convert endpoint translates a price between every format used by bookmakers — decimal (European), fractional (UK), American (moneyline) and the implied probability — give it any one and it returns all the others, with the implied probability that the odds represent (1 ÷ decimal). The payout endpoint computes the profit and total return for a stake at given decimal or American odds. The parlay endpoint combines several decimal-odds selections into one accumulator by multiplying them, returning the combined odds, the implied probability and the payout for a stake — every leg must win, so the payout grows fast while the probability shrinks. Decimal odds are the total return per unit staked, American odds are at least +100 for an underdog or −100 or lower for a favourite, and fractional odds look like 5/2. Everything is computed locally and deterministically, so it is instant and private. Ideal for sports-betting, fantasy, odds-comparison and gaming app developers, bet-slip and value tools, and probability education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is odds conversion; for probability distributions use a probability API.

api.oanor.com/odds-api

Homebrewing API

Homebrewing maths as an API, computed locally and deterministically. The abv endpoint computes the alcohol by volume from the original and final gravity — both the simple (OG − FG)·131.25 estimate and a more accurate high-gravity formula — along with the apparent and real attenuation and the calories per 12 oz serving. The gravity endpoint converts freely between specific gravity, degrees Plato and Brix (the three ways brewers and winemakers measure dissolved sugar) and reports the gravity points. The ibu endpoint computes hop bitterness in International Bitterness Units by the Tinseth formula from the hop alpha-acid percentage, the weight, the boil time, the batch volume and the wort gravity, returning the utilization and the alpha-acid concentration too. Gravities are specific gravity such as 1.050, hop weight in grams, boil time in minutes and volume in litres. Everything is computed locally and deterministically, so it is instant and private. Ideal for homebrew, craft-beer, cidery and winemaking app developers, recipe and batch tools, and brewing education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is brewing maths; for a brewery directory use a beer API and for coffee brew ratios a coffee API.

api.oanor.com/brewing-api

Coffee Brewing API

Coffee brewing maths as an API, computed locally and deterministically. The ratio endpoint works out a brew recipe from any two of the coffee dose, the water and the brew ratio — water = coffee × ratio — and reports the third value, the ratio as 1:N, the number of cups and whether the recipe sits around the SCA "golden ratio" of about 1:16–1:17. The espresso endpoint does the same for espresso from any two of the dose, the yield and the brew ratio (yield = dose × brew ratio), labelling the shot ristretto, normale or lungo. The extraction endpoint computes the extraction yield, EY% = (beverage mass × TDS%) ÷ dose, from the dose, the brewed beverage mass (or the water, estimating the mass the grounds retain) and the measured total dissolved solids, then classifies the brew as under-extracted, ideal or over-extracted and weak through very strong against the SCA brewing control chart. Masses are in grams, water in grams or millilitres. Everything is computed locally and deterministically, so it is instant and private. Ideal for specialty-coffee, café, brewing-scale and recipe app developers, pour-over and espresso tools, and barista training. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is coffee brewing maths; for cooking-unit conversions use a cooking API and for caffeine intake use a caffeine API.

api.oanor.com/coffee-api

Lines API

Operate on text line by line. The transform endpoint sorts lines (natural / numeric-aware, ascending or descending, case-insensitive), removes duplicate lines, reverses their order, numbers them, trims whitespace and drops blank lines — and the operations chain in the order you list them, so trim → remove blanks → dedupe → sort happens in a single call. The count endpoint reports line statistics: total, blank, non-blank, unique and duplicate counts plus the longest, shortest and average line length. Perfect for cleaning up lists and logs, deduplicating, preparing data and tidying pasted text. Pure local computation — no key, no third-party service, instant; up to 500,000 characters via POST. Live, nothing stored. 3 endpoints. Distinct from word wrapping, sorting of JSON lists and CSV tooling.

api.oanor.com/lines-api

Sort API

Sortiere eine Liste — oder ein Array von Objekten nach einem seiner Schlüssel — so, wie du es wirklich möchtest. Die natürliche (alphanumerische) Sortierung setzt file2 vor file10 und v1.9 vor v1.10, wie Menschen es erwarten; alphabetische, numerische und nach Länge sortierende Ordnungen sind ebenfalls integriert, jeweils auf- oder absteigend, mit einem optionalen Groß-/Kleinschreibungs-unabhängigen Modus. Elemente können einfache Zeichenketten (durch Komma oder Zeilenumbruch getrennt) oder ein JSON-Array sein; bei Objekten gib die Eigenschaft an, nach der sortiert werden soll, und Zeilen, die diese vermissen, kommen zuletzt. Perfekt für Datei- und Versionslisten, Bestenlisten und Tabellen, zum Bereinigen von Benutzereingaben und jeder Benutzeroberfläche, die sortierte Daten anzeigt. Reine lokale Berechnung — kein Schlüssel, kein Drittanbieter-Dienst, sofort. Live, nichts wird gespeichert. 3 Endpunkte. Abgegrenzt von Mengenoperationen und CSV-Werkzeugen.

api.oanor.com/sort-api

Percentage API

Everyday percentage maths as an API. Four clear operations: what is X% of a value (15% of 200 = 30); what percentage one number is of another (30 is 15% of 200); the percentage change between two numbers, with the direction and the raw difference (200 → 250 is a 25% increase); and applying a percentage increase or decrease to a value (200 + 15% = 230). Handy for discounts, tips and tax, growth and KPI deltas, progress bars, dashboards and quick spreadsheet-style sums — without writing a formula. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. A focused calculator, distinct from a general math-expression engine.

api.oanor.com/percentage-api

JSON Flatten API

Achate e desachate JSON. Transforme um objeto JSON profundamente aninhado em um mapa de nível único com chaves em notação de ponto (a.b.c → valor, arrays tornam-se a.0, a.1) e transforme um mapa de notação de ponto plano de volta para a estrutura aninhada original. Escolha o delimitador (ponto, barra, qualquer coisa), limite a profundidade ou mantenha arrays intactos. Perfeito para variáveis de ambiente, chaves de tradução i18n, preparar JSON para exportação CSV ou planilha, propriedades de eventos de análise, diff de configuração e serialização de formulários. Processamento local puro — sem chave, sem serviço de terceiros, instantâneo. Ao vivo. 3 endpoints. Distinto de validação/formatação JSON, consulta JSONPath e inferência de tipo.

api.oanor.com/flatten-api

Query String API

Analizza e costruisce stringhe di query URL — con pieno supporto per oggetti e array annidati. Trasforma una stringa di query come a[b][c]=1&tags[]=x&tags[]=y in un oggetto JSON annidato pulito, e riconverti qualsiasi oggetto JSON in una stringa di query correttamente codificata. Scegli come serializzare gli array (indici, parentesi, chiavi ripetute o separati da virgola) e se codificare URL. Va ben oltre un semplice codificatore chiave=valore — gestisce le strutture profonde utilizzate dai veri framework web (Rails, PHP, Express/qs). Elaborazione puramente locale — nessuna chiave, nessun servizio di terze parti, istantanea. Live. 3 endpoint. Progettato per la costruzione di richieste API, l'analisi di link complessi e reindirizzamenti, corpi form-encoded e payload di webhook.

api.oanor.com/querystring-api

SQL Formatter API

Format, beautify and minify SQL across 15+ dialects. Pass a query and get it pretty-printed with consistent indentation and keyword casing — for PostgreSQL, MySQL, MariaDB, SQLite, SQL Server (T-SQL), Oracle (PL/SQL), BigQuery, Snowflake, Redshift, Spark, Trino, DuckDB, ClickHouse, DB2, Hive and standard SQL. Control the indent width and whether keywords are upper-cased, lower-cased or left as-is. A minify endpoint collapses a query to a single line (stripping comments while preserving string literals), and a dialects endpoint lists everything supported. Pure local processing — no key, no third-party service, instant. Live. 4 endpoints. Built for SQL editors and IDEs, query loggers, migration tooling, documentation and code review.

api.oanor.com/sqlformat-api

TOML API

Convert and validate TOML — the config format behind Cargo.toml, pyproject.toml, Netlify and many tools. Turn TOML into JSON, turn JSON back into clean spec-compliant TOML 1.0, and validate any TOML with a precise error message (line and column) when it is malformed. Tables, arrays of tables, inline tables, typed values and datetimes are all handled. Input via the query string or the request body (up to 4 MB). Pure local processing — no key, no third-party service, instant. Live. 4 endpoints. Completes the oanor config-format family alongside the JSON, YAML, XML and CSV APIs — built for build tooling, config editors, CI and data pipelines.

api.oanor.com/toml-api

Hashids API

将连续的整数ID转换为简短、唯一、非连续的字符串——并可逆转换。将一个或多个非负整数(或十六进制字符串,如Mongo ObjectId)编码为紧凑的YouTube风格ID,如"vbYCZIYD",然后解码以恢复精确的原始值。添加盐值使您的ID对您的应用程序唯一,设置最小长度,或提供自定义字母表。这是可逆的混淆(非加密):非常适合在公共URL中隐藏行ID、构建短链接,并避免泄露您有多少条记录。纯本地计算——无需密钥、无需第三方服务、无需存储。无状态:使用与编码时相同的盐值/最小长度/字母表进行解码。实时。5个端点。与UUID生成、进制转换和雪花解码不同。

api.oanor.com/hashids-api

API de Análise de E-mail

Analise um e-mail bruto (RFC 822 / MIME / .eml) em dados limpos e estruturados. Envie a mensagem bruta (ou uma URL para um arquivo .eml) e receba o remetente, destinatários (para / cc / bcc / responder-para) com nomes e endereços separados, o assunto, a data analisada, o Message-ID, In-Reply-To e References (para encadeamento), prioridade, os corpos em texto simples e HTML, todos os cabeçalhos e metadados de cada anexo (nome do arquivo, tipo de conteúdo, tamanho, content-id — nunca o payload binário). Um endpoint /v1/headers retorna apenas o mapa de cabeçalhos. A análise é totalmente local (sem serviço de terceiros) e nada é armazenado. Ao vivo. 3 endpoints. Construído para processamento de e-mail de entrada, visualizadores de .eml, importação de caixa de correio, tickets e pipelines de automação de e-mail. Distinto de validação de endereço e verificações SPF/DMARC.

api.oanor.com/emailparse-api

vCard API

Genera y analiza tarjetas de contacto vCard (.vcf). Construye una vCard 3.0 compatible con estándares a partir de campos simples: nombre (o nombre/apellido), organización, cargo, uno o más números de teléfono y correos electrónicos, sitios web, una dirección postal, cumpleaños, nota y una URL de foto, lista para descargar como .vcf o incrustar en un código QR de contacto (combínalo con la API QR para "escanear y guardar contacto"). O ve al revés: analiza cualquier cadena vCard de vuelta a campos estructurados limpios. Procesamiento local puro: sin clave, sin servicio de terceros, nada almacenado. En vivo. 3 endpoints. Diseñado para tarjetas de presentación digitales, códigos QR de contacto, importación/exportación de libretas de direcciones, integraciones CRM y herramientas de firma de correo electrónico.

api.oanor.com/vcard-api

Code Execution API

Compile and run code in 35+ programming languages from a single API call — no key, no container to manage. Send source code plus an optional stdin, compiler options and runtime arguments, pick a language (python, c++, java, go, rust, c#, javascript, typescript, ruby, php, kotlin, swift, haskell, and more) or an explicit compiler version, and get back the exit code, stdout, stderr and compiler messages. List every supported language with its default compiler, browse the full compiler catalogue (175+ compilers across versions) and filter it by language. Set save=true to also get a shareable permlink. Execution runs in a sandboxed upstream and is always live (never cached). 4 endpoints, backed by the public Wandbox service. Built for online IDEs, coding-education platforms, automated grading, interview tools and "run this snippet" features. No upstream key, no cache.

api.oanor.com/codeexec-api

Jokes API

Una API de chistes limpia y apta para toda la familia. Obtén un chiste aleatorio — o varios a la vez — como una línea única o un chiste de dos partes (planteamiento y remate), filtrado por categoría (Programación, Varios, Juego de palabras, Escalofriante, Navidad); busca chistes que contengan una palabra específica; y lista las categorías disponibles. El modo seguro siempre está activado y la categoría ofensiva "Oscuro" está excluida, por lo que todos los chistes son seguros para el trabajo y la familia. Ideal para bots de chat y Discord, sitios web y aplicaciones que quieran un toque de humor, pantallas de carga y herramientas para desarrolladores. Construido sobre JokeAPI.

api.oanor.com/jokes-api

Deck of Cards API

Un motor de baraja de cartas como API. Crea una baraja recién barajada (una o varias barajas, con o sin comodines), roba cartas de ella y vuelve a barajar, con el estado completo de la baraja rastreado por un ID de baraja para que puedas repartir manos en múltiples llamadas. Cada carta viene con su código (por ejemplo, AS, 0H), valor, palo y una URL de imagen PNG y SVG, para que puedas renderizar cartas reales. Roba cartas sin estado de una baraja nueva para selecciones aleatorias rápidas, o conserva un deck_id para construir un juego completo. Ideal para juegos de cartas y prototipos de juegos, bots de Discord, enseñanza y demostraciones de probabilidad, y cualquier aplicación que necesite una baraja estándar de 52 cartas. Construido sobre el servicio Deck of Cards.

api.oanor.com/cards-api