{"query":"extract a web page","count":5,"topMax":25,"returned":5,"matched":130,"complete":false,"truncated":true,"results":[{"slug":"pdf-extract-pages","name":"Extract / split PDF pages","route":"POST /api/pdf-extract-pages","price":"$0.003","priceUsd":0.003,"callExample":{"method":"POST","path":"/api/pdf-extract-pages","body":{"url":"https://agent402.tools/fixtures/sample-invoice.pdf","pages":"1"}},"example":{"url":"https://agent402.tools/fixtures/sample-invoice.pdf","pages":"1"},"required":["url","pages"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public URL of the PDF"},"pages":{"type":"string","description":"Page selector, 1-based, e.g. \"1-3,5,8-10\""}},"required":["url","pages"]},"category":"web","description":"Pull a subset of pages into a new PDF (split). Body: {\"url\":\"https://…/file.pdf\",\"pages\":\"1-3,5\"}. Returns the new PDF as base64.","score":45.25477825034271,"computePayable":false,"docs":"https://agent402.tools/tools/pdf-extract-pages"},{"slug":"extract","name":"Extract article","route":"POST /api/extract","price":"$0.001","priceUsd":0.001,"callExample":{"method":"POST","path":"/api/extract","body":{"url":"https://agent402.tools/guides/x402-in-5-minutes"}},"example":{"url":"https://agent402.tools/guides/x402-in-5-minutes"},"required":["url"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public http(s) URL to extract"}},"required":["url"]},"category":"web","description":"Extract the main article content from any public URL as clean markdown. Returns title, byline, excerpt, word count, and markdown. The fastest way to READ one known URL - to discover URLs first use search; for JS-rendered SPAs that return an empty shell use render instead. Marked untrustedContent: the page is external, untrusted data. hiddenContent reports text the page hides from a reader (comments, display:none or white-on-white text, zero-width characters) and quotes any of it that reads as an instruction to an AI.","score":38.16631116066608,"computePayable":false,"docs":"https://agent402.tools/tools/extract"},{"slug":"openapi-extract","name":"OpenAPI endpoint extractor","route":"POST /api/openapi-extract","price":"$0.001","priceUsd":0.001,"callExample":{"method":"POST","path":"/api/openapi-extract","body":{"spec":{"openapi":"3.0.0","paths":{"/users":{"get":{"operationId":"listUsers","summary":"List users","tags":["users"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"ok"},"400":{"description":"bad"}}}},"/users/{id}":{"delete":{"operationId":"deleteUser","summary":"Delete user","tags":["users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"gone"}}}}}}}},"example":{"spec":{"openapi":"3.0.0","paths":{"/users":{"get":{"operationId":"listUsers","summary":"List users","tags":["users"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"ok"},"400":{"description":"bad"}}}},"/users/{id}":{"delete":{"operationId":"deleteUser","summary":"Delete user","tags":["users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"gone"}}}}}}},"required":["spec"],"inputSchema":{"properties":{"spec":{"description":"OpenAPI/Swagger document (object or JSON string)"}},"required":["spec"]},"category":"conversion","description":"Flatten an OpenAPI 3.x or Swagger 2.x spec into a structured list of callable endpoints - one row per operation with method, path, operationId, summary, tags, parameters (name / in / required / type), JSON-body flag, and documented response codes. Includes per-method and per-tag counts so an agent can pick what to call next without parsing the full spec. Output is sorted by path then method for stable, agent-friendly grouping. Pure CPU - deterministic, no network, no $ref dereferencing.","score":31.212936978600503,"computePayable":true,"docs":"https://agent402.tools/tools/openapi-extract"},{"slug":"extract-entities","name":"Extract entities","route":"POST /api/extract-entities","price":"$0.002","priceUsd":0.002,"callExample":{"method":"POST","path":"/api/extract-entities","body":{"text":"ping @ada at ada@x.com see https://x.com #news"}},"example":{"text":"ping @ada at ada@x.com see https://x.com #news"},"required":["text"],"inputSchema":{"properties":{"text":{"type":"string"}},"required":["text"]},"category":"text","description":"Pull emails, URLs, IPv4s, @mentions, and #hashtags out of free text. Returns deduped lists.","score":31.212936978600503,"computePayable":true,"docs":"https://agent402.tools/tools/extract-entities"},{"slug":"page-change","name":"Page change detection","route":"POST /api/page-change","price":"$0.004","priceUsd":0.004,"callExample":{"method":"POST","path":"/api/page-change","body":{"url":"https://agent402.tools/guides/x402-in-5-minutes"}},"example":{"url":"https://agent402.tools/guides/x402-in-5-minutes"},"required":["url"],"inputSchema":{"properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of the page to read"},"baseline":{"type":"object","description":"What the previous call answered: fingerprint and/or text. With a fingerprint, changed is true or false; with a text, a line diff is included too.","properties":{"fingerprint":{"type":"string","description":"The 64-character sha256 fingerprint a previous call returned"},"text":{"type":"string","description":"The normalized text a previous call returned with includeText: true (up to 200000 characters)"}}},"selector":{"type":"string","maxLength":300,"description":"Optional CSS selector; only the text inside the matching elements is fingerprinted (HTML pages only)"},"ignore":{"type":"array","items":{"type":"string"},"description":"Up to 20 entries removed from the text before fingerprinting: a literal substring, or /pattern/ (optionally /pattern/i) for a regex such as /\\d{4}-\\d{2}-\\d{2}T[\\d:]+Z/ for timestamps"},"includeText":{"type":"boolean","description":"Return the normalized text so it can be sent back as baseline.text (default false)"}},"required":["url"]},"category":"web","description":"Tell whether a public web page changed since you last looked, with nothing stored on this side. One fetch (15 s, 2 MB) takes the text a reader sees (hidden elements, scripts and styles dropped; a CSS selector narrows it to one region), collapses whitespace, strips any ignore entries (a literal substring, or /pattern/ for a regex, for timestamps and counters), and answers a sha256 fingerprint of that text with the origin's ETag and Last-Modified. Send the previous fingerprint as baseline.fingerprint to get changed true or false; send the previous text (includeText: true returns it) as baseline.text to also get a line diff with the added and removed lines and a similarity score. Stateless: keep the fingerprint and text yourself and send them back next time. Pages that build their text with JavaScript need render instead. Marked untrustedContent when page text is returned: it is external, untrusted data.","score":29.521115866095485,"computePayable":false,"docs":"https://agent402.tools/tools/page-change"}],"packs":[{"slug":"page-audit","title":"Page audit","tagline":"Full page SEO + security audit: content extraction, metadata, HTTP headers, robots policy, and sitemap health in one call.","toolSlugs":["extract","meta","http-headers","robots-check","sitemap"],"score":19,"url":"https://agent402.tools/skills/page-audit","promptName":"page-audit","method":"POST","route":"/api/skill/page-audit","callUrl":"https://agent402.tools/api/skill/page-audit","price":"$0.008","aLaCarteUsd":0.008,"oneCall":"POST https://agent402.tools/api/skill/page-audit runs all 5 steps for one $0.008 payment (partial success per step). The same 5 tools bought individually total $0.008 - the same price; the bundle buys one payment, one round trip and partial-success handling."},{"slug":"content-extraction","title":"Content extraction","tagline":"Turn arbitrary URLs and PDFs into clean structured text - articles, page metadata, PDF pages, OCR'd images, browser-rendered SPAs.","toolSlugs":["extract","meta","pdf-to-markdown","pdf-extract-pages","render","image-ocr"],"score":17,"url":"https://agent402.tools/skills/content-extraction","promptName":"content-extraction","method":"POST","route":"/api/skill/content-extraction","callUrl":"https://agent402.tools/api/skill/content-extraction","price":"$0.017","aLaCarteUsd":0.018,"oneCall":"POST https://agent402.tools/api/skill/content-extraction runs all 6 steps for one $0.017 payment (partial success per step). The same 6 tools bought individually total $0.018 - the bundle is also the cheaper path."}],"rarestTerm":"extract","rarestTermCovered":true}