An API for escaping different kind of queries.
Escape is an API that escapes user-supplied strings for safe use in different contexts, with three methods: html (HTML escaping to prevent XSS), shell (UNIX Bourne shell escaping to prevent OS command injection), and path (UNIX path escaping to prevent directory traversal). It exposes these methods over HTTP, accepting a method and data parameter and returning a JSON response with an ok flag and the escaped data string.
It is aimed at developers who need to sanitize untrusted input before rendering it in HTML, passing it to shell commands, or using it in file paths, without implementing the escaping logic themselves. The project is a small, single-file (main.rb) open-source repository.
It escapes HTML, shell, and path query strings to help prevent XSS, OS command injection, and directory traversal attacks.
You send a GET request with a method parameter (html, shell, or path) and a data parameter containing the string to escape.
It returns a JSON object with an ok boolean and a data field containing the escaped string.
Yes, a hosted instance is available at s.polarspetroll.repl.co.
Webz.io News APIs provide global news data for search, monitoring, analytics, and AI applications, with powerful filters and natural-language search.
SerpApi's Search API makes it easy and fast to scrape Google and other search engines.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Security-first search engine API for AI agent skills with Trust Score.
Provides data of offenders from all U.S. States and Puerto Rico.
Email address threat and risk prediction.
Lists of filters for adblockers and firewalls.
Fraud detection API offering highly accurate browser fingerprinting.
Screen order information using AI to detect frauds.