POST /api/retty/restaurants
Price: 5 credits
Get a restaurant profile from Retty (retty.me): name, categories, area, address, coordinates, phones, access, opening hours, holidays, budget, cards, smoking, features, review and reaction counts, highlights, photos, the full menu and the bookable courses
Restaurant ids come from retty/restaurants/search. Reviews are retty/restaurants/reviews and photos are retty/restaurants/photos.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)restaurant string required — Retty restaurant id or restaurant URL (examples: "100000037961", "https://retty.me/area/PRE13/ARE1/SUB101/100000037961/"; minLength: 1)@type string (default: "RettyRestaurant")id string requiredurl string requiredname string nullablename_reading string nullableformer_name string nullablecategories array (default: [])business_status string nullablemembership string nullableprefecture object nullable@type string (default: "RettyNamedId")id string requiredname string nullablearea object nullable@type string (default: "RettyNamedId")id string requiredname string nullablesub_area object nullable@type string (default: "RettyNamedId")id string requiredname string nullablelarge_categories array (default: [])@type string (default: "RettyNamedId")id string requiredname string nullabledetailed_categories array (default: [])@type string (default: "RettyNamedId")id string requiredname string nullablepurposes array (default: [])@type string (default: "RettyNamedId")id string requiredname string nullableaddress string nullablepostal_code string nullablelatitude number nullablelongitude number nullablephones array (default: [])nearest_station string nullableminutes_from_station integer nullableaccess string nullablewebsites array (default: [])facebook_url string nullableinstagram_url string nullabletwitter_url string nullablelunch_budget_min integer nullablelunch_budget_max integer nullabledinner_budget_min integer nullabledinner_budget_max integer nullablecredit_cards string nullableaccepted_cards array (default: [])smoking string nullablesmoking_notes array (default: [])holidays string nullableopening_hours array (default: [])@type string (default: "RettyOpeningPeriod")days array (default: [])opens_at string nullablecloses_at string nullablelast_order_at string nullableis_always_open boolean nullableopening_hours_note string nullableremarks string nullablereservation_service string nullablereview_count integer nullablelunch_review_count integer nullabledinner_review_count integer nullablemorning_review_count integer nullablephoto_count integer nullableexcellent_count integer nullablegood_count integer nullableaverage_count integer nullablebeen_there_count integer nullablewant_to_go_count integer nullablehighlights array (default: [])@type string (default: "RettyTextItem")kind string nullabletext string requiredreview_summaries array (default: [])@type string (default: "RettyTextItem")kind string nullabletext string requiredfeatures array (default: [])@type string (default: "RettyFeature")name string requiredavailability string nullabledetails array (default: [])images array (default: [])@type string (default: "RettyRestaurantImage")url string requiredcaption string nullablemenu_tax string nullablemenu array (default: [])@type string (default: "RettyMenuItem")id string requiredsection string requiredname string nullableprice string nullabledescription string nullablecourses array (default: [])@type string (default: "RettyCourse")id string requireddescription string nullabledishes string nullableprice integer nullablediscounted_price integer nullabletax string nullableavailable_from integer nullableavailable_to integer nullablebookable_online boolean nullableall_you_can_drink boolean nullableall_you_can_eat boolean nullableupdated_at integer nullable422 — restaurant is not a Retty restaurant id or URL Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No Retty restaurant under that id Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.