{"uid":"cap_g3Kqp6zfWPnllOY-BGQaV","slug":"weblens-places-search-api-36d8e768","name":"WebLens Places Search API","description":"Local business search via Google Places. Returns names, addresses, categories, ratings, reviews, phone numbers, websites, and coordinates.","url":"https://api.weblens.dev/search/places?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number","default":10,"example":10,"maximum":20,"minimum":1,"description":"Maximum results to return"},"query":{"type":"string","example":"coffee shops","maxLength":500,"minLength":1,"description":"What to search for, e.g. \"coffee shops\""},"location":{"type":"string","example":"Austin, Texas","maxLength":200,"minLength":2,"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-11-14T00:38:37.586Z","isFirstParty":false,"canonicalSlug":"weblens-places-search-api-36d8e768"}