{"uid":"cap_w2VWijmuh_CR8782O-Aid","slug":"stayapi-compare-9e19c0c2","name":"StayAPI Compare","description":"Accommodation search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.","url":"https://stayagent.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_bZGroh4EwuLilmg-ndBnj","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","exampleAgentPrompt":"Can you compare the accommodation details for property ID 'prop_abc123' using StayAPI — I want to see what this specific property offers before booking?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a success flag and a data object containing comparison details for the specified accommodation property, such as amenities, pricing, availability, or other property-specific attributes.","failureModes":["Missing or invalid property ID returns an error or empty data object","Unknown property ID may return success:false with no data","Payment failure (insufficient USDC) results in 402 response before any data is returned","Malformed request body returns validation error","Property ID references a delisted or unavailable property, returning empty or error response"],"whenToPreferThis":"Use this endpoint when you have a specific property ID and need to retrieve or compare detailed accommodation information without needing an API key or subscription. Ideal for AI agents that can pay per request in USDC via x402 and need on-demand property comparison without upfront commitments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:06.205Z","isFirstParty":false}