65trust / 100

Count Audio

by count-audio-elements in Security & trust

x402 APIPassing, checked 31 min ago

How many <audio> elements does the page have? Fetches the URL and counts audio tags (plus, where relevant, how many have alt/src/href/type attributes), and the page's total element count for scale. Structural audits and template comparisons in one number. $0.01 per page.

GET https://page.intel.rallylive.ca/page/count/audio

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
386 ms typical, 499 ms slowest 5%
Last check
31 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://page.intel.rallylive.ca/page/count/audio?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP"
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%2Fpage.intel.rallylive.ca%2Fpage%2Fcount%2Faudio
const res = await pay("https://page.intel.rallylive.ca/page/count/audio?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTTP");
console.log(await res.json());

Example input

{
  "url": "https://en.wikipedia.org/wiki/HTTP"
}

Example output

{
  "count": 12,
  "element": "audio",
  "total_elements": 900,
  "url": "https://en.wikipedia.org/wiki/HTTP"
}

Security scan

  • Charges more than its listed price in payment
    Listed at $0.001, charges $0.01

Recent checks

WhenResultHTTPTimePrice
31 min agoPassed402339 ms$0.01
4 h agoPassed402196 ms$0.01
8 h agoPassed402146 ms$0.01
12 h agoPassed402432 ms$0.01
15 h agoPassed402453 ms$0.01
19 h agoPassed402386 ms$0.01
23 h agoPassed402328 ms$0.01
26 h agoPassed402139 ms$0.01
30 h agoPassed402469 ms$0.01
33 h agoPassed402450 ms$0.01
37 h agoPassed402499 ms$0.01
41 h agoPassed40251 ms$0.01
44 h agoPassed402308 ms$0.01
2 days agoPassed402441 ms$0.01
2 days agoPassed402395 ms$0.01