{"uid":"cap_BQtU6Nf6eCcKmoSnJciZv","slug":"weblens-memory-set-1d5f7ab1","name":"WebLens Memory Set","description":"# WebLens - Web Intelligence API, pay per call\n\nScrape, crawl, map and extract the web. No account, no API key, no monthly\nminimum — you pay for the calls you make and nothing else.\n\n## Pricing\nPage fetching starts at **$0.002**, whole-site crawling at\n**$0.0015/page**, and sitemap discovery at **$0.004**.\nComparable services bill $0.007-0.008 per request, or reach a lower per-page\nrate only on a $99/month commitment. WebLens has no commitment to reach.\n\n## Payment Protocol\nAll paid endpoints use the [x402 protocol](https://x402.org) for HTTP-native\nmicropayments (USDC on Base).\n\n## Cache Discount\nCached responses are **70% cheaper** than fresh fetches.","url":"https://api.weblens.dev/memory/set?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eM6UyyZ3IITE_ebfs3cKQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stores a key-value memory entry in WebLens's persistent web intelligence memory store","exampleAgentPrompt":"Save the web intelligence result I just extracted to the WebLens memory store under the key 'company_research_acme' so I can retrieve it later in this workflow.","exampleUseCases":[{"title":"Persisting scraped research results","prompt":"Store the company profile data I just scraped for Acme Corp under the key 'acme_profile' in WebLens memory so I can pull it up again without re-scraping."},{"title":"Caching intermediate agent workflow data","prompt":"Save these extracted product prices from my last web fetch into WebLens memory under 'product_prices_2024' so my pricing agent can reference them in the next step."},{"title":"Saving session context across agent calls","prompt":"Write my current research session summary to WebLens memory under the key 'session_context_today' so I don't lose progress if this agent restarts."}],"resultDescription":"A JSON confirmation object indicating whether the memory entry was successfully stored, along with the key used and any relevant metadata about the stored record.","failureModes":["Missing or invalid key results in a 400 error","Value payload too large returns a payload size error","Authentication or payment failure via x402 returns 402 Payment Required","Duplicate key may silently overwrite existing value without warning","Network timeout during storage returns a 503 or timeout error"],"whenToPreferThis":"Use this endpoint when you need to persist key-value data within the WebLens ecosystem for later retrieval via a companion /memory/get endpoint, especially when orchestrating multi-step web scraping or research workflows where intermediate results need to be stored between agent calls. It is well-suited for agents that repeatedly query the same web sources and want to cache results to save costs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:32:26.134Z","isFirstParty":false,"canonicalSlug":"weblens-memory-set-1d5f7ab1"}