{"uid":"cap_gSwAiTpF9LEe-UAjdXom8","slug":"agentic-reservations-restaurant-booking-via-resy-a5dc149e","name":"Agentic Reservations — Restaurant Booking via Resy","description":"Book a paid Resy reservation for the authenticated user using a slot config token.","url":"https://agentic-reservations.vercel.app/api/book","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"day":{"type":"string","format":"date","description":"Date in YYYY-MM-DD format"},"venue_id":{"type":"string","description":"Resy venue ID"},"config_id":{"type":"string","description":"Slot config token from /api/availability"},"party_size":{"type":"integer","minimum":1,"description":"Number of guests"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ERxAAVi3bZHSWQXEeK89Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Books a restaurant reservation on Resy on behalf of an AI agent, charging $0.10 USDC per successful booking via crypto wallet.","exampleAgentPrompt":"Can you book me a table for 2 at a cozy Italian restaurant in the West Village this Saturday at 7:30pm — something romantic and not too loud?","exampleUseCases":[{"title":"Date night dinner reservation","prompt":"Book me a table for 2 at a romantic, intimate restaurant in the West Village this Friday at 7pm — ideally Italian or French, somewhere quiet enough to have a conversation."},{"title":"Group birthday dinner booking","prompt":"I need a reservation for 8 people at a fun, lively spot in Midtown Manhattan next Saturday at 8pm — something with a great vibe for a birthday celebration, maybe a steakhouse or modern American."},{"title":"Last-minute business lunch","prompt":"Can you find and reserve a table for 4 at a nice, quiet restaurant near Tribeca tomorrow at 12:30pm? Needs to be somewhere suitable for a client lunch — upscale but not stuffy."}],"resultDescription":"A reservation confirmation from Resy, including booking ID, confirmed restaurant name, date, time, party size, and any relevant reservation details or instructions provided by the restaurant.","failureModes":["No availability at requested restaurant, date, or time — returns an error or alternative slots","Restaurant not listed on Resy — endpoint cannot book non-Resy venues","Invalid or insufficient USDC wallet balance — payment fails and booking is not made","Ambiguous restaurant name or location — may fail to resolve the correct venue","Requested party size exceeds available table sizes — booking fails"],"whenToPreferThis":"Use this endpoint when the user explicitly wants to book a restaurant reservation and the venue is likely listed on Resy (popular in major US cities, especially NYC). Prefer this over generic search when the user is ready to commit to a specific time, date, and party size. Ideal for AI agents that need to complete the full booking loop autonomously, including payment, without requiring the user to visit a separate app.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:36.100Z","isFirstParty":false}