{"_id":"lordevo-x402","_rev":"5-f3f38901512c4509fbcb0c7e194ced28","name":"lordevo-x402","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.0-stage":{"name":"lordevo-x402","version":"0.0.0-stage","_id":"lordevo-x402@0.0.0-stage","stub":true,"maintainers":[{"name":"forbot26","email":"forbot26@protonmail.com"}],"dist":{"shasum":"144de141b7bc34e2d84c0d9a31e2b7edcbf0bca3","tarball":"https://registry.npmjs.org/lordevo-x402/-/lordevo-x402-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-AlZBhptBoE8WURQYyc4IAyagIeWybAL4Iqa0GGXxb8RBT3bWCb+7Vzh1jrpeOgDom8L8fC7iLQrXef9UQm7gPA==","signatures":[{"sig":"MEYCIQCPrtWNINt2pUo1oktxOezCI0GKaBCEF7aje2Cz9P0VPwIhALH9ykVfCxT59XpINkpYn7vQWqN1tJ4LoH/ezQWAj4qW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":334},"_npmUser":{"name":"forbot26","email":"forbot26@protonmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"name":"lordevo-x402","version":"0.1.0","keywords":["x402","ai-agents","mcp","a2a","robots.txt","link-check","dns","email-validation","ssl","rdap","seo","security","base","usdc"],"author":{"name":"Lordevo","email":"hello@lordevo.com"},"license":"MIT","_id":"lordevo-x402@0.1.0","maintainers":[{"name":"forbot26","email":"forbot26@protonmail.com"}],"homepage":"https://shop.lordevo.com","bugs":{"url":"https://github.com/forbot26/lordevo-x402/issues"},"dist":{"shasum":"79cdcc0d4701056d00924422c83d4e1747e8ace8","tarball":"https://registry.npmjs.org/lordevo-x402/-/lordevo-x402-0.1.0.tgz","fileCount":6,"integrity":"sha512-vRLNNmTAv0YVhfnrK2UWIU5e46FryGd5i+3oOuMiF/FXEk++EDDf/iQ7uRyP/mcpWmebad7Vb8EN2JDoyE/GiQ==","signatures":[{"sig":"MEUCIQCmO7fZFn+75mTUtSv/q1MZnZaMu6fC5VtJZDkGGwilbwIgRT/D1Qc+P2mXf8NjRB9CrTBCyBlCu4zjKBMA+zuEvNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDIpPGHHN9fN6upynqztJZNiJ44AUHXUStPLiYVEABlfAIgJPiWI6A9os2uOi78MQyxAVTayiYYloaD7PWJ80ULbMo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27729},"main":"src/index.js","type":"module","types":"src/index.d.ts","engines":{"node":">=20.10"},"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.js"}},"gitHead":"f808d5d2c500db2f581a2942e58fda30b624834a","scripts":{"test":"node --test test/"},"_npmUser":{"name":"forbot26","email":"forbot26@protonmail.com"},"repository":{"url":"git+https://github.com/forbot26/lordevo-x402.git","type":"git","directory":"js"},"_npmVersion":"11.21.1","description":"Client for Lordevo's pay-per-call web, DNS, email and domain checks for AI agents: 33 tools from $0.01, paid with x402 (USDC on Base). No account or API key.","directories":{},"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"peerDependencies":{"viem":">=2.0.0","@x402/evm":">=2.20.0","@x402/fetch":">=2.20.0"},"peerDependenciesMeta":{"viem":{"optional":true},"@x402/evm":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lordevo-x402_0.1.0_1793072461437_0.2979410794252443","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"lordevo-x402","version":"0.1.1","keywords":["x402","ai-agents","mcp","a2a","robots.txt","link-check","dns","email-validation","ssl","rdap","seo","security","base","usdc"],"author":{"name":"Lordevo","email":"hello@lordevo.com"},"license":"MIT","_id":"lordevo-x402@0.1.1","maintainers":[{"name":"forbot26","email":"forbot26@protonmail.com"}],"homepage":"https://shop.lordevo.com","dist":{"shasum":"ed6f64b4495f2c2da14a1b0a00a737363dc14381","tarball":"https://registry.npmjs.org/lordevo-x402/-/lordevo-x402-0.1.1.tgz","fileCount":6,"integrity":"sha512-YPWpd39IwD0Q+m8BUINcG1mYXL1jCtN1gtuFWbx+vznb/0J7iOx6aOvpeBoaHjF91j4BNpiImnXVkAjs+ewqMw==","signatures":[{"sig":"MEUCIQDN+PTDLmDxmHezV7WBzYtusElQcm7PAuAZZMI+Dk2UlQIgGeW+QStIBWEAf6AM885XwL1o7SgNATpbxp7aqbUWIHo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIES3sopuYS17RxNVn9p7pP4Rk/I8xqTB6mr4MCjJywYxAiApW6EsXC4a5cKp536ZT/hy1FZKkS5dxolyCRFAhGBhIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27522},"main":"src/index.js","type":"module","types":"src/index.d.ts","engines":{"node":">=20.10"},"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.js"}},"gitHead":"af04cfdf5c01819e03295c8512fb026518a16fb4","scripts":{"test":"node --test"},"_npmUser":{"name":"forbot26","email":"forbot26@protonmail.com"},"_npmVersion":"11.21.1","description":"Client for Lordevo's pay-per-call web, DNS, email and domain checks for AI agents: 33 tools from $0.01, paid with x402 (USDC on Base). No account or API key.","directories":{},"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"peerDependencies":{"viem":">=2.0.0","@x402/evm":">=2.20.0","@x402/fetch":">=2.20.0"},"peerDependenciesMeta":{"viem":{"optional":true},"@x402/evm":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lordevo-x402_0.1.1_1793096452205_0.05260503243325432","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"lordevo-x402","version":"0.1.2","keywords":["x402","ai-agents","mcp","a2a","robots.txt","link-check","dns","email-validation","ssl","rdap","seo","security","base","usdc"],"author":{"name":"Lordevo","email":"hello@lordevo.com"},"license":"MIT","_id":"lordevo-x402@0.1.2","maintainers":[{"name":"forbot26","email":"forbot26@protonmail.com"}],"homepage":"https://shop.lordevo.com","dist":{"shasum":"9491d98c229dc0fe56beb67ff2a56f9700b50cc8","tarball":"https://registry.npmjs.org/lordevo-x402/-/lordevo-x402-0.1.2.tgz","fileCount":6,"integrity":"sha512-KA3wdwXr0iAt9M0tDD4aGFVRuQDzlHFOnLGNYSyPqn9bnuD6I5y6IqNkjo4fXChS7BQyxGO742Ylzn3PiPMNew==","signatures":[{"sig":"MEYCIQDOfsNLwhf0TbeOflr3XZ9uAUAbwveiSG7qpHDZQFJERgIhAIP6K9+soXG4VrZ4A50uBiDUmCGFXRjZgBGvmmDX3fzt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDyimeXtiFTqrV3LcafdzBQmPBEuwX6OcehV8h7zYxqcAiA/M42jLahborn0Cc1K8rZF4dcg4CIp6GbNL5xLlnuWaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27573},"main":"src/index.js","type":"module","types":"src/index.d.ts","engines":{"node":">=20.10"},"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.js"}},"gitHead":"af04cfdf5c01819e03295c8512fb026518a16fb4","scripts":{"test":"node --test"},"_npmUser":{"name":"forbot26","email":"forbot26@protonmail.com"},"_npmVersion":"11.21.1","description":"Client for Lordevo's pay-per-call web, DNS, email and domain checks for AI agents: 33 tools from $0.003, paid with x402 (USDC on Base). No account or API key.","directories":{},"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"peerDependencies":{"viem":">=2.0.0","@x402/evm":">=2.20.0","@x402/fetch":">=2.20.0"},"peerDependenciesMeta":{"viem":{"optional":true},"@x402/evm":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/lordevo-x402_0.1.2_1793271448285_0.3286651155229713","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"_id":"lordevo-x402@0.1.3","dist":{"shasum":"5c5f72035290516776110772331181203e30338a","tarball":"https://registry.npmjs.org/lordevo-x402/-/lordevo-x402-0.1.3.tgz","fileCount":7,"integrity":"sha512-sFly2vVBnOzRTJVHMj/YN+M/ELMk7IRjTxvqA4WMnh1CgEnSgYyZnKT9bEEOO738H91lLu7N5Fe7IjoIqYYg2g==","signatures":[{"sig":"MEQCIA/Q1K/7h0+uAYpzRYa9RPf5rMN9U7n+oTne/iiNQu7LAiAw2V+P3qr4B6phpuN+V0xnFeE8sL5aaR89qHC2gCnSdw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEc/4pBlo8+xhw6yC5mfMh/PhUSstZdJdi9fh9ehnh3IAiEA6UHrmjz7002xLUioTOg0LfB5uFBOYUTsGUMeq7djiio="}],"unpackedSize":36593},"main":"src/index.js","name":"lordevo-x402","type":"module","_from":"file:/workspace/lordevo-sdk-013/sdk/dist-new/lordevo-x402-0.1.3.tgz","types":"src/index.d.ts","author":{"name":"Lordevo","email":"hello@lordevo.com"},"engines":{"node":">=20.10"},"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.js"}},"license":"MIT","scripts":{"test":"node --test"},"version":"0.1.3","_npmUser":{"name":"forbot26","email":"forbot26@protonmail.com"},"homepage":"https://shop.lordevo.com","keywords":["x402","ai-agents","mcp","a2a","robots.txt","link-check","dns","email-validation","ssl","rdap","seo","security","json-schema","pdf","rss","base","usdc"],"_resolved":"/workspace/lordevo-sdk-013/sdk/dist-new/lordevo-x402-0.1.3.tgz","_integrity":"sha512-sFly2vVBnOzRTJVHMj/YN+M/ELMk7IRjTxvqA4WMnh1CgEnSgYyZnKT9bEEOO738H91lLu7N5Fe7IjoIqYYg2g==","_npmVersion":"11.21.1","description":"Client for Lordevo's pay-per-call web, DNS, email, domain and data checks for AI agents: 44 tools from $0.002, paid with x402 (USDC on Base). No account or API key.","directories":{},"maintainers":[{"name":"forbot26","email":"forbot26@protonmail.com"}],"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"peerDependencies":{"viem":">=2.0.0","@x402/evm":">=2.20.0","@x402/fetch":">=2.20.0"},"peerDependenciesMeta":{"viem":{"optional":true},"@x402/evm":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lordevo-x402_0.1.3_1793278962182_0.6242241662868949"}}},"time":{"created":"2026-10-27T03:38:23.389Z","modified":"2026-10-29T13:02:42.442Z","0.0.0-stage":"2026-10-27T03:38:23.389Z","0.1.0":"2026-10-27T03:41:01.513Z","0.1.1":"2026-10-27T10:20:52.306Z","0.1.2":"2026-10-29T10:57:28.378Z","0.1.3":"2026-10-29T13:02:42.264Z"},"author":{"name":"Lordevo","email":"hello@lordevo.com"},"license":"MIT","homepage":"https://shop.lordevo.com","keywords":["x402","ai-agents","mcp","a2a","robots.txt","link-check","dns","email-validation","ssl","rdap","seo","security","json-schema","pdf","rss","base","usdc"],"description":"Client for Lordevo's pay-per-call web, DNS, email, domain and data checks for AI agents: 44 tools from $0.002, paid with x402 (USDC on Base). No account or API key.","maintainers":[{"name":"forbot26","email":"forbot26@protonmail.com"}],"readme":"# lordevo-x402\n\nJavaScript client for the pay-per-call checks at **[shop.lordevo.com](https://shop.lordevo.com)**. It has 44 web, DNS, email, domain and data tools for AI agents, priced from $0.002 per call and paid with [x402](https://x402.org) (USDC on Base). There's no account or API key: each call is one micro-payment from the agent's wallet. Calls that fail or get refused (4xx/5xx) are never charged.\n\nBuilt for loops: run a robots.txt check before every fetch, a link check on every URL, a DNS or email check on every lead, a JSON check on every model output.\n\n```bash\nnpm i lordevo-x402\n# for paid calls, also:\nnpm i @x402/fetch @x402/evm viem\n```\n\n## Try it free (no wallet)\n\n3 free calls per IP per UTC day on tools priced up to $0.005. When they are used up the call raises `LordevoError` with status 402; then pay per call as below.\n\n```js\nimport { tryFree } from 'lordevo-x402';\nconsole.log(await tryFree('dns-lookup', { host: 'example.com' }));\n```\n\n## Quickstart\n\nFree calls need no wallet:\n\n```js\nimport { ask, quote, catalog } from 'lordevo-x402';\n\nawait ask('dns-lookup example.com');      // A2A router: the endpoint, price and payment terms\nawait quote('can-fetch', 'https://example.com/blog'); // live x402 terms from the HTTP 402, nothing is paid\n(await catalog()).quick_checks.length;    // 44\n```\n\nPaid calls need a Base wallet holding a little USDC:\n\n```js\nimport { fromPrivateKey } from 'lordevo-x402';\nconst lordevo = await fromPrivateKey(process.env.AGENT_WALLET_KEY, { maxPriceUsd: 0.02 });\n\nawait lordevo.canFetch('https://example.com/blog/post');      // robots.txt + AI-crawler gate, $0.002\nawait lordevo.linkCheck('https://bit.ly/xyz');                // alive? final URL after redirects, $0.002\nawait lordevo.dnsLookup({ host: 'example.com', type: 'MX' }); // $0.002\nawait lordevo.emailValidate('jane@gmial.com');                // syntax + MX + disposable + typo hint, no SMTP, $0.002\nawait lordevo.sslCert('example.com');                         // expiry, issuer, SANs, $0.002\nawait lordevo.jsonValidate({ json: { name: 'Ada' }, schema: { type: 'object', required: ['name'] } }); // $0.002\nawait lordevo.textChunk({ url: 'https://example.com/post', max_tokens: 300 }); // text or url, $0.005\nconst res = await lordevo.politeFetch('https://example.com/page'); // can-fetch first, then a normal fetch\n```\n\nObjects (`json`, `schema`) are sent as JSON text and arrays (`urls`) as comma lists. Tools marked \"POST ok\" switch to a JSON POST by themselves when the GET URL would be longer than 2,000 characters (long text or JSON).\n\nYou can also bring your own paying fetch (an AgentKit wallet, a CDP server wallet or any `wrapFetchWithPayment` fetch):\n\n```js\nimport { createLordevo } from 'lordevo-x402';\nconst lordevo = createLordevo({ fetch: myPayingFetch, maxPriceUsd: 0.01, cacheMs: 60_000 });\n```\n\n- `maxPriceUsd` (default 0.05): tools priced above it are refused before any request.\n- `cacheMs`: identical calls within the window are answered locally and not paid again.\n- Errors throw `LordevoError` with `status`, `code` and `charged`.\n\n## Tools\n\nThese are the prices from [catalog.json](https://shop.lordevo.com/catalog.json) when this version was released; `quote()` and `catalog()` always read the live ones. `lordevo.tools` has the same data, and `lordevo.call(slug, input)` works for any of them.\n\n<!-- tools:begin (generated by gen-tools.mjs from the shop QUICK_TOOLS) -->\n| Tool | Input | Price | What it does |\n|---|---|---|---|\n| `site-check` | `url` | $0.02 | Site check: trust + AI readiness + security headers (recommended start) |\n| `agent-readiness` | `url` | $0.02 | Agent readiness / AI visibility score (GEO) |\n| `url-trust` | `url` | $0.002 | URL trust check before you click or pay (safe / caution / risky) |\n| `can-fetch` | `url` | $0.002 | Can I fetch this URL? robots.txt + AI-crawler permission gate |\n| `link-check` | `url` | $0.002 | Link check: is it alive, where does it really go (redirects resolved) |\n| `dns-lookup` | `host` (opt: type) | $0.002 | DNS lookup (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA) |\n| `email-validate` | `email` | $0.002 | Email address validation (syntax + domain + MX, no SMTP probing) |\n| `ssl-cert` | `host` | $0.002 | SSL/TLS certificate check (expiry, issuer, SANs, chain) |\n| `domain-rdap` | `domain` | $0.002 | Domain age, registrar and expiry (RDAP) |\n| `ip-info` | `ip` | $0.002 | IP address owner and network (RDAP + reverse DNS) |\n| `links-batch` | `urls` | $0.01 | Batch link check (up to 10 URLs per call) |\n| `broken-links` | `url` | $0.01 | Broken links on a page (up to 40 links checked) |\n| `sitemap-urls` | `url` | $0.005 | Sitemap URL extractor (robots.txt + sitemap index) |\n| `link-preview` | `url` | $0.005 | Link preview / unfurl (title, description, image, favicon, logo) |\n| `readability` | `url` | $0.005 | Readability and word count (Flesch, reading time, top terms) |\n| `structured-data` | `url` | $0.005 | Structured data extractor (JSON-LD, microdata, RDFa) |\n| `canonical-check` | `url` | $0.002 | Canonical, hreflang and indexability check |\n| `cors-check` | `url` (opt: origin, method) | $0.002 | CORS check (preflight + allowed origins) |\n| `http-ping` | `url` | $0.002 | HTTP ping: up or down, status and timings (DNS, TCP, TLS, TTFB) |\n| `domain-lookalike` | `host` | $0.002 | Lookalike / homograph domain check (punycode, mixed scripts, brand typos) |\n| `myr-rates` | `currency` | $0.002 | Malaysian ringgit exchange rates + OPR (Bank Negara Malaysia data) |\n| `redirect-chain` | `url` | $0.002 | Redirect chain: every hop with status, Location and time |\n| `text-chunk` | `text` or `url` (opt: max_tokens, overlap_tokens), POST ok | $0.005 | Text chunker for RAG (heading-aware, token-sized chunks) |\n| `token-count` | `text`, POST ok | $0.002 | Token count estimate (plus characters, words, bytes) |\n| `json-validate` | `json` (+ schema), POST ok | $0.002 | JSON Schema validation with JSON Pointer errors |\n| `json-repair` | `json`, POST ok | $0.002 | JSON repair for LLM output (fences, quotes, commas, truncation) |\n| `time-convert` | `to` (opt: from, datetime) | $0.002 | Time zone conversion (IANA zones, offsets, DST) |\n| `cron-next` | `cron` (opt: tz, count, after) | $0.002 | Cron next run times + plain-English description |\n| `url-clean` | `urls`, POST ok | $0.002 | URL cleaner: strip tracking parameters, normalise, dedupe (up to 50) |\n| `feed-parse` | `url` (opt: limit) | $0.005 | Feed reader: RSS, Atom and JSON Feed to normalised items |\n| `page-diff` | `url` (opt: previous_hash, previous_text), POST ok | $0.005 | Page change check: content hash, clean text and line diff |\n| `pdf-text` | `url` (opt: max_pages) | $0.01 | PDF to text, page by page |\n| `verdict-card` | `url` | $0.01 | Shareable site verdict card (grade + one-liner, SVG) |\n| `page-markdown` | `url` | $0.005 | Page to Markdown (main content) |\n| `page-meta` | `url` | $0.005 | Page metadata + Markdown |\n| `email-auth` | `domain` | $0.005 | Email authentication check (SPF, DKIM, DMARC) |\n| `security-headers` | `url` | $0.005 | Security headers + TLS quick grade |\n| `tech-stack` | `url` | $0.01 | Tech stack detection |\n| `seo-page` | `url` | $0.01 | On-page SEO check (one page) |\n| `site-snapshot` | `url` | $0.02 | Site snapshot (SEO + security + tech + email) |\n| `page-quality` | `url` | $0.005 | Page quality verdict (AI) |\n| `site-verdict` | `url` | $0.01 | Is this a legit business site? (AI trust verdict) |\n| `seo-audit-lite` | `url` | $0.02 | SEO Audit LITE (top 10 issues, one page) |\n| `security-scan-lite` | `url` | $0.02 | Website Security Scan LITE (passive summary) |\n<!-- tools:end -->\n\n## Other ways in\n\n| Interface | Endpoint |\n|---|---|\n| MCP (streamable HTTP, x402 MCP transport) | `https://shop.lordevo.com/mcp` |\n| A2A JSON-RPC (`message/send`, a free router) | `https://shop.lordevo.com/a2a` (card: `/.well-known/agent-card.json`) |\n| x402 manifest (one `accepts[]` per paid endpoint) | `https://shop.lordevo.com/.well-known/x402.json` |\n| OpenAPI 3.1 | `https://shop.lordevo.com/openapi.json` |\n| Docs for LLMs | `https://shop.lordevo.com/llms.txt` |\n\nOnly check sites you are allowed to check. All checks are passive and read-only.\n\nPython package: [`lordevo-x402` on PyPI](https://pypi.org/project/lordevo-x402/). Docs: [shop.lordevo.com/llms.txt](https://shop.lordevo.com/llms.txt). MIT licence.\n","readmeFilename":"README.md"}