Documentation
UWS Error Code API Manual
Learn how to integrate UWS Error Code API into your applications. Fast, affordable, and AI-friendly Web Debugging API.
Authentication
To authenticate your API requests, you must include your API key in the HTTP headers. You can find or generate your API key in the API Keys menu.
| Header Name | Description |
|---|---|
X-API-KEY | Your unique secret API key. |
Rate Limits
The current API rate limit is set to 60 requests per minute per IP address. Exceeding this limit will result in a 429 Too Many Requests response.
Analyze Endpoint
Perform headless browser analysis. We fully support both standard GET and POST (JSON Body) requests.
GET /api/analyze
POST /api/analyze
POST /api/analyze
Parameters (Query or JSON Body)
| Parameter | Type | Required | Description |
|---|---|---|---|
url | String | Yes | The target URL to analyze (e.g., "https://example.com"). |
cURL Example (POST - JSON Body)
curl -X POST "https://uwssearch.com/api/analyze" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
Python Example (Requests)
import requests
import json
url = "https://uwssearch.com/api/analyze"
payload = json.dumps({
"url": "https://example.com"
})
headers = {
"X-API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json"
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.json())
Node.js Example (Fetch)
const fetch = require('node-fetch');
const url = 'https://uwssearch.com/api/search';
const options = {
method: 'POST',
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ q: 'apple inc', type: 'news', gl: 'us', hl: 'en' })
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));
Response Format
Loading response format...
Loading...