{"uid":"cap_gmWqywi12IXaUv_s1c6uw","slug":"stayapi-compare-endpoint-f8d40dea","name":"StayAPI Compare Endpoint","description":"Accommodation search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.","url":"https://stay402.vercel.app/api/compare","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Property ID"}}},"responseSchema":{"type":"object","required":["success","data"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zEUIzOYnx7gfJx1m4O4a9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves and compares accommodation details for a specific property by ID, paid per-request in USDC via x402.","exampleAgentPrompt":"Can you pull up the details and comparison info for property ID 'prop_abc123' on StayAPI so I can see what it offers?","exampleUseCases":null,"resultDescription":"Returns a success boolean and a data object containing property comparison details such as amenities, pricing, and other accommodation attributes for the requested property ID.","failureModes":["Missing or invalid property ID returns an error response","Unknown property ID results in empty or failed data object","Payment failure via x402 causes request to be rejected before processing","Network timeout on the Vercel deployment returns a 5xx error","Malformed request body missing the required 'id' field returns a validation error"],"whenToPreferThis":"Use this endpoint when you need no-auth, pay-per-use accommodation comparison data for a specific known property ID, especially in agentic workflows where subscriptions are impractical and USDC micropayments via x402 are supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:15.532Z","isFirstParty":false}