70trust / 100

Discount Price Agency

by Agency Discount calculator in Markets & finance

x402 APIFailing, checked 4 h ago

Agency Discount calculator: Calculate savings and discounted price. Tailored for agency workflows.

POST https://market.datapackvibe.com/x402/discount-price-agency

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
66.7%
Response time
190 ms typical, 1.1 s slowest 5%
Last check
4 h ago: Expected HTTP 402, got 530
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://market.datapackvibe.com/x402/discount-price-agency' \
  -H 'content-type: application/json' \
  --data-raw '{"discount_percent":15,"price":80}'
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%2Fmarket.datapackvibe.com%2Fx402%2Fdiscount-price-agency
const res = await pay("https://market.datapackvibe.com/x402/discount-price-agency", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"discount_percent\":15,\"price\":80}",
});
console.log(await res.json());

Example input

{
  "discount_percent": 15,
  "price": 80
}

Example output

{
  "files": [],
  "order_id": "ord_example",
  "result": {
    "context": "Agency",
    "discount_percent": 15,
    "discounted_price": 68,
    "savings": 12,
    "service": "discount-price-agency"
  },
  "sku": "discount-price-agency",
  "status": "delivered"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoExpected HTTP 402, got 53053039 ms-
7 h agoExpected HTTP 402, got 53053034 ms-
11 h agoPassed40258 ms$0.01
15 h agoPassed402535 ms$0.01
19 h agoPassed40284 ms$0.01
23 h agoPassed402843 ms$0.01
26 h agoExpected HTTP 402, got 53053041 ms-
30 h agoExpected HTTP 402, got 53053034 ms-
33 h agoExpected HTTP 402, got 53053039 ms-
37 h agoPassed40263 ms$0.01
40 h agoPassed40264 ms$0.01
44 h agoPassed4022.4 s$0.01
2 days agoPassed402190 ms$0.01
2 days agoPassed402588 ms$0.01
2 days agoPassed402129 ms$0.01