{"openapi":"3.1.0","info":{"title":"Encoding API","version":"1.0.0","description":"A fast, fully-local encoding toolkit: encode and decode text between base64, base64url, base32 (RFC 4648), hex, URL percent-encoding, HTML entities, binary and ASCII85 — plus JWT inspection (decode header and payload without verifying the signature). Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for developer tools, webhooks, data pipelines, debugging and integrations.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/encoding-api","description":"oanor gateway"}],"tags":[{"name":"Encoding"}],"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/decode":{"get":{"operationId":"get_v1_decode","tags":["Encoding"],"summary":"Decode text from a scheme","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"Encoded text","schema":{"type":"string"},"example":"aGVsbG8gd29ybGQ="},{"name":"from","in":"query","required":true,"description":"base64, base64url, base32, hex, url, html, binary, ascii85","schema":{"type":"string"},"example":"base64"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"input":"aGVsbG8gd29ybGQ=","result":"hello world","scheme":"base64"},"meta":{"timestamp":"2026-05-30T09:00:26.009Z","request_id":"98a96bd0-7a14-40da-b197-e2150996368b"},"status":"ok","message":"Decoded","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/encode":{"get":{"operationId":"get_v1_encode","tags":["Encoding"],"summary":"Encode text into a scheme","description":"","parameters":[{"name":"text","in":"query","required":true,"description":"Text to encode","schema":{"type":"string"},"example":"hello world"},{"name":"to","in":"query","required":true,"description":"base64, base64url, base32, hex, url, html, binary, ascii85","schema":{"type":"string"},"example":"base64"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"input":"hello world","result":"aGVsbG8gd29ybGQ=","scheme":"base64"},"meta":{"timestamp":"2026-05-30T09:00:26.058Z","request_id":"0dd172d1-bd92-420b-b4b5-042600e53b8f"},"status":"ok","message":"Encoded","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/jwt-decode":{"get":{"operationId":"get_v1_jwt_decode","tags":["Encoding"],"summary":"Inspect a JWT (no signature verify)","description":"","parameters":[{"name":"token","in":"query","required":true,"description":"JWT string","schema":{"type":"string"},"example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJuYW1lIjoiQWRhIn0.x"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"header":{"alg":"HS256","typ":"JWT"},"payload":{"sub":"123","name":"Ada"},"signature_present":true},"meta":{"timestamp":"2026-05-30T09:00:26.134Z","request_id":"07e4a603-8169-424c-97c6-6213a0bd2029"},"status":"ok","message":"JWT decoded","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":10000,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":500,"monthly_call_quota":200000,"rps_limit":12,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1600,"monthly_call_quota":1200000,"rps_limit":40,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":4200,"monthly_call_quota":6000000,"rps_limit":120,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/encoding-api"}