Text Processing
1 credit
COMPUTE
ROT13 API
ROT13 encode/decode text. Available as a simple REST API — POST your input, get structured JSON back. 1 credit per call, no rate limiting, works in any language with HTTP support.
Try it live →How it works
POST a JSON object with your input data to /v1/text-rot13. The API processes your request server-side using real computation (not mocked data) and returns a structured JSON response with your results and metadata including credits used and processing time.
Use cases
- Use ROT13 in automated pipelines without installing a library
- Call ROT13 from AI agent workflows via MCP or REST
- Integrate ROT13 into serverless functions with zero dependencies
- Build ROT13 functionality into any language that supports HTTP
API Reference
POST https://slopshop.gg/v1/text-rot13
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Input parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text / input |
string | required | The text or data to process |
Example response
{
"data": {
"result": "processed output",
"count": 7
},
"meta": {
"credits_used": 1,
"engine": "real",
"ms": 4
}
}
Examples
Three real-world scenarios showing how developers use ROT13 in production.
Example 1
Process a short string
Apply rot13 to a simple input.
curl -X POST https://slopshop.gg/v1/text-rot13 \
-H "Authorization: Bearer $SLOPSHOP_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Hello, world!"}'
Example 2
Process a longer document
Run rot13 on a paragraph of text.
curl -X POST https://slopshop.gg/v1/text-rot13 \
-H "Authorization: Bearer $SLOPSHOP_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "The quarterly revenue report shows a significant increase across all major product lines compared to the previous year."}'
Example 3
Process code or structured text
Use rot13 on a structured or technical string.
curl -X POST https://slopshop.gg/v1/text-rot13 \
-H "Authorization: Bearer $SLOPSHOP_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "function calculateTotal(items) { return items.reduce((sum, item) => sum + item.price, 0); }"}'
Code examples
curl
curl -X POST https://slopshop.gg/v1/text-rot13 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "your data here"}'
Python
import requests
response = requests.post(
"https://slopshop.gg/v1/text-rot13",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"input": "your data here"}
)
result = response.json()
print(result["data"])
Node.js
const response = await fetch("https://slopshop.gg/v1/text-rot13", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({ input: "your data here" })
});
const { data } = await response.json();
console.log(data);
CLI
# Install the Slopshop CLI
npm install -g slopshop
# Set your API key
export SLOPSHOP_KEY=your_api_key
# Call text-rot13
slop text-rot13 '{"input": "your data here"}'
Pricing
Credits per call
1
credits
Cost per call
$0.001
at Starter tier
Tier
COMPUTE
Pure compute
Credits are purchased in bundles starting at $1 for 1,000 credits. All compute APIs like this one use 1 credit per call — that's $0.001. See all pricing tiers.
Related APIs in Text Processing
View the full API catalog · Try in playground · Documentation