{"uid":"cap_pblklB-z4IpjUwcFAUYA4","slug":"weblens-credits-purchase-ab56e8c1","name":"WebLens Credits Purchase","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/credits/buy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"number","example":10,"maximum":1000,"minimum":2,"description":"Amount in USD to buy"}}},"responseSchema":{"type":"json","example":{"bonus":0,"success":true,"requestId":"req_credits456","newBalance":15,"addedCredits":10,"transactionId":"tx_123"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M5PeWO4nCR-Ze-AzozdBq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases USDC credits for use with WebLens web intelligence API services via x402 micropayments","exampleAgentPrompt":"Add $10 worth of USDC credits to my WebLens account so I have balance ready for upcoming web scraping tasks.","exampleUseCases":[{"title":"Pre-fund scraping research pipeline","prompt":"I'm about to run a big batch of web research jobs on WebLens — can you buy $10 of USDC credits now so I don't run out mid-job?"},{"title":"Automate low-balance credit top-up","prompt":"My WebLens credit balance is running low. Go ahead and purchase another $10 in credits so I can keep scraping without interruption."},{"title":"First-time account funding","prompt":"I just signed up for WebLens and need to load my account — buy $10 of credits so I can start using the web intelligence API."}],"resultDescription":"Returns a JSON object confirming the transaction, including the number of credits added, any bonus credits, the updated account balance, a unique transaction ID, and a request ID for auditing.","failureModes":["Insufficient USDC funds in wallet — payment fails with x402 error","Invalid or missing x402 payment header — authentication failure","Network timeout during payment processing — indeterminate state, check balance before retrying","Duplicate payment submission — may result in double charge if not idempotent","Service unavailable — 5xx error with no credit added"],"whenToPreferThis":"Use this endpoint when you need to pre-fund a WebLens account with USDC credits before executing web scraping, research, or data extraction tasks. Choose this over per-call x402 payments when you plan to make many API calls and want to avoid per-request payment overhead or latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T06:46:16.643Z","isFirstParty":false,"canonicalSlug":"weblens-credits-purchase-ab56e8c1"}