How Far Are You

Calculate optimal coffee shop order preparation timing based on real-time customer distance. Reduce wait complaints by 80%.

1 subscribers
8.2/10 popularity
563 ms avg latency
100% success rate
17 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

How Far Are You endpoints

MethodEndpointDescription
authentication
POST renew_token_api_v1_auth_tokens_renew_post
/api/v1/auth/tokens/renew
Renew an existing API key token before expiration. Issues a new API key with fresh 24-hour expiration using the same scope as the current valid token. The old token remains valid…
POST create_token_api_v1_auth_tokens_post
/api/v1/auth/tokens
Issue a new API key token. Validates client credentials and issues a new API key with 24-hour expiration. **Validates: Requirements 6.3, 6.6** Args: token_request: Client…
orders
GET get_order_api_v1_orders__order_id__get
/api/v1/orders/{order_id}
Retrieve order status and details. Customers can only access their own orders.
PATCH update_order_status_endpoint_api_v1_orders__order_id__status_patch
/api/v1/orders/{order_id}/status
Update order status with state validation. Valid transitions: pending→preparing, preparing→ready, ready→picked-up. Queues webhook notification for status change.
DELETE cancel_order_endpoint_api_v1_orders__order_id__delete
/api/v1/orders/{order_id}
Cancel order before it's ready. Only pending or preparing orders can be cancelled.
PATCH update_order_distance_api_v1_orders__order_id__distance_patch
/api/v1/orders/{order_id}/distance
Update distance estimate for pending orders. Cannot update after preparation has started.
POST create_new_order_api_v1_orders_post
/api/v1/orders
Create a new order with optional distance estimate. Calculates preparation window if distance is provided.
configuration
PUT update_shop_config_api_v1_coffee_shops__shop_id__config_put
/api/v1/coffee-shops/{shop_id}/config
Update coffee shop configuration. All fields are required. Updates apply to future orders only. Requires coffee shop owner or admin access.
GET get_shop_config_api_v1_coffee_shops__shop_id__config_get
/api/v1/coffee-shops/{shop_id}/config
Retrieve coffee shop configuration including preparation times, operational hours, and settings. Requires coffee shop owner or admin access.
Monitoring
GET get_performance_summary_api_v1_monitoring_performance_get
/api/v1/monitoring/performance
Get performance summary across all endpoints. Args: minutes: Time window in minutes user: Authenticated admin user Returns: Dictionary with endpoint performance summaries
GET get_endpoint_metrics_api_v1_monitoring_endpoint__method___path__get
/api/v1/monitoring/endpoint/{method}/{path}
Get metrics for a specific endpoint. Args: method: HTTP method (GET, POST, etc.) path: Endpoint path minutes: Time window in minutes user: Authenticated admin user Returns: List…
GET get_metrics_api_v1_monitoring_metrics_get
/api/v1/monitoring/metrics
Get aggregated metrics over specified time window. Implements Requirement 10.5: Provides metrics aggregated over 1-minute, 1-hour (60 minutes), and 24-hour (1440 minutes) windows…
GET check_performance_target_api_v1_monitoring_performance_check_get
/api/v1/monitoring/performance-check
Check if endpoint is meeting performance targets. Args: endpoint: API endpoint to check method: HTTP method target_ms: Target response time in milliseconds minutes: Time window…
GET get_order_volumes_api_v1_monitoring_order_volumes_get
/api/v1/monitoring/order-volumes
Get order volumes per hour. Args: hours: Number of hours to retrieve (default: 24) user: Authenticated user Returns: List of dictionaries with hour timestamp and order count
GET check_alerts_api_v1_monitoring_alerts_get
/api/v1/monitoring/alerts
Check for active alert conditions. Implements Requirement 10.6: Checks for: - HTTP 5xx error rate > 5% in 5-minute window - Average response time > 2000ms for 5 consecutive…
api
GET health_check_api_health_get
/api/health
Health check endpoint for monitoring systems. Checks database, Redis cache, and message queue availability. Returns within 1 second per requirements. **Validates: Requirements…
Other endpoints
GET root__get
/
Root endpoint providing API information.

How Far Are You pricing

PlanPriceRate limitQuotas
BASIC Free
  • Requests: 100 / monthly
PRO Recommended $49 / month 100 / minute
  • Requests: 5,000 / monthly (then $0.0100 each)
ULTRA $149 / month
  • Requests: 50,000 / monthly (then $0.0050 each)
MEGA $499 / month 17 / minute
  • Requests: 200,000 / monthly (then $0.0030 each)

More Food APIs

View all →
  • The spoonacular Nutrition, Recipe, and Food API allows you to access over 365,000 recipes and 86,000 food…

    FoodFreemium792 subscribers
  • API to query data about recipe, plan, ingredients, etc... as on official site

    FoodFreemium17.8k subscribers
  • The Woolworths Products API allows you to search for products by name or barcode, returning detailed…

    FoodFreemium586 subscribers
  • The Nutrition Analysis API and Database uses Natural Language Processing and semantically structured data.

    FoodFree3.3k subscribers
  • yolorecai is a tasty recipe-generation API that turns prompts or ingredients into complete meal ideas,…

    FoodFreemium102 subscribers
  • Dataset of over 450 Ketogenic diet recipes in over 10 categories from Breakfast to Dinner. Check out…

    FoodFreemium636 subscribers