{"uid":"cap_LW4qVNH19uaEb-fc9NN-l","slug":"stayapi-availability-check-8cc07a00","name":"StayAPI Availability Check","description":"Accommodation search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.","url":"https://stayapi-jet.vercel.app/api/availability","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id","checkin","checkout"],"properties":{"id":{"type":"string","description":"Hotel ID"},"checkin":{"type":"string","description":"Check-in date"},"checkout":{"type":"string","description":"Check-out date"}}},"responseSchema":{"type":"object","required":["success","data"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q0SAM_gh1JIZaAkYXMErk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks room availability for a specific hotel across given check-in and check-out dates, returning availability data per request for $0.02 USDC via x402.","exampleAgentPrompt":"Check if hotel ID 'HTL-48291' has availability from June 14th to June 18th — I want to know if rooms are open for those dates before I book.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a success boolean and a data object containing the hotel's availability details for the requested date range, such as room types, open inventory, or pricing.","failureModes":["Missing required field (id, checkin, or checkout) returns a 400 error","Invalid hotel ID returns an error or empty data","Malformed date format causes a 400 bad request","Payment not provided or insufficient USDC triggers a 402 payment required response","Hotel not found in the system returns a failed success flag or empty data object"],"whenToPreferThis":"Use this endpoint when you already have a specific hotel ID and need to verify room availability for defined dates without needing to search across properties. Ideal for agents that have already identified a candidate hotel and need to confirm vacancy before presenting options or proceeding to booking. The pay-per-request model (no subscription) makes it suitable for low-volume or on-demand agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:32:35.541Z","isFirstParty":false}