{"openapi":"3.1.0","info":{"title":"MIME Encoding API","version":"1.0.0","description":"The email and MIME text encodings that general base64/hex toolkits leave out. The quoted-printable endpoint encodes and decodes Quoted-Printable (RFC 2045) — the Content-Transfer-Encoding that keeps mostly-ASCII text readable while escaping everything else as =XX hex, with the soft line-wrapping at 76 columns and trailing-whitespace handling the spec requires. The encoded-word endpoint encodes and decodes RFC 2047 encoded-words — the =?UTF-8?Q?…?= and =?UTF-8?B?…?= form used to carry non-ASCII text in email Subject, From, To and other headers — in either the Q (quoted-printable-style) or B (base64) variant, and decodes any mix of them back to plain text. Everything is UTF-8 and computed locally and deterministically, so it is instant and private. Ideal for building and parsing email (SMTP/IMAP), .eml and MIME tooling, newsletter and transactional-mail systems, and migrating legacy mail data. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. These are the MIME-specific encodings; for base64, base32, hex, URL and HTML entity encoding use a general encoding API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/mimeencode-api","description":"oanor gateway"}],"tags":[{"name":"MIME"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/encoded-word":{"get":{"operationId":"get_v1_encoded_word","tags":["MIME"],"summary":"RFC 2047 encoded-word","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"The text or encoded-word string","schema":{"type":"string"},"example":"Héllo"},{"name":"mode","in":"query","required":false,"description":"encode (default) or decode","schema":{"type":"string"},"example":"encode"},{"name":"charset_encoding","in":"query","required":false,"description":"Q (default) or B — for encode","schema":{"type":"string"},"example":"Q"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"mode":"encode","result":"=?UTF-8?Q?H=C3=A9llo?=","charset_encoding":"Q"},"meta":{"timestamp":"2026-06-03T17:42:18.562Z","request_id":"106ab3d5-3d9b-4c22-b6eb-3613c367f55c"},"status":"ok","message":"RFC 2047 encoded-word","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/quoted-printable":{"get":{"operationId":"get_v1_quoted_printable","tags":["MIME"],"summary":"Quoted-Printable encode/decode","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"The text or QP string","schema":{"type":"string"},"example":"Héllo = wörld"},{"name":"mode","in":"query","required":false,"description":"encode (default) or decode","schema":{"type":"string"},"example":"encode"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"mode":"encode","result":"H=C3=A9llo =3D w=C3=B6rld","encoding":"quoted-printable"},"meta":{"timestamp":"2026-06-03T17:42:18.652Z","request_id":"9e64ab8a-be00-4482-8305-54e9b2170d27"},"status":"ok","message":"Quoted-Printable encode/decode","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"name":"MIME Encoding API","notes":"Quoted-Printable uses =XX hex escapes and =\\r\\n soft breaks; encoded-words wrap header text as =?UTF-8?Q?…?= or =?UTF-8?B?…?=. For base64/hex/URL/HTML encodings use a general encoding API. Nothing is stored.","version":"v1","endpoints":[{"path":"/v1/quoted-printable","params":{"mode":"encode (default) or decode","text":"the text or QP string (required)"},"returns":"the Quoted-Printable encoded or decoded text"},{"path":"/v1/encoded-word","params":{"mode":"encode (default) or decode","text":"the text or encoded-word string (required)","charset_encoding":"Q (default) or B — only for encode"},"returns":"the RFC 2047 encoded-word or the decoded text"},{"path":"/v1/meta","params":[],"returns":"this document"}],"description":"Email and MIME text encodings that general base64/hex toolkits leave out. The quoted-printable endpoint encodes or decodes Quoted-Printable (RFC 2045) — the Content-Transfer-Encoding that keeps mostly-ASCII text readable while escaping the rest as =XX, with soft line-wrapping at 76 columns. The encoded-word endpoint encodes or decodes RFC 2047 encoded-words (=?UTF-8?Q?…?= and =?UTF-8?B?…?=), the form used to put non-ASCII text into email Subject, From and other headers, in either Q (quoted-printable-style) or B (base64) form. UTF-8 throughout. Pure local, no key."},"meta":{"timestamp":"2026-06-03T17:42:18.753Z","request_id":"a1e0a846-1e1c-4f3a-b75a-9d5f204b966b"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":5135,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":665,"monthly_call_quota":14650,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2655,"monthly_call_quota":197500,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6455,"monthly_call_quota":1030000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/mimeencode-api"}