82trust / 100
Rewrite
by Oblique Markets in Markets & finance
x402 APIPassing, checked 3 h ago
Use when an agent needs rewrite. Returns Rewrite text per a natural-language instruction (tone, formality, simplification, shortening) — deterministic flash-model rewriting with hard input/output caps. $0.005.
POST https://api.oblique.markets/api/v1/paid/rewrite
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 43 ms typical, 43 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.oblique.markets/api/v1/paid/rewrite" \
-H "content-type: application/json" \
-d '{"instruction":"How to rewrite it, e.g. \"make it formal\", \"shorten to two se","text":"Text to rewrite; truncated to 8,000 characters"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.oblique.markets%2Fapi%2Fv1%2Fpaid%2Frewrite
const res = await pay("https://api.oblique.markets/api/v1/paid/rewrite", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"instruction":"How to rewrite it, e.g. \"make it formal\", \"shorten to two se","text":"Text to rewrite; truncated to 8,000 characters"}),
});
console.log(await res.json());Example input
{
"instruction": "How to rewrite it, e.g. \"make it formal\", \"shorten to two se",
"text": "Text to rewrite; truncated to 8,000 characters"
}Example output
{
"instruction": "make it formal",
"model": "inclusionai/ling-3.0-flash",
"text_rewritten": "Dear Ms. Alvarez, I am writing to request a brief extension on the Q3 deliverable. The integration testing surfaced two issues that require an additional three business days to resolve."
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 43 ms | $0.005 |