{"uid":"cap_A8EaEJThgygUT-Fo3rdPx","slug":"weblens-search-trends-89b92333","name":"WebLens Search Trends","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/search/trends?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Topic to get trend data for"}}},"responseSchema":{"type":"json","example":{"query":"cloudflare workers","timeline":[{"date":"Jul 20 - 26, 2026","values":[{"query":"cloudflare workers","value":87}],"timestamp":"1784908800"}],"requestId":"req_trends123","searchedAt":"2026-07-25T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FgTw5DN-GWUJz0kaDXxzJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves Google Trends-style search interest timeline data for a given query term, showing relative popularity over time","exampleAgentPrompt":"Can you pull the search trend timeline for 'cloudflare workers' and show me how interest has changed week by week recently?","exampleUseCases":[{"title":"Market research for product launch","prompt":"I'm about to launch a new developer tool — can you check the search trend data for 'serverless functions' over the past few weeks so I know if interest is rising or falling?"},{"title":"Tracking competitor brand interest","prompt":"Can you fetch the search trends for 'Vercel' and tell me whether people's interest in them has been going up or down lately?"},{"title":"Content strategy timing","prompt":"I want to write a blog post about WebAssembly — can you check the trend data for 'WebAssembly' to see if it's currently spiking so I can time my publish date right?"}],"resultDescription":"Returns a JSON object containing the queried term, a timeline array of weekly date ranges each with a relative interest value (0-100 scale), a request ID for tracing, and a searchedAt timestamp indicating when the data was fetched.","failureModes":["Empty or ambiguous query string returns no timeline data","Rate limiting or payment failure via x402 protocol returns 402 Payment Required","Query for a very niche term with no search volume may return zero values across all dates","Network timeout or upstream data source unavailability returns 5xx error","Invalid request body format returns 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need time-series search interest data for a specific keyword or topic — useful for market research, content timing, SEO strategy, or tracking brand awareness trends. Prefer this over general web scraping endpoints when you specifically need structured trend/popularity-over-time data rather than raw page content. The caching discount (70% cheaper for cached responses) makes it cost-effective for frequently queried popular terms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:41:57.715Z","isFirstParty":false,"canonicalSlug":"weblens-search-trends-89b92333"}