{"uid":"cap_UOgqG7L0H0RJ9B3I2rEkI","slug":"stayapi-nearby-accommodations-d452e8d7","name":"StayAPI Nearby Accommodations","description":"Accommodation search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.","url":"https://stayagent.vercel.app/api/nearby","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Hotel ID"},"type":{"type":"string","description":"Filter by type"}}},"responseSchema":{"type":"object","required":["success","data"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jNcKC7MMS4ta15NMbDrhB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns nearby accommodation listings for a given hotel ID, optionally filtered by type, via pay-per-request USDC payment","exampleAgentPrompt":"Find me nearby accommodations for hotel ID 'hotel_abc123', and filter results to show only boutique hotels.","exampleUseCases":null,"resultDescription":"A JSON object with a success boolean and a data object containing nearby accommodation listings relevant to the given hotel ID, optionally narrowed by accommodation type.","failureModes":["Missing required 'id' field returns validation error","Invalid hotel ID returns empty or error data","Payment failure via x402 results in 402 response and no data returned","Unknown type filter may return empty results or be ignored","Service unavailable on Vercel cold start may cause timeout"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to discover accommodations near a known hotel property without requiring API keys or subscriptions — ideal for lightweight, pay-per-use travel research workflows that use USDC micropayments via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:07.345Z","isFirstParty":false}