Skip to main content

🔗 Endpoint URL

https://cors.athrva.in/<url>

Run in Hoppscotch

🚀 Usage

📜 Show API Help

Displays help and usage instructions.
  • Endpoint: /
  • Method: ANY
  • Example:
curl -X GET https://cors.athrva.in/ 

❓ Check if CORS is needed

This endpoint is served without CORS headers. It can be used to check if a request actually needs CORS.
  • Endpoint: /iscorsneeded
  • Method: ANY
  • Example:
curl -X GET https://cors.athrva.in/iscorsneeded 
  • Response: no/yes

🔮 Proxy a Request with CORS

  • Endpoint: /<url>
  • Method: GET
  • Example:
    curl -X GET https://cors.athrva.in/https://example.com
    
  • Response: Fetches https://example.com and returns the response with CORS headers added.

🎯 Try It Out!

Click Send button to make a request.

⏳ Rate Limits

  • 5 requests per 20 seconds per IP
  • 🖥 No limitations for localhost

📚 Additional Information

  • Add header x-auth-user to bypass rate limits. Reach me if you are interested in using this special feature in your production app.
  • For more details and source code, visit the GitHub repository.
This API is intended solely for ethical and educational purposes. Any misuse, abuse, or unauthorized activity is strictly prohibited.