Reference
Screen resolution lookup & aspect/MP API
Resolve a resolution name (1080p, 4K, QHD, ...) or explicit WxH to width x height plus the derived reduced aspect ratio, decimal aspect, total pixels, and megapixels. The aspect-ratio and megapixel derivation is the value-add. Answers 'what resolution is 1080p', 'how many pixels is 4K', 'aspect ratio of 2560x1440', 'megapixels of an 8K display'.
Price$0.01per request
MethodPOST
Route/v1/ref/screen-resolution
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
refscreen-resolutiondisplay1080p4kaspect-ratiomegapixelsresolution
API URL
Integration docshttps://x402.hexl.dev/v1/ref/screen-resolutionExample request
{
"query": "1080p"
}Example response
{
"query": "1080p",
"found": true,
"name": "FHD",
"width": 1920,
"height": 1080,
"aspectRatio": "16:9",
"aspectRatioDecimal": 1.778,
"totalPixels": 2073600,
"megapixels": 2.07
}Input schema
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"examples": [
"1080p",
"4K",
"1920x1080"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}