System Integration

Welcome to the core API interface. These secure HTTP endpoints allow for instant network queries, cloud pasted storage, and full web page capture rendering. Access is validated via rate limits per IP address and your Xenpaii API Key.

Global Rate Limiting Policy

Requests are monitored per IP address. Exceeding the limits will result in an HTTP 429 Too Many Requests response code. Check individual endpoints for specific rate window parameters.

CORS Enabled

Fully supports cross-origin resource sharing, allowing requests straight from the browser.

Rate Limited

Protected against scraping and abuse via a persistent file-backed rate tracking system.

Clean JSON

All response bodies strictly return readable formatted JSON with standard status fields.

GET

/?ip={target_ip}

Identifies all domain names hosted on a single target IPv4 or IPv6 address.

Query Parameters

Parameter Type Required Description
ip string YES The target IPv4 or IPv6 address to analyze (e.g., 8.8.8.8).
apikey string YES Your custom Xenpaii API authorization key.

Endpoint Settings

Rate Limit: 50 requests / minute
Response Format: JSON
Xenpaii Console - Reverse IP
curl -G "https://api.santomaj.com" \
  --data-urlencode "ip=8.8.8.8" \
  --data-urlencode "apikey=XenpaiiDemo"
GET

/?url={target_url}

Takes a screenshot of the specified webpage and yields a Base64-encoded PNG image.

Query Parameters

Parameter Type Required Description
url string YES The domain name or direct link to screenshot (e.g. google.com).
apikey string YES Your custom Xenpaii API authorization key.

Endpoint Settings

Rate Limit: 10 requests / minute
Response Format: JSON with base64 data
Xenpaii Console - Web Capture
curl -G "https://api.santomaj.com" \
  --data-urlencode "url=github.com" \
  --data-urlencode "apikey=XenpaiiDemo"
GET / POST

/ (POST) or /?id={id} (GET)

Create custom text or code pastebins temporarily stored in the cloud.

Request Specifications

POST - Create a Paste

Parameter Type Payload Location Description
content string JSON Body / POST form The text data to save. (Max size: 2MB)
apikey / Header X-API-Key string Query Param / Header Your Xenpaii API authorization key.

GET - Retrieve a Paste

Parameter Type Payload Location Description
id string Query Parameter The 12-character hex ID of the paste to retrieve.
apikey string Query Parameter Your Xenpaii API authorization key.

Endpoint Settings

Rate Limit: 20 requests / minute
Response Format: JSON
Xenpaii Console - Cloud Paste
# Create paste:
curl -X POST "https://api.santomaj.com" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: XenpaiiDemo" \
  -d '{"content": "Console.WriteLine(\"Hello Cyber World!\");"}'

# Read paste:
curl -G "https://api.santomaj.com" \
  -d "id=a4f2b961c0e3" \
  -d "apikey=XenpaiiDemo"