diff --git a/backend/main.py b/backend/main.py
index 3d1329d138ee8e3142058bcde1a28087a3a3ea39..5aeddc91f6d2ca54bcc8bcfcc6e22645b7c129ee 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -1,3 +1,4 @@
+from datetime import timedelta
 from typing import List
 from fastapi import Body, Depends, FastAPI
 from fastapi.middleware.cors import CORSMiddleware
@@ -50,6 +51,11 @@ async def post(record: schemas.RecordBase = Body(...), db: Session = Depends(get
     return crud.create_record(record, db)
 
 
+@app.get('/api/{place}/waiting_time', response_model=timedelta)
+async def waiting_time(place: str, db: Session = Depends(get_db)):
+    return crud.get_waiting_time(place, db)
+
+
 """
 import cv2
 import numpy as np