13trust / 100
Resize Image
by lab.paidapis.net in Productivity & SaaS
x402 APIFailing, checked 2 h ago
Task-runner: resize an image (?url=, ?width=, ?height=, max 2000px each) and return it as a data URL. Priced at $0.02/output-megapixel (min $0.005) — sells compute, metered by resource use, not a flat fee.
GET https://lab.paidapis.net/api/resize-image
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 2 h ago: Expected HTTP 402, got 500
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://lab.paidapis.net/api/resize-image?height=0&url=&width=0"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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Flab.paidapis.net%2Fapi%2Fresize-image
const res = await pay("https://lab.paidapis.net/api/resize-image?height=0&url=&width=0");
console.log(await res.json());Example input
{
"height": 0,
"url": "",
"width": 0
}Example output
{
"format": "",
"height": 0,
"imageDataUrl": "",
"resizedAt": "",
"sizeBytes": 0,
"width": 0
}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 |
|---|---|---|---|---|
| 2 h ago | Expected HTTP 402, got 500 | 500 | 395 ms | - |
| 6 h ago | Expected HTTP 402, got 500 | 500 | 413 ms | - |
| 10 h ago | Expected HTTP 402, got 500 | 500 | 425 ms | - |
| 14 h ago | Expected HTTP 402, got 500 | 500 | 464 ms | - |
| 18 h ago | Expected HTTP 402, got 500 | 500 | 391 ms | - |
| 23 h ago | Expected HTTP 402, got 500 | 500 | 420 ms | - |
| 26 h ago | Expected HTTP 402, got 500 | 500 | 142 ms | - |
| 31 h ago | Expected HTTP 402, got 500 | 500 | 473 ms | - |
| 34 h ago | Expected HTTP 402, got 500 | 500 | 479 ms | - |
| 39 h ago | Expected HTTP 402, got 500 | 500 | 392 ms | - |