Alura API

Transform any URL to a fully rewritten webpage or get the RAW HTML with rewritten asset URLs.

⚠️ Warning: Alura API is still in development. Rewriting support is VERY limited and may not work perfectly.

What is Alura API?

The Alura API allows you to fetch any webpage and transform it to rewrite all asset URLs (images, scripts, stylesheets, links) so they are served through the API. You can also retrieve the raw HTML with updated links for programmatic use.

It’s perfect for:

How It Works

Alura API takes a target URL and returns either:

GET /?url={TARGET_URL}&type=page Fetch transformed page
GET /?url={TARGET_URL}&type=raw Fetch raw HTML
GET /asset?url={ASSET_URL} Fetch individual asset

Usage Example

Here’s a simple example using fetch in JavaScript:

fetch('https://api.aluratech.org/?url=https://example.com&type=raw')
    .then(res => res.text())
    .then(html => {
        console.log(html);
    });
    

Or to fetch and embed the rewritten page in an iframe:

<iframe src="https://api.aluratech.org/?url=https://example.com" 
        style="width:100%;height:80vh;border:none;">
</iframe>
    

Parameters

Notes