81trust / 100

Validate Isbn

by api.aventtech.com in Documents & files

x402 APIPassing, checked 4 h ago

ISBN validation: ISBN-10 and ISBN-13 check digits, with automatic ISBN-10 to ISBN-13 conversion for valid inputs.

GET https://api.aventtech.com/validate/isbn

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
271 ms typical, 429 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.aventtech.com/validate/isbn?isbn=9780306406157"
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%2Fapi.aventtech.com%2Fvalidate%2Fisbn
const res = await pay("https://api.aventtech.com/validate/isbn?isbn=9780306406157");
console.log(await res.json());

Example input

{
  "isbn": "9780306406157"
}

Example output

{
  "kind": "ISBN-13",
  "valid": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402271 ms$0.01
7 h agoPassed40289 ms$0.01
11 h agoPassed402385 ms$0.01
15 h agoPassed402288 ms$0.01
18 h agoPassed402528 ms$0.01
22 h agoPassed40241 ms$0.01
25 h agoPassed402109 ms$0.01
29 h agoPassed40237 ms$0.01
34 h agoPassed402429 ms$0.01