Compare options, find best value
API · /unitprice-api
Unit Price API
Unit-price and best-value maths as an API — the supermarket "which is cheaper" calculation, computed locally and deterministically and entirely currency-agnostic. The unit endpoint normalises a pack price to a price per standard unit: from a price, a pack size and its unit (and an optional multipack count) it returns the price per kilogram, per 100 g and per pound for weight; per litre, per 100 ml and per fluid ounce for volume; or per item for counted goods — plus the price per pack item for multipacks. The compare endpoint takes several pack options as a simple list (such as "3@500g,5@1kg,4.5@750g"), ranks them cheapest-per-unit first, names the best value and reports the percentage saving versus the most expensive. The convert endpoint turns a unit price given in one basis (for example per pound) into the other bases for its measure. Everything is computed locally and deterministically, so it is instant and private. Options being compared must share a measure (all weight, all volume or all count). Ideal for shopping and grocery apps, price-comparison and deal sites, budgeting tools, and retail and procurement software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is unit-price comparison; for profit margin and markup use a margin API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 90 ms
- Server probes · 24h
- Subscribers
- 3,777
- active
- Total calls
- 88
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 10,735 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 10,735 calls/month
- 2 req/sec
- Unit + compare + convert
- No credit card
Starter
€12.25 /month
- 20,350 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 20.35k calls/month
- 8 req/sec
- Multipacks + best-value ranking
- Email support
Pro
€32.15 /month
- 253,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 253.5k calls/month
- 20 req/sec
- Shopping / price-comparison pipelines
- Priority support
Mega
€70.15 /month
- 1,310,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 1.31M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Crypto Arbitrage API
Live crypto cross-exchange price comparison and arbitrage spread — the spot price of a coin on the major centralised exchanges at once, served straight from each exchange's public ticker. For any base coin it fetches the spot price from Binance, OKX, Bybit, KuCoin and Coinbase in parallel, returns the per-exchange price table, identifies the cheapest venue to buy and the most expensive to sell, and computes the spread between them — absolute and percentage — the headline cross-exchange arbitrage gap. Get the full price table, the best buy/sell opportunity, or the list of exchanges. Live, no key, no cache. Quotes are USDT (Binance/OKX/Bybit/KuCoin) or USD (Coinbase), within a few basis points. A price-discovery and arbitrage layer for trading, analytics and dashboard apps. Distinct from single-exchange price and OHLC APIs — this is the cross-exchange arbitrage view.
api.oanor.com/cryptoarbitrage-api
Programming Languages API
The language definitions GitHub uses to recognise code (the open-source Linguist data) as an API — a clean reference for syntax highlighting, file-type detection, repository dashboards and developer tooling. For each of 800+ languages the API returns its type (programming, markup, data or prose), its brand colour (the hex GitHub paints it), the file extensions associated with it, common aliases, the GitHub language id and the editor (ace) mode. Look a language up by name or alias (golang resolves to Go), reverse-look-up which language(s) own a file extension (.py → Python; .h → C, C++, Objective-C), list the languages of a type, search, or list them all. Distinct from languages-api (ISO 639 human languages) — this is the programming-language reference. Served from memory — always fast.
api.oanor.com/proglang-api
MIME Types API
The canonical MIME / media-type database (the jshttp mime-db used by Express and most of the Node ecosystem: IANA + Apache + nginx), served from memory — no key. Resolve a media type to its file extensions, charset and compressibility; reverse-lookup the media type(s) for a file extension (e.g. png → image/png); and search or list types by source. 2,600+ media types, 1,000+ with file extensions. Lean, predictable JSON. Ideal for upload validation, Content-Type resolution, file-type detection, download handlers and developer tooling.
api.oanor.com/mimetypes-api
MusicBrainz API
The open music-metadata database as an API — artists, release-groups (albums), releases, recordings and labels, identified by stable MusicBrainz IDs (MBIDs), returned as clean JSON. Search any entity by name or Lucene query; look up an artist with their external links and tags, an album, a release with its full track list, a recording with its ISRCs, or a label; and browse an artist's complete discography. Live data with MBIDs, disambiguations, types, countries, life spans, ISRCs, barcodes, catalogue numbers and relations — the canonical identifiers that link and de-duplicate music data across services. Ideal for metadata enrichment and matching, music catalogues, tagging and library tools, and research. 11 data endpoints. Authenticated with an x-oanor-key; fair-use rate limits per plan.
api.oanor.com/musicbrainz-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Unit Price API?
What's the rate limit for Unit Price API?
How much does Unit Price API cost?
Can I cancel my subscription anytime?
Is Unit Price API GDPR-compliant?
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/unitprice-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/unitprice-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/unitprice-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/unitprice-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 inNew thread
·
-
Provider answer
🔒 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 inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.