allAgents API Example and Results
Example#1: Retrieving the average rating and number of reviews of a firm
$headers = array('APIKEY: API KEY');
$url = "https://www.allagents.co.uk/api/v1/firms/1-2-let/";
$curl = curl_init(); // Initialize cURL
// Set the options for cURL
curl_setopt($curl, CURLOPT_URL, $url); //Use the request url defined
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); //We want the result variable to contain the output
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); //send custom header that has the API Key
$result = curl_exec($curl); //Make request via curl and store in $result
curl_close($curl); //close the connection
$decodedResult = (json_decode($result, true)); //Transform JSON output into associative array.
$rating = $decodedResult['rating']; //Store Rating in its own variable
$reviewCount = $decodedResult['votes']; //Store Review Count in its own variable
// print $rating and $reviewCount
We are rated 4.31 based on 848
Example#2: Retrieving your firm's reviews
$headers = array('APIKEY: Your API KEY');
$url = "https://www.allagents.co.uk/api/v1/firms/1-2-let/reviews/";
$curl = curl_init(); // Initialize cURL
// Set the options
curl_setopt($curl,CURLOPT_URL, $url); //Use request url defined
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); //We want the result variable to contain the output
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); //send custom headers, one of which is the API Key
$result = curl_exec($curl); //Make request via curl, keep output in $result variable
curl_close($curl);//close the connection
$decodedResult = (json_decode($result, true)); //Transform JSON output into associative array.
?>
// Loop through $decodeResult and print all latest reviews
Here are our latest reviews from allAgents
Name: Abbi Henderson
Rated: 5 Stars
Date: 9 October, 2026
Review: I had a wonderful experience communicating with Louise, she was fast to respond and more than happy to help. She was clear with what she needed in order to help us get to the route of our boiler problem. Will definitely keep her in mind going forward :)
Name: Sapphire Osman
Rated: 5 Stars
Date: 30 September, 2026
Review: Megan made this whole process very easy! She was helping us every step of the way and we are super happy with our flat!
Name: Dishari
Rated: 5 Stars
Date: 25 September, 2026
Review:
Name: Kelsey Mcneill
Rated: 5 Stars
Date: 24 September, 2026
Review: Reported a boiler issue to the repairs team in our rented flat and Louise helped sort a repair and the issue was resolved within 24hrs. Prompt replies and helpful. Thank you!
Name: Kirsty Shepheard
Rated: 5 Stars
Date: 22 September, 2026
Review: Having recently found ourselves in the position of having to move house unexpectedly, my family and I were delighted by our experience with 1-2-Let. I was very keen to secure the property we now call home. They were supportive from the start. Megan guided me through the whole process, and was very patient with my endless phone calls along the way! I can honestly say the property ticks all the boxes for us. Couldn't have done it with the team.
Name: Robert Nelson
Rated: 5 Stars
Date: 11 September, 2026
Review: I had a great experience renting a flat with 1-2 Let. Throughout the whole process Megan was very responsive and helpful. I feel really lucky to have gotten such a great place and am so thankful for their help.
Name: Jasmine Bolich
Rated: 5 Stars
Date: 10 September, 2026
Review: Megan took care to note what I was looking for! She helped clarify the process and make things easy to understand. Loved the communication from the team and their help along the way!
Name: Samer Ibrahim
Rated: 5 Stars
Date: 6 September, 2026
Review: I had a good experience looking for a private let.
Megan was fantastic she was very quick to reply and gave clear communication on what she needed from me to get
Name: Keiron Mackie
Rated: 5 Stars
Date: 2 September, 2026
Review: I was having a frustrating time with the progress of some vital repairs which needed done in my flat. This situation had been ongoing 45 months with little progress however due to the hard work and perseverance of Louise the repairs will be completed soon. Thanks again Louise.
Name: Carole Ng
Rated: 5 Stars
Date: 1 September, 2026
Review: Nice renting experience. The responses were quick the service was friendly.
Name: Mary carlyle
Rated: 5 Stars
Date: 31 August, 2026
Review: Efficient and stress free great service especially the application and getting keys service flawless
Name: Megan Weatherall
Rated: 1 Stars
Date: 13 July, 2026
Review: If you enjoy poor communication, being strung along, and having your deposit held for more than twice the legal 7-day window - this letting agent is the one for you!
Name: Sophie Taylor-Davies
Rated: 5 Stars
Date: 13 May, 2026
Review: Ellie has been so helpful and responsive in our moving process. Thank you!
Name: Jamie Hart
Rated: 5 Stars
Date: 28 April, 2026
Review: I had a great experience looking for a private let. Ellie was fantastic, she was very quick to reply and gave clear communication on what she needed from me to get the tenancy through.
Name: Siddhartha Holla
Rated: 1 Stars
Date: 16 April, 2026
Review: I had a very disappointing experience with 1-2 Let in Glasgow.
For 42 days, my property had no heating due to a broken boiler, which is completely unacceptable—especially given the basic legal requirement for a habitable living environment. During this time, there was no meaningful urgency, no proper communication, and no adequate resolution. To make matters worse, there was no apology or compensation offered for this prolonged inconvenience.
Additionally, I have had ongoing issues regarding transparency. Despite multiple requests, the agency has refused to provide proper invoices relating to charges. Instead, they supplied a vague “report” that does not include any actual receipts or itemised proof of costs.
Under the Tenancy Deposit Schemes (Scotland) Regulations 2011 and standard tenancy agreements, landlords and agents are required to justify any deductions with clear evidence—such as invoices, receipts, or contractor quotes—and ensure charges go beyond fair wear and tear. This standard has clearly not been met.
Overall, this experience has been frustrating, unprofessional, and lacking in accountability. I would strongly advise others to proceed with caution when dealing with this agency.
Name: Peter Flanagan
Rated: 5 Stars
Date: 16 March, 2026
Review:
Name: luke fairnie
Rated: 5 Stars
Date: 12 March, 2026
Review: danielle was lovely
Name: Tony Henderson
Rated: 1 Stars
Date: 11 February, 2026
Review: The flat I was renting was sold while I was staying there. 1-2-let was the company the new owner was using to manage the place. Some guy with keys to my house walked in and started looking around. Turns out one of the other properties 1-2-let manage had a broken toilet. They gave him our keys and address by accident. Had to move out asap. Never again.
(edit) After posting this review, I got a phone call from 1-2-let. It went: "We have received a reference request and saw your review, just wanted to discuss." Honestly very threatening and confrontational. Phoning my personal number and asking me to remove the review because "it isn't reflective of the service we offer now" just shows the kind of service they offer now. Rather than addressing any issues or wrong-doing, they'd rather pretend it didn't happen. Hopefully this is the last time I need to deal with them.
Name: Darpana Khairnar
Rated: 1 Stars
Date: 29 January, 2026
Review: I just tried for the property
They scheduled a viewing for me and said to fill form as I completed all the process . I was very clear from my side .
I wanted to shift from old house to new house any how in a day a agent named Paris suddenly on the moment told me that we can’t give you house , I don’t know y why all of a sudden they did for us
It was very disappointing for us .
She was very rude to talk with me and my partner .
Name: Liam D20
Rated: 1 Stars
Date: 2 December, 2025
Review: We were with this letting agency for 5 years. They were terrible. Firstly they would phone us every month and accuse us of late rent. They said the rent came out on the 23rd when it actually came out on the 4th. When we asked it to be updated on the system they failed to do so which in itself is a simple task which they couldn’t do for 5 whole years. Every time we raised on error on their website it was a waste of time as they wouldn’t respond or couldn’t be bothered to respond. They were so unresponsive in fact that the landlord just contacted us directly as the agent was a waste of time. Unsure why you would pay the agent fee in that case. Finally; the most comical issue came when we vacated the property. We posted the keys through the letterbox as they had accessed the property several times for flat inspections and they charged us for an emergency locksmith to open the property as it is apparent that they lost a set of keys. I phoned up and asked them to explain and they didn’t have an answer. The staff are also incredibly rude and fob you off at any opportunity. Overall if you are a landlord or a tenant stay clear from 1 2 let as they seem to be woefully inept at the simplest of tasks never mind managing a property.
Name: margaret branter
Rated: 4 Stars
Date: 19 November, 2025
Review: Excellent response by Leah especially regarding issues at our property we currently out.
Name: Joan Ohanga
Rated: 5 Stars
Date: 4 November, 2025
Review: Kirsten was consistent throughout the process. My transition journey was seamless.
Name: Euan Stewart
Rated: 5 Stars
Date: 31 October, 2025
Review: Over the last few months myself and my partner have been having issues with 2 separate leaks from 2 different flats above us. Leah from 12 Let was great at coordinating all the repairs needed. Chatting with the factor, our landlord and letting agent / owner of the other flats to resolve this. Got there in the end but it was great to be constantly updated by Leah through the whole process. Thanks again, Euan & Alex
Name: Tony Henderson
Rated: 1 Stars
Date: 20 October, 2025
Review: The flat I was renting was sold while I was staying there. 1-2-let was the company the new owner was using to manage the place. Some guy with keys to my house walked in and started looking around. Turns out one of the other properties 1-2-let manage had a broken toilet. They gave him our keys and address by accident. Had to move out asap. Never again.
(edit) After posting this review, I got a phone call from 1-2-let. It went: "We have received a reference request and saw your review, just wanted to discuss." Honestly very threatening and confrontational. Phoning my personal number and asking me to remove the review because "it isn't reflective of the service we offer now" just shows the kind of service they offer now. Rather than addressing any issues or wrong-doing, they'd rather pretend it didn't happen. Hopefully this is the last time I need to deal with them.
Name: Bārbala Ostrovska
Rated: 5 Stars
Date: 8 October, 2025
Review: I have just moved in to my new flat and have nothing bad to say so far. Kirsten and the rest of the team have been quick to reply and super helpful. The move in process was smooth and simple.
Name: Nico
Rated: 5 Stars
Date: 22 August, 2025
Review: They were pretty chilled the entire time. No unnecessary checkins.
Great communication by their office staff and the technicians attending repair duties.
I loved the tenants portal, you can easily raise repairs and also keep track of your account balances and rent cycle etc.
Name: Umer Raza
Rated: 5 Stars
Date: 18 August, 2025
Review: These guys were really helpful and sorted out every issues during my stay really quickly.
Name: Osmund Rego
Rated: 5 Stars
Date: 30 July, 2025
Review: Leah is a super polite professional and extremely efficient. It cannot be an easy job to lead a team of various specialized technicians in a role that involves dealing with repairs, maintenance faults and complaints. Especially in this Lettings business & as you can imagine it is a very delicate balance between dealing with unhappy issues offering great customer service. Leah can "keep calm and carry on" being able to shortlist a long list of tasks by tenants daily to prioritize various kinds of jobs both on calls and emails. She has demonstrated good judgement to address the different job requests in a logical order of importance & priority. Especially when the property I've rented over 1year had a fire alarm device expiry issue, a plumbing problem with a faulty flush tank & electrical wiring that needed replacement due to a broken 35year old main circuit board box. All jobs requested were dealt with promptly in order of priority.
No job was too complex her to get sorted. She has time and again shown how easy it is to resolve property repairs and other such client issues with her smooth scheduling and coordination with contractors. She was always kind and understanding and helpful to resolve repairs in the past few months. Would like to recommend Lead her professional handling of various service requests. Bring any kind of job to Leah and she will get the job done right. Highly recommended team member at this Lettings Agency. At your next awards ceremony do give Leah an employee of the month award !!!"
Name: Education Manager
Rated: 5 Stars
Date: 14 July, 2025
Review: 12Let has always been reliable and consistent. They never disappoint and make sure every issue is handled promptly.
Plumbing issue: I once had a plumbing problem in my kitchen— the waste pipe got disconnected, and I was worried about flooding. With young kids around, the risk was real. I contacted 12Let, and the lady in charge of repairs immediately arranged a plumber. The issue was fixed within hours.
Faulty fire alarm: On another occasion, the fire alarm kept going off randomly, disturbing both me and my neighbours. Again, the repairs team acted quickly. An electrician came out and resolved it the same day.
Ceiling leak: Most recently, water started leaking through my bedroom ceiling from the flat above. I was worried about damage to my bed and rug. I reached out to 12Let, and Leah (the lady that handles repairs), advised me to knock on the upstairs neighbour's door. I got no response, but Leah was already trying to contact the flat owner and kept me updated throughout.
Later that evening—after office hours—I noticed another leak in the kitchen. I emailed Leah, not expecting a reply so late. To my surprise, she responded quickly, phoned me, and me know a plumber was on the way in 30 minutes. On her advice, I knocked upstairs again and this time reached the occupant. The plumber came promptly, assessed both flats, identified the issue, and resolved it. Leah continued to follow up he was onsite.
This latest experience confirmed what I already knew—12Let provides toptier service. Leah, in particular, went above and beyond. I’m truly grateful her responsiveness and support.
Thank you.
Name: M 786
Rated: 5 Stars
Date: 11 June, 2025
Review: Great team! My interaction was with Kirsty and my experience from start to end was brilliant. Can’t recommend her enough!
Name: Gordon Paton
Rated: 5 Stars
Date: 6 May, 2025
Review: Excellent service as always. All the staff are excellent and extremely knowledgeable.
Name: Theresa Cooper
Rated: 5 Stars
Date: 6 May, 2025
Review: I've used 1-2-lets for years, they have rented out my property in Glasgow and looked after it full time for me because i live so far away. Any work that has needed to be done they are very quick at doing this. They keep you in the loop with everything. I think they are brilliant. The whole team is very friendly. I couldn't fault them.
Name: Clarissa Giordano
Rated: 5 Stars
Date: 6 May, 2025
Review: Really helpful and always try to solve problems is a timely manner
Name: Emma Hutchison
Rated: 5 Stars
Date: 6 May, 2025
Review: Leah from the Repairs Department was excellent! She made the entire experience smooth and stressfree - fivestar service :)
Name: Gordon Mack Paton
Rated: 5 Stars
Date: 7 May, 2025
Review: Excellent service . Very knowledgeable and willing to help. Many Thanks
Name: Mhairi FitzPatrick
Rated: 5 Stars
Date: 29 April, 2025
Review: A few problems with two flats were dealt with quickly and efficiently by Leah at 12 Lets. I have had great service from the repair team there a few years now. Keep up the good work Leah and team!!
Name: Alex W
Rated: 5 Stars
Date: 29 April, 2025
Review: Leah was Very speedy in repairing our shower and washing machine
Name: Ahmed Mekki
Rated: 1 Stars
Date: 16 March, 2025
Review: Pathetic honestly nothing describes this more. So much for the so called “emergency line”. How can it be an emergency contact when no one responds or will even respond within an hour. I’ve had no hot water twice on weekends and we just had to deal with it because no one from this incompetent agency is actually there providing help if anything goes wrong. Most of their so called “repairs” take ages to get acknowledged let alone get fixed! Extremely dissatisfied
Name: Jodie CK Wong
Rated: 5 Stars
Date: 27 February, 2025
Review: Great customer service from Leah, I had problems with my flat and factors and she helped me sort out the issues promptly and efficiently, I have used different letting agencies in the past and since using 12 Let, I have found Leah to be the most helpful, she fought in my corner over the recent dispute from the factors. Leah has been extremely helpful and really appreciate the work she has done.
Name: Jude Meens
Rated: 5 Stars
Date: 25 February, 2025
Review:
Name: Tony Henderson
Rated: 1 Stars
Date: 4 February, 2025
Review: The flat I was renting was sold while I was staying there. 1-2-let was the company the new owner was using to manage the place. Some guy with keys to my house walked in and started looking around. Turns out one of the other properties 1-2-let manage had a broken toilet. They gave him our keys and address by accident. Had to move out asap. Never again.
(edit) After posting this review, I got a phone call from 1-2-let. It went: "We have received a reference request and saw your review, just wanted to discuss." Honestly very threatening and confrontational. Phoning my personal number and asking me to remove the review because "it isn't reflective of the service we offer now" just shows the kind of service they offer now. Rather than addressing any issues or wrong-doing, they'd rather pretend it didn't happen. Hopefully this is the last time I need to deal with them.
Name: Mayur
Rated: 5 Stars
Date: 29 April, 2025
Review: I had an issue that needed urgent attention, and the repair team handled it quickly and efficiently. Their prompt response and professionalism made the process smooth, and everything was fixed. Highly appreciate their excellent service and commitment to customer satisfaction!"
Name: stephen Lewitowski
Rated: 5 Stars
Date: 27 January, 2025
Review: All repairs/problems dealt with quickly and efficiently to satisfactory resolution. Recommend.
Name: Ryan Erin Long
Rated: 5 Stars
Date: 28 January, 2025
Review: Leah has been very helpful and professional. She responded quickly and was thorough. Our landlord is nonresponsive but she followed through until she got the response needed to get our essential repairs done. Very pleased with her.
Name: Simran Kaur
Rated: 1 Stars
Date: 20 January, 2025
Review: I regret hiring this company for renting a studio flat, i moved 10th jan to till. I am facing lots of issues like no storage for my stuff and flat storage already full with unwanted stuff, fridge is not working, they don’t give me any update i called lots of time . Staff is unhelpful if i could give zero star i would.
Do not use this company, not worth the hassle.
Name: Petra Saarelainen
Rated: 5 Stars
Date: 29 November, 2024
Review: Leah was extremely helpful in arranging a fuse board change for us. Great consumer services.
Name: P Nevil
Rated: 5 Stars
Date: 27 November, 2024
Review: I recently had essential repair work carried out in my apartment. Prior to the contractors\' visit, I had been dealing with Leah who kept me updated on when I might expect them. Throughout the process, I found Leah to be unfailingly and consistently helpful, courteous and personable. Thank you Leah !
Name: ALAN AITCHISON
Rated: 5 Stars
Date: 19 November, 2024
Review: Excellent help from Kirsty once again; always able to diligently assist me on whatever information and guidance I require relating to my property.
This can be said for the whole 1-2-Let team, as everybody has been extremely helpful on all aspects of managing my property.
Name: Inga Kakite
Rated: 5 Stars
Date: 5 November, 2024
Review: From first call to view property to last when moving out after 6 years is been excellent service and support.
Agents always helpful to any questions and communication on point, if any issues maintenance organised swiftly. Great support! Defiantly recommend.
Name: Inga Kakite
Rated: 5 Stars
Date: 5 November, 2024
Review: From first call to view property to last when moving out after 6 years is been excellent service and support.
Agents always helpful to any questions and communication on point, if any issues maintenance organised swiftly. Great support! Defiantly recommend.
Example#3: Add stars to Google Searches - Javascript Example
Please copy below code and paste in the <body>...</body> section of your website
<script type='text/javascript' src='https://www.allagents.co.uk/api_dir/v1/google_structured_data/gsd_api_client.js'></script>
<script type='text/javascript'>get_gsd_code('1-2-let','master', 'Your API KEy')</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"brand": {
"@type": "Organization",
"logo": "https://static.allagents.co.uk/pictures/logos/profile/2015041610020604226.jpg",
"image": "https://static.allagents.co.uk/pictures/branch-photo/0054412001497441145.png",
"name": "1-2-Let",
"url": "https://www.1-2-let.co.uk"
},
"aggregateRating": {
"@type": "AggregateRating",
"reviewCount": "270",
"ratingValue": "4.70",
"bestRating": 5
},
"review": {
"@type": "Review",
"url": "https://www.allagents.co.uk/review/364898/",
"author": {
"@type": "Person",
"name": "Stephen"
},
"datePublished": "2019-08-26 16:15:22",
"headline": "",
"reviewBody": "Since moving into my property with 1-2-Let it has been a delight start to finish. \r\n\r\nOn signing my lease Joanna McDonald was very helpful and advised me of everything I needed to know about my property and my new lease agreement. \r\n\r\nWhen I have had to call the office with any repairs Louise was very reliable and everything was fixed immediately , no waiting around! \r\n\r\nWhen calling to pay my rent Paris has been very professional and approachable. \r\n\r\nAndrew came to my property to carry out a Pre Market Inspection as I have ended with 1-2-let , unfortunately I am moving on. Again he was very professional and he listened to all my points about the property and made sure these were passed onto the landlord. \r\n\r\nArmando carried out the viewings at my property, he was early to greet the new prospective tenants. He was also very professional and helpful. \r\n\r\nI was only able to select two members of Staff but ALL the staff have been great during my time at this property.",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5",
"bestRating": 5
},
"publisher": {
"@type": "Organization",
"name": "allAgents",
"sameAs": "https://www.allagents.co.uk"
}
},
"image": [
"https://static.allagents.co.uk/pictures/branch-photo/0054412001497441145.png"
],
"mpn": "https://www.1-2-let.co.uk",
"sku": "https://www.1-2-let.co.uk",
"@type": "Product",
"@id": "https://www.allagents.co.uk/1-2-let/",
"description": "1-2-Let is recognised as one Of Glasgow and Edinburgh's top letting agencies\r\n\r\n1-2-LET are recognised as one of Glasgow and Edinburgh's top letting agencies and property management companies.\r\n\r\n1-2-Let as a Letting Agent have been in operation for 15 years and have extensive experience in letting in Glasgow, Edinburgh and Ayrshire. We are normally first call for many corporate relocation companies and professional tenants looking to rent properties in Glasgow and Edinburgh.\r\n\r\nIf you are a landlord and are looking for a professional letting agent to manage your property, please contact our lettings department on 0141 550 8888. If you are an investor landlord with a few properties to let, please contact our senior portfolio manager for special discounted rates.\r\n\r\nIf you are a tenant and wish to rent a house or flat in Glasgow , Edinburgh, and Central Scotland, please search our website above. There you will find a wide range of properties to let in Glasgow (West End, East End, City Centre, Northside, Southside) Edinburgh, Kilmarnock, Paisley, Ayrshire and Dundee.",
"logo": "https://static.allagents.co.uk/pictures/logos/profile/2015041610020604226.jpg",
"name": "1-2-Let",
"url": "https://www.1-2-let.co.uk",
"sameAs": [
"https://www.allagents.co.uk/1-2-let/"
],
"address": {
"@type": "PostalAddress",
"streetAddress": "104 Bellgrove Street",
"addressLocality": "Glasgow",
"addressRegion": "City of Glasgow",
"postalCode": "G31 1AA"
}
}
</script>
For more details about API and documentation visit allAgents API Documentation
To know more about allAgnets widgets visit allAgents Widgets