Tripadvisor & The Fork are offering a joint solution that allows partners to (1) take advantage of the global restaurant database to help consumers find the perfect restaurant and (2) offer the ability for users to then make a dining reservation for those eligible listings via an integration w/ our sister company the Fork in eligible regions. The Fork’s value proposition also includes access to deep discounts, providing users exceptional value in prime European destinations.
Tripadvisor’s JSON Partner API can be used to get dynamic access to Tripadvisor content. Partners can build their applications by calling the API, parsing the response, and displaying the data from the response on their site. Example content includes TA ratings, reviews, photos, and links. Input options and partner configuration settings control the amount and type of data returned. Embedded in each call per location is the Fork booking content and partner specific booking link pointing to the corresponding booking site with tracking.
Tripadvisor has the largest database of restaurants globally. It provides a single point of access for places to eat globally along with content / descriptions provided by owners and ratings, reviews, and recommendations based on rich user data. This solution can help drive engagement with users looking to explore local area information.
Lafourchette, an online restaurant booking platform, was acquired by Tripadvisor in 2014. The acquisition enables consumers to search availability and reserve a table for a specific date and time directly on Tripadvisor. The lafourchette brand has since expanded internationally and is globally branded as TheFork (with some variation in branding in specific European regions).
TheFork includes a network restaurant partners across Europe and is now the leading online and mobile reservation platform for restaurants in France, Spain, Switzerland, Belgium, Italy, Brazil, Portugal, Turkey, Netherlands, Sweden, Denmark and Australia. Our API identifies if a Restaurant is bookable through one of the Fork sites and includes a booking link to the appropriate site.
Sample: Restaurant Entity Information
Sample: User Generated Content
Sample JSON Response
To see an example Restaurant call that includes booking information, see documentation here: https://developer-tripadvisor.com/partner/json-api/documentation/location-restaurants/
{
"address_obj": {
"street1": "54 rue Corvisart",
"street2": null,
"city": "Paris",
"state": null,
"country": "France",
"postalcode": "75013",
"address_string": "54 rue Corvisart, 75013 Paris France"
},
"latitude": "48.83089",
"rating": "4.5",
"location_id": "6575305",
"restaurant_booking": {
"bookable": true,
"booking_url": "http://thefork.com/restaurant/na/36296?cc=12345-ab2"
},
"trip_types": [
{
"name": "business",
"value": "38",
"localized_name": "Business"
},
{
"name": "couples",
"value": "237",
"localized_name": "Couples"
},
{
"name": "solo",
"value": "42",
"localized_name": "Solo travel"
},
{
"name": "family",
"value": "96",
"localized_name": "Family"
},
{
"name": "friends",
"value": "262",
"localized_name": "Friends getaway"
}
],
"reviews": [
{
"id": "412410513",
"lang": "en",
"location_id": "6575305",
"published_date": "2016-08-29T11:32:39-0400",
"rating": 5,
"helpful_votes": "0",
"rating_image_url": "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-MCID-5.png",
"url": "https://www.tripadvisor.com/ShowUserReviews-g187147-d6575305-r412410513-mMCID-Il_Etait_Un_Square-Paris_Ile_de_France.html#review412410513",
"trip_type": null,
"travel_date": "2016-08",
"text": "This is a great restaurant located slightly away from the city center but well worth the trip for wonderful food and great service. My boyfriend and I each had fantastic burgers here. The service was...",
"user": {
"username": "KatfromNY",
"user_location": {
"name": "NY",
"id": null
}
},
"title": "Great dinner at Il Etait Un Square"
},
{
"id": "408872062",
"lang": "en",
"location_id": "6575305",
"published_date": "2016-08-22T12:33:56-0400",
"rating": 5,
"helpful_votes": "0",
"rating_image_url": "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-MCID-5.png",
"url": "https://www.tripadvisor.com/ShowUserReviews-g187147-d6575305-r408872062-mMCID-Il_Etait_Un_Square-Paris_Ile_de_France.html#review408872062",
"trip_type": "Solo travel",
"travel_date": "2016-08",
"text": "The staff are very friendly and helpful with selection of your meal or any questions you may have. The food is of a stellar quality and you will be surprised at how decent the pricing is for what you...",
"user": {
"username": "Black C",
"user_location": {
"name": null,
"id": null
}
},
"title": "Excellent food even better service!"
},
{
"id": "396932153",
"lang": "en",
"location_id": "6575305",
"published_date": "2016-07-25T14:11:20-0400",
"rating": 5,
"helpful_votes": "0",
"rating_image_url": "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/s5.0-MCID-5.png",
"url": "https://www.tripadvisor.com/ShowUserReviews-g187147-d6575305-r396932153-mMCID-Il_Etait_Un_Square-Paris_Ile_de_France.html#review396932153",
"trip_type": "Couples",
"travel_date": "2016-07",
"text": "We stumbled upon this lovely restaurant one evening and were welcomed straight away by the manager, he had us seated right away and looked after us all evening. Even though my French is sadly not up...",
"user": {
"username": "ITmanDan",
"user_location": {
"name": null,
"id": null
}
},
"title": "Food is wonderful, service is even better."
}
],
"write_review": "https://www.tripadvisor.com/UserReview-g187147-d6575305-mMCID-Il_Etait_Un_Square-Paris_Ile_de_France.html",
"ancestors": [
{
"abbrv": null,
"level": "City",
"name": "Paris",
"location_id": "187147"
},
{
"abbrv": null,
"level": "Region",
"name": "Ile-de-France",
"location_id": "187144"
},
{
"abbrv": null,
"level": "Country",
"name": "France",
"location_id": "187070"
}
],
"longitude": "2.348131",
"hours": {
"week_ranges": [
{
"localized_day_name": "Sunday",
"times": [],
"day_name": "Sunday"
},
{
"localized_day_name": "Monday",
"times": [
{
"open_time": "12:00",
"close_time": "15:00"
},
{
"open_time": "19:30",
"close_time": "22:00"
}
],
"day_name": "Monday"
},
{
"localized_day_name": "Tuesday",
"times": [
{
"open_time": "12:00",
"close_time": "15:00"
},
{
"open_time": "19:30",
"close_time": "22:00"
}
],
"day_name": "Tuesday"
},
{
"localized_day_name": "Wednesday",
"times": [
{
"open_time": "12:00",
"close_time": "15:00"
},
{
"open_time": "19:30",
"close_time": "22:00"
}
],
"day_name": "Wednesday"
},
{
"localized_day_name": "Thursday",
"times": [
{
"open_time": "12:00",
"close_time": "15:00"
},
{
"open_time": "19:30",
"close_time": "22:00"
}
],
"day_name": "Thursday"
},
{
"localized_day_name": "Friday",
"times": [
{
"open_time": "12:00",
"close_time": "15:00"
},
{
"open_time": "19:30",
"close_time": "22:00"
}
],
"day_name": "Friday"
},
{
"localized_day_name": "Saturday",
"times": [
{
"open_time": "12:00",
"close_time": "15:00"
},
{
"open_time": "19:30",
"close_time": "22:00"
}
],
"day_name": "Saturday"
}
],
"timezone": "Europe/Paris"
},
"percent_recommended": 94,
"cuisine": [
{
"name": "french",
"localized_name": "French"
}
],
"review_rating_count": {
"1": "6",
"2": "7",
"3": "19",
"4": "106",
"5": "605"
},
"subratings": [
{
"rating_image_url": "https://static.tacdn.com/img2/ratings/traveler/ss4.5.gif",
"name": "rate_food",
"value": "4.5",
"localized_name": "Food"
},
{
"rating_image_url": "https://static.tacdn.com/img2/ratings/traveler/ss4.5.gif",
"name": "rate_atmosphere",
"value": "4.5",
"localized_name": "Atmosphere"
},
{
"rating_image_url": "https://static.tacdn.com/img2/ratings/traveler/ss4.5.gif",
"name": "rate_service",
"value": "4.5",
"localized_name": "Service"
},
{
"rating_image_url": "https://static.tacdn.com/img2/ratings/traveler/ss4.5.gif",
"name": "rate_value",
"value": "4.5",
"localized_name": "Value"
}
],
"ranking_data": {
"ranking_string": "#5 of 15,688 Places to Eat in Paris",
"ranking_out_of": "15688",
"geo_location_id": "187147",
"ranking": "5",
"geo_location_name": "Paris"
},
"photo_count": "104",
"location_string": "Paris, Ile-de-France",
"web_url": "https://www.tripadvisor.com/Restaurant_Review-g187147-d6575305-Reviews-mMCID-Il_Etait_Un_Square-Paris_Ile_de_France.html",
"price_level": null,
"rating_image_url": "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.5-MCID-5.png",
"awards": [
{
"award_type": "Certificate of Excellence",
"year": "2016",
"images": {
"small": "http://www.tripadvisor.com/img/cdsi/img2/awards/CERTIFICATE_OF_EXCELLENCE_small-MCID-5.jpg",
"large": "http://www.tripadvisor.com/img/cdsi/img2/awards/CERTIFICATE_OF_EXCELLENCE_2016_en_US_large-MCID-5.jpg"
},
"categories": [],
"display_name": "Certificate of Excellence 2016"
}
],
"name": "Il Etait Un Square",
"num_reviews": "743",
"category": {
"name": "restaurant",
"localized_name": "Restaurant"
},
"subcategory": [
{
"name": "sit_down",
"localized_name": "Sit down"
}
],
"see_all_photos": "https://www.tripadvisor.com/Restaurant_Review-g187147-d6575305-mMCID-Reviews-Il_Etait_Un_Square-Paris_Ile_de_France.html#photos"
}
Sample: Fork.com Booking Page
Restaurant booking is available on the following Fork points of sale (POS). API calls made with the corresponding TA language code will result in a localized response and link to the restaurant on the local domain. TheFork portfolio utilizes a number of different brands depending on the market. For example, making a Tripadvisor API call with a Spanish language code directs a user to eltenedor.es, which operated under the Eltenedor brand in Spain.
|
Language |
TA Language Code |
POS |
Brand |
|
English |
en_AU, en_CA, en_HK, en_IE, en_IN, en_MY, en_NZ, |
thefork.com |
TheFork |
|
French |
fr, fr_CA |
lafourchette.com |
LaFourchette |
|
French (Switzerland) |
fr_CH |
lafourchette.ch |
LaFourchette |
|
French (Belgium) |
fr_BE |
thefork.be |
TheFork |
|
Spanish |
es, es_AR, es_CL, es_CO, es_MX, es_PE, es_VE |
eltenedor.es |
ElTenedor |
|
Italian |
it, it_CH |
thefork.it |
TheFork |
|
Portuguese |
pt |
thefork.pt |
TheFork |
|
Danish |
da |
thefork.dk |
TheFork |
|
Dutch |
nl, nl_BE |
thefork.be/nl |
IENS |
|
Turkish |
tr |
thefork.com.tr |
TheFork |
|
Sweden |
se |
thefork.com |
TheFork |