{"uid":"cap_0FbeNiX3KX5d38Lm-jqKk","slug":"whatchuneed-accommodation-search-79b9bd66","name":"WhatChUNeed Accommodation Search","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/accommodation/search","method":"POST","headers":{},"bodySchema":{"type":"object","required":["location"],"properties":{"limit":{"type":"integer","description":"Max results"},"adults":{"type":"integer","description":"Number of adults"},"budget":{"type":"number","description":"Max budget per night in USD"},"checkin":{"type":"string","description":"Check-in date (YYYY-MM-DD)"},"checkout":{"type":"string","description":"Check-out date (YYYY-MM-DD)"},"location":{"type":"string","description":"City or destination name"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xP7eM7NHw6tEiAKGcY5Wc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for available accommodations in a specified city or destination with optional filters for dates, budget, and number of guests","exampleAgentPrompt":"Find me available hotels in Barcelona for 2 adults checking in on June 10 and checking out on June 15, with a max budget of $150 per night — show me up to 10 options.","exampleUseCases":[{"title":"Budget family trip accommodation search","prompt":"Search for hotels in Rome for 4 adults from July 20 to July 27, keeping it under $200 per night — show me the top 5 options."},{"title":"Last-minute solo city stay","prompt":"Find me somewhere to stay in Amsterdam tonight through Thursday for 1 adult, budget around $80 a night, and give me up to 8 results."},{"title":"Corporate travel lodging lookup","prompt":"I need to find hotels in Chicago for 2 adults checking in on September 3 and checking out September 5 — budget is up to $250 per night, list up to 10 places."}],"resultDescription":"Returns a JSON object with a success flag and a data array containing accommodation listings matching the search criteria, including details about available properties in the requested destination.","failureModes":["Missing required 'location' field returns validation error","Invalid date format (not YYYY-MM-DD) may cause parsing failure","No results found for highly specific filters (tight budget in expensive city)","Service unavailability returns non-success response","Invalid numeric values for adults or budget may cause errors"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call accommodation search without a subscription, especially in an agentic workflow using the x402 micropayment protocol. Ideal for one-off travel queries, AI agents that need to search hotels programmatically at $0.05 per call, or when building travel planning flows that combine accommodation search with other services on the same platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:49.089Z","isFirstParty":false}