{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"aa3c54dd-e762-4737-9b43-3286e19393f3","catalogType":"api","categories":["travel","data"],"dataPlatform":"thefork","dataPlatformLogoUrl":"https://api.sh/logos/thefork.png","dataPlatformTranslations":{},"dataProduct":"dining-reference","description":"Search TheFork via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as city, output, and retrieve structured data including restaurant identifier, restaurant-price currency, available source filter identities, available sorting choices, and next search page for source directory, and record comparison, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"ابحث عن مطاعم TheFork عبر OpenAny REST بالمدينة أو رابط القائمة أو الإحداثيات، مع مرشحات الوسوم والسعر والتقييم والعروض وصفحات النتائج. استخدم النتائج المنظمة لإثراء دليل المطاعم أو مقارنة سجلات المصدر أو ربط صفحات المواقع في واجهة اكتشاف، مع أمثلة الطلبات وتسعير التنفيذ الحالي في صفحة API.","ja":"OpenAny REST で都市・一覧 URL・座標から TheFork の店舗を検索し、料理タグ・価格・評価・特典・ページを指定できます。 構造化結果を飲食店ディレクトリの補完、出典レコードの比較、場所ページの連携に使えます。API 詳細ページにはリクエスト例と選択した実装の料金があります。","zh":"通过 OpenAny REST 按城市、列表 URL 或坐标检索 TheFork 餐厅，支持菜系标签、价格、评分、优惠和分页。 可将结构化结果用于补充餐厅目录、比较来源记录或关联地点页面；API 详情页提供请求示例和当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"381c9843-c835-4e2a-a1d8-bbc121b8ac1d","includedContentHtml":"","inputs":[{"description":"A TheFork city as in thefork.com/restaurants/\u003ccity\u003e, e.g. paris-c415144, barcelona-c41710.","location":"query","name":"city","nullable":false,"required":false,"type":"string"},{"description":"Instead of city: a thefork.com city listing page (a tag page such as /restaurants/paris-c415144/italian-t436 also works).","location":"query","name":"url","nullable":false,"required":false,"type":"string"},{"description":"Instead of city: latitude of the point to search around.","location":"query","name":"lat","nullable":false,"required":false,"type":"string"},{"description":"Longitude of the point.","location":"query","name":"lng","nullable":false,"required":false,"type":"string"},{"description":"Search radius in km (0.1-50).","location":"query","name":"radius","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated tag ids from `available_filters` (e.g. 436 Italian, 2102 one MICHELIN star); all must match.","location":"query","name":"tags","nullable":false,"required":false,"type":"string"},{"description":"A menu type id from `available_filters` (e.g. 3 set menus).","location":"query","name":"sale_type","nullable":false,"required":false,"type":"string"},{"description":"true: only restaurants with a special offer.","location":"query","name":"offers_only","nullable":false,"required":false,"type":"boolean"},{"description":"true: only the best-rated restaurants.","location":"query","name":"best_rated","nullable":false,"required":false,"type":"boolean"},{"description":"Trending this month.","enum_values":["rising_stars","top_rated_month","most_booked_month"],"location":"query","name":"trend","nullable":false,"required":false,"type":"string"},{"description":"Minimum average price.","location":"query","name":"min_price","nullable":false,"required":false,"type":"number"},{"description":"Maximum average price.","location":"query","name":"max_price","nullable":false,"required":false,"type":"number"},{"description":"Minimum TheFork rating (out of 10).","location":"query","name":"min_rating","nullable":false,"required":false,"type":"number"},{"description":"Order.","enum_values":["quality","distance","avgRate","promotion","price","popularity","newRestaurant","lastMonthReservation","lastMonthAvg"],"location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"asc or desc (default desc; price and distance asc).","enum_values":["asc","desc"],"location":"query","name":"direction","nullable":false,"required":false,"type":"string"},{"description":"Page number.","location":"query","name":"page","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/thefork.png","method":"GET","name":"TheFork restaurant search API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eTheFork Search API\u003c/h2\u003e\n\u003cp\u003eChoose a source city slug, listing url, or lat and lng. radius is in kilometres from 0.1–50. tags uses comma-separated available_filters IDs and all must match; sale_type also uses a source filter ID. min_rating is out of 10. Sorting options and continuation are returned as available_sorts and next_page.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eChoose the lookup or search inputs described below. Optional: city, url, lat, lng, radius, tags, sale_type, offers_only, best_rated, trend, min_price, max_price, min_rating, sort, direction, page. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · TheFork restaurant search API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eSource directory\u003c/strong\u003e: Retain the returned source identifier and location context when enriching a discovery directory.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eRecord comparison\u003c/strong\u003e: Compare the returned source metadata and follow detail links before a visit or booking decision.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erestaurants[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRestaurant identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erestaurants[].currency\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRestaurant-price currency\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erestaurants[].rating\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource rating out of ten\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eavailable_filters\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAvailable source filter identities\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eavailable_sorts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAvailable sorting choices\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_page\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNext search page\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/thefork/v1/search \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode city=paris-c415144 \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/381c9843-c835-4e2a-a1d8-bbc121b8ac1d\"\u003ePublished TheFork Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I search around coordinates?\u003c/h3\u003e\n\u003cp\u003eYes. Use lat and lng with radius in kilometres, from 0.1 to 50.\u003c/p\u003e\n\u003ch3\u003eHow do multiple tags combine?\u003c/h3\u003e\n\u003cp\u003eAll comma-separated tag IDs must match; use values from available_filters.\u003c/p\u003e\n\u003ch3\u003eIs min_rating on a five-star scale?\u003c/h3\u003e\n\u003cp\u003eNo. It uses TheFork’s scale out of 10.\u003c/p\u003e\n\u003ch3\u003eHow do I continue search results?\u003c/h3\u003e\n\u003cp\u003ePass next_page as page, preserving location and filter parameters.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/michelin-guide/michelin-guide-hotels-api\"\u003eMICHELIN Guide hotels API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/michelin-guide/michelin-guide-restaurant-api\"\u003eMICHELIN Guide restaurant API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/michelin-guide/michelin-guide-restaurants-in-a-city-or-country-api\"\u003eMICHELIN Guide restaurants in a city or country API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/thefork/thefork-restaurant-search-api?offering=381c9843-c835-4e2a-a1d8-bbc121b8ac1d","providerId":"apish","publicPath":"/v1/agent-apis/apish/thefork/v1/search","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"city":"paris-c415144","output":"json"}},"response_body":{"available_filters":[{"group":"THE_FORK_BENEFIT","label":"TheFork benefits","options":[{"count":null,"id":null,"label":"Offers","selected":false,"type":"PROMOTION_ONLY"},{"count":116,"id":831,"label":"Yums accepted","selected":false,"type":"RESTAURANT_TAG"},"… 1 more"]},{"group":"PAY_WITH_THE_FORK","label":"Pay with TheFork","options":[{"count":1674,"id":5779,"label":"Gift card accepted","selected":false,"type":"RESTAURANT_TAG"},{"count":1677,"id":4367,"label":"TheFork Pay accepted","selected":false,"type":"RESTAURANT_TAG"}]},"… 14 more"],"available_sorts":["quality","distance","… 7 more"],"cached":false,"city":{"id":415144,"latitude":48.856614,"longitude":2.3522219,"name":"Paris","slug":"paris"},"count":25,"credits_used":1,"next_page":2,"page":1,"price_range":{"currency":"EUR","maxPrice":150},"restaurants":[{"address":"188 Rue Saint-Maur, 75010, Paris","average_price":22,"bookable":true,"city":"Paris","country":"France","cuisine":"French","currency":"EUR","deals":[{"description":null,"label":"Yums x2","type":"SUPER_YUMS"}],"distinctions":[],"id":849456,"latitude":48.8713783,"longitude":2.3724345,"name":"Le petit blé noir","payment_accepted":["Credit Card","TheFork Pay","… 1 more"],"photo":"https://cdn.thefork.com/tf-lab/image/upload/restaurant/e1b6ff55-3c11-434f-b91c-b62080d04f47/341e3411-1784-4b6a-87f7-2bad2cbf7683.jpg","photos":["https://cdn.thefork.com/tf-lab/image/upload/restaurant/e1b6ff55-3c11-434f-b91c-b62080d04f47/341e3411-1784-4b6a-87f7-2bad2cbf7683.jpg","https://cdn.thefork.com/tf-lab/image/upload/restaurant/e1b6ff55-3c11-434f-b91c-b62080d04f47/6ac739c0-38d5-4a73-a3b1-a30d6796a336.jpg","… 10 more"],"price_level":2,"rating":9.5,"review_count":689,"review_snippets":[],"street":"188 Rue Saint-Maur","tags":[{"category":5,"id":312,"name":"Credit Card"},{"category":5,"id":4367,"name":"TheFork Pay"},"… 21 more"],"timeslots_today":[{"available":true,"discount_percent":30,"offer":"-30%","time":"12:00"},{"available":true,"discount_percent":30,"offer":"-30%","time":"12:15"},"… 3 more"],"url":"https://www.thefork.com/restaurant/le-petit-ble-noir-r849456","uuid":"e1b6ff55-3c11-434f-b91c-b62080d04f47","zip_code":"75010"},{"address":"176 Rue de la Pompe, 75016, Paris","average_price":23,"bookable":true,"city":"Paris","country":"France","cuisine":"French","currency":"EUR","deals":[{"description":null,"label":"Yums x2","type":"SUPER_YUMS"}],"distinctions":[],"id":843853,"latitude":48.8711423,"longitude":2.2836354,"name":"Le Comptoir Foch","payment_accepted":["American Express","Apple Pay","… 5 more"],"photo":"https://cdn.thefork.com/tf-lab/image/upload/restaurant/cb4ddbdc-dcd0-4273-96ee-f97374aedf62/5c3c97ec-c35a-4c70-9255-3fa0ab6277b7.jpg","photos":["https://cdn.thefork.com/tf-lab/image/upload/restaurant/cb4ddbdc-dcd0-4273-96ee-f97374aedf62/5c3c97ec-c35a-4c70-9255-3fa0ab6277b7.jpg","https://cdn.thefork.com/tf-lab/image/upload/restaurant/cb4ddbdc-dcd0-4273-96ee-f97374aedf62/2c828b06-5169-4c23-9002-ba600c40d82f.jpg","… 10 more"],"price_level":2,"rating":9.6,"review_count":1126,"review_snippets":[],"street":"176 Rue de la Pompe","tags":[{"category":5,"id":311,"name":"American Express"},{"category":5,"id":2473,"name":"Apple Pay"},"… 47 more"],"timeslots_today":[{"available":true,"discount_percent":null,"offer":null,"time":"12:00"},{"available":true,"discount_percent":null,"offer":null,"time":"12:15"},"… 3 more"],"url":"https://www.thefork.com/restaurant/le-comptoir-foch-r843853","uuid":"cb4ddbdc-dcd0-4273-96ee-f97374aedf62","zip_code":"75016"},"… 23 more"],"sort":"QUALITY","total":3352,"total_pages":135,"url":"https://www.thefork.com/restaurants/paris-c415144"}}],"seoDescription":"Search TheFork via REST or MCP powered by Apish. Pay per call, no subscription. Get restaurant identifier and source rating out of ten in JSON.","updatedAt":"2026-12-03T02:45:00.825Z","usageInstructionsHtml":""}}