78trust / 100

Regex Arxiv

by agentshelf.syntexa.ch in News & content

x402 APIPassing, checked 1 h ago

Call when an agent needs arXiv identifiers extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/regex-arxiv first.

POST https://agentshelf.syntexa.ch/v1/regex-arxiv

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentshelf.syntexa.ch/v1/regex-arxiv" \
  -H "content-type: application/json" \
  -d '{"text":"arxiv:1706.03762"}'
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%2Fagentshelf.syntexa.ch%2Fv1%2Fregex-arxiv
const res = await pay("https://agentshelf.syntexa.ch/v1/regex-arxiv", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"arxiv:1706.03762"}),
});
console.log(await res.json());

Example input

{
  "text": "arxiv:1706.03762"
}

Example output

{
  "billed": true,
  "matches": [
    "arxiv:1706.03762"
  ],
  "ok": true,
  "pattern": "arxiv",
  "receipt_id": "rcpt_01EXAMPLE000000000000000",
  "truncated": false,
  "warnings": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402221 ms$0.001
5 h agoPassed40232 ms$0.001
8 h agoPassed40228 ms$0.001
12 h agoPassed40238 ms$0.001
16 h agoPassed40295 ms$0.001
19 h agoPassed40236 ms$0.001
24 h agoPassed402220 ms$0.001
27 h agoPassed40245 ms$0.001
32 h agoPassed40231 ms$0.001