Easy to use
A simple api call that can be used with your favorite language
curl -X POST "https://urlview.eu/api/preview" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Origin: https://your-domain.com" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"lang": "en"
}'
const response = await fetch('https://urlview.eu/api/preview', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json',
},
body: JSON.stringify({
url: 'https://example.com',
lang: 'en'
})
});
const data = await response.json();
console.log(data);
$client = new \GuzzleHttp\Client();
$response = $client->post('https://urlview.eu/api/preview', [
'headers' => [
'Authorization' => 'Bearer YOUR_API_TOKEN',
'Origin' => 'https://your-domain.com',
'Accept' => 'application/json',
],
'json' => [
'url' => 'https://example.com',
'lang' => 'en'
]
]);
echo $response->getBody();
import requests
response = requests.post(
'https://urlview.eu/api/preview',
headers={
'Authorization': 'Bearer YOUR_API_TOKEN',
'Origin': 'https://your-domain.com'
},
json={
'url': 'https://example.com',
'lang': 'en'
}
)
print(response.json())
Simple, Transparent Pricing
No monthly fees, no hidden costs. Only pay for what you use with our pay-as-you-go model.
Pay As You Go
0.025€
/API call
Signup free and see how it goes
Join others using URLView for their link previews