81trust / 100

Link Header Parse

by Link Header Parse in Documents & files

x402 APIPassing, checked 7 min ago

Link Header Parse: parses bounded Link header targets and relation parameters using only bounded caller-supplied values. Call when you need a bounded link header parse result before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Link Header Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base or Solana. First-party, stateless, memory-only executi…

POST https://api.delx.ai/api/v1/x402/link-header-parse

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
5 ms typical, 5 ms slowest 5%
Last check
7 min ago
Next check
in 24 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.delx.ai/api/v1/x402/link-header-parse" \
  -H "content-type: application/json" \
  -d '{"header":"<https://api.example.com/items?page=2>; rel=next"}'
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.delx.ai%2Fapi%2Fv1%2Fx402%2Flink-header-parse
const res = await pay("https://api.delx.ai/api/v1/x402/link-header-parse", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"header":"<https://api.example.com/items?page=2>; rel=next"}),
});
console.log(await res.json());

Example input

{
  "header": "<https://api.example.com/items?page=2>; rel=next"
}

Example output

{
  "evidence": {
    "external_calls": 0,
    "input_sha256": "c29e9d075fe214f8f36932c4673fa5d7a8d63984c8a0ca8a21112ef48942249c",
    "retained": false
  },
  "operation": "web_reliability:link_header_parse",
  "result": {
    "count": 1,
    "entries": [
      {
        "parameters": {
          "rel": "next"
        },
        "value": "https://api.example.com/items?page=2"
      }
    ]
  },
  "schema": "delx/util-link-header-parse/v1",
  "status": "pass"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
7 min agoPassed4026 ms$0.001
5 h agoPassed4025 ms$0.001