Resolve a single URL to metadata
GET
/api/v1/resolve
const url = 'https://fixem.be/api/v1/resolve?url=https%3A%2F%2Fexample.com&media=proxied';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://fixem.be/api/v1/resolve?url=https%3A%2F%2Fexample.com&media=proxied' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”url
required
string format: uri
media
string
Responses
Section titled “Responses”A resolve result (branch on status).
Media typeapplication/json
object
status
required
string
platform
string
canonicalUrl
string format: uri
cacheHit
boolean
reason
string
kind
string
title
string
description
string
author
object
name
string
url
string
siteName
string
themeColor
string
nsfw
boolean
image
object
url
string
width
integer
height
integer
video
object
url
required
Raw upstream URL
string format: uri
width
integer
height
integer
mimeType
required
string
needsProxy
required
Upstream is IP/cookie-locked
boolean
playableUrl
Signed /v/ URL
string format: uri
Example
{ "status": "ok", "kind": "video"}Headers
Section titled “Headers”X-RateLimit-Limit
integer
X-RateLimit-Remaining
integer
Malformed or oversized request.
Media typeapplication/json
object
error
string
Examplegenerated
{ "error": "example"}Missing or invalid bearer key.
Media typeapplication/json
object
error
string
Examplegenerated
{ "error": "example"}Rate limit exceeded.
Media typeapplication/json
object
error
string
Examplegenerated
{ "error": "example"}Headers
Section titled “Headers”Retry-After
integer