{"uid":"cap_g3Kqp6zfWPnllOY-BGQaV","slug":"weblens-places-search-api-36d8e768","name":"WebLens Places Search API","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/places?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number","maximum":20,"description":"Max results (default 10, max 20)"},"query":{"type":"string","description":"What to search for"},"location":{"type":"string","description":"Free-text location bias, e.g. \"Austin, Texas\""}}},"responseSchema":{"type":"json","example":{"query":"coffee shops","results":[{"name":"Example Coffee","phone":"(512) 555-0100","rating":4.7,"address":"123 Main St, Austin, TX","reviews":812,"website":"https://examplecoffee.com","position":1,"coordinates":{"latitude":30.26,"longitude":-97.74}}],"location":"Austin, Texas","requestId":"req_places123","searchedAt":"2026-07-25T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.045","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.75","successRate":"1.00","reviews":1,"stars":"4.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lTy_n8sUY4EeuBeFlwZvO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for local places and businesses by query and location, returning enriched results including ratings, reviews, phone, address, website, and coordinates","exampleAgentPrompt":"Find me the top-rated coffee shops in Austin, Texas — I need their names, phone numbers, addresses, ratings, and websites.","exampleUseCases":[{"title":"Local restaurant discovery for travelers","prompt":"Search for highly rated sushi restaurants in San Francisco and give me their names, addresses, phone numbers, ratings, and websites so I can pick one for dinner tonight."},{"title":"Competitor business intelligence","prompt":"Find all the CrossFit gyms in Denver, Colorado — I need their addresses, ratings, review counts, and websites so I can map out the competitive landscape."},{"title":"Lead generation for local services","prompt":"Search for plumbers in Austin, Texas and return their names, phone numbers, addresses, and websites — I'm building a list of local contractors to contact."}],"resultDescription":"Returns a JSON object containing the original query, location, a request ID, timestamp, and an array of place results. Each result includes the business name, phone number, star rating, street address, review count, website URL, search result position, and latitude/longitude coordinates.","failureModes":["Invalid or ambiguous location string returns empty results or a location resolution error","Query too vague returns low-relevance or zero results","Rate limiting or payment failure (x402) if USDC balance is insufficient","Malformed request body returns 400 validation error","Temporarily unavailable search data source returns 503 or cached fallback","Very niche or rare business types in small cities may return sparse results"],"whenToPreferThis":"Choose this endpoint when you need structured local business data including contact info, ratings, and coordinates for a specific query and city or region. It is ideal for local search, lead generation, competitor mapping, travel planning, or any use case requiring enriched place data beyond what a general web search provides. The x402 micropayment model makes it cost-effective at $0.045 per call, with a 70% discount on cached results for repeated queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-08-31T21:05:56.256Z","lastSuccessfullyRanAt":"2026-08-31T21:05:56.256Z","lastHealthCheckAt":"2026-10-02T06:44:29.342Z","isFirstParty":false,"canonicalSlug":"weblens-places-search-api-36d8e768"}