CORS Proxy Service ACTIVE

This service allows you to bypass CORS restrictions by proxying requests to other domains. It's a drop-in replacement for allorigins.win.

Available Endpoints

📦 JSON Response

Returns the response wrapped in JSON with metadata:

GET /get?url=https://example.com

🔗 Raw Response

Returns the raw response with original content type:

GET /raw?url=https://example.com

Usage Examples


        // Fetch JSON data
        const response = await fetch('/get?url=' + encodeURIComponent('https://api.github.com/users/octocat'));
        const data = await response.json();
        console.log(data.contents);

        // Fetch raw content (images, files, etc.)
        const imageResponse = await fetch('/raw?url=' + encodeURIComponent('https://example.com/image.jpg'));
        const imageBlob = await imageResponse.blob();

        // Using with your current code - just replace the domain
        const url = 'https://api.example.com/data';
        fetch(`/get?url=${encodeURIComponent(url)}`)
            .then(response => response.json())
            .then(data => console.log(data.contents));
    

Features

Response Format

The /get endpoint returns:


        {
            "contents": "...", // The actual response content
            "status": {
                "url": "https://example.com",
                "content_type": "application/json",
                "http_code": 200,
                "response_time": 1234567890
            }
        }