Compare 2-3 webpages with AI-generated analysis
api.weblens.dev/compare
Compare 2-3 webpages with AI-generated analysis. Identifies similarities, differences, and provides a comprehensive summary. Great for product comparisons, article analysis, etc.
POST
https://api.weblens.dev/compareUptime0.0% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.weblens.dev/compare", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"urls":{"type":"array","required":true,"description":"Array of 2-3 URLs to compare"},"focus":{"type":"string","description":"What aspect to focus the comparison on (e.g., 'pricing', 'features')"}}),
});
console.log(await res.json());Example input
{
"urls": {
"type": "array",
"required": true,
"description": "Array of 2-3 URLs to compare"
},
"focus": {
"type": "string",
"description": "What aspect to focus the comparison on (e.g., 'pricing', 'features')"
}
}