API · /aspectratio-api

Aspect Ratio API

healthy 4,198 Subscribers

Aspect-ratio and resize maths on plain dimensions — no image upload needed. The ratio endpoint reduces a width×height to its simplest integer ratio (1920×1080 → 16:9), its decimal value and a common name. The resize endpoint scales a dimension while preserving the ratio: give a new width or a new height and get the other side. The fit endpoint fits a source size into a target box using contain (letterbox) or cover (crop), returning the resulting size, the scale factor and the centering offset. Perfect for responsive layouts and CSS aspect-ratio, video and thumbnail framing, image-grid planning and print sizing. Pure local computation — it works on numbers only and never touches image files. Live, nothing stored. 4 endpoints. Distinct from image processing/resizing (which operates on actual files) and from geometry of shapes.

api.oanor.com/aspectratio-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

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

Discovery: GET /api/index.json lists every API.

Aspect Ratio API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
74 ms
Server probes · 24h
Subscribers
4,198
active
Total calls
80
last 7 days
status Full status page → · 16 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 840 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 840 calls/month
  • 2 req/sec
  • Ratio + resize + fit
  • No credit card
Sign in to subscribe

Starter

€1.50 /month

  • 6,900 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 6.9k calls/month
  • 8 req/sec
  • Contain + cover + offsets
  • Email support
Sign in to subscribe

Pro

€19.80 /month

  • 129,000 calls / month
  • 20 requests / second
  • Hard cap (429 above quota, no overage)
  • 129k calls/month
  • 20 req/sec
  • Layout / media pipelines
  • Priority support
Sign in to subscribe

Mega

€55.80 /month

  • 665,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 665k calls/month
  • 50 req/sec
  • Platform scale
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Image API — oanor API marketplace

Image API

Inspect image metadata (dimensions, format, size, colour space, transparency) and resize or convert images between JPEG, PNG, WebP and AVIF straight from a URL. Perfect for thumbnails, format optimisation and on-the-fly image transforms.

api.oanor.com/image-api

Keyboard Layout API — oanor API marketplace

Keyboard Layout API

Re-map text between keyboard layouts — the fix for text typed with the keyboard set to the wrong layout. The remap endpoint takes text, a source layout and a target layout, and rewrites each character to the one produced by the same physical key on the other layout. So text accidentally typed on a Dvorak-configured keyboard while you meant QWERTY (or the reverse) is recovered exactly, and because the mapping is position-preserving it round-trips perfectly. It supports QWERTY (US), Dvorak and Colemak, including the shifted symbols, and leaves characters that are not on a remappable key (spaces and accents) untouched. The layouts endpoint returns the full key map for each layout. Everything is computed locally and deterministically, so it is instant and private. Ideal for fixing wrong-layout typing, building text editors and IME tools, layout-learning aids, and cross-layout search. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This remaps between keyboard layouts; for classical ciphers (Caesar, ROT13, Morse) use a cipher API.

api.oanor.com/keyboardlayout-api

DLive Streaming API — oanor API marketplace

DLive Streaming API

Live data from DLive, the blockchain-based livestreaming platform, with no key. Look up any streamer's public profile (followers, following, partner status, whether they are live and what they are streaming); read DLive's front-page recommended channels; pull the live-stream directory ordered by trending/new; browse the game and category directory with live viewer counts; read a single category's detail; and search streamers by name. The creator / livestreaming / audience-stats layer for stream dashboards, creator tools, analytics and discovery — distinct from the Kick and other streaming readers. Live from DLive; short cache only.

api.oanor.com/dlive-api

AcFun Rankings & Video API — oanor API marketplace

AcFun Rankings & Video API

Live rankings and video engagement from AcFun (acfun.cn, "A站"), the pioneering Chinese ACG (anime-comic-game) video community, read keyless from AcFun's public ranking endpoint and video pages. Founded in 2007, AcFun is the platform that brought danmaku (bullet comments scrolling across the video) to China and is the cultural older sibling of Bilibili, with its own famously devoted fandom and its signature "banana" votes — the currency fans throw at videos they love. The ranking endpoint returns AcFun's video ranking over a period (day, three days or week), optionally for one channel, each video with its views, danmaku, likes, banana votes, favourites, shares and comments, its uploader and their follower count, duration and tags. The video endpoint returns one video in full by its AcFun id (the "ac" number) — the same engagement figures plus the description, read from the video page's embedded data. This is the AcFun platform cut — a distinct social and video platform, separate from Bilibili and the other video and social feeds in the catalogue, with its own banana-vote culture. Banana votes are AcFun-specific (a fan vote, not views or likes); danmaku are the scrolling comments. Counts are the real, live numbers AcFun shows; a short cache fronts the upstream. Keyless.

api.oanor.com/acfun-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Aspect Ratio API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Aspect Ratio API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Aspect Ratio API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Aspect Ratio API cost?
Aspect Ratio API has a free tier with 100 calls / month. Paid plans start at €1.50 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Aspect Ratio API GDPR-compliant?
All requests to Aspect Ratio API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/aspectratio-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/aspectratio-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/aspectratio-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/aspectratio-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.