Onfleet Last-Mile Delivery API

Onfleet REST API for last-mile delivery management and route optimization platform. Enables AI agents to create and assign delivery tasks, optimize routes, track drivers in real-time, capture proof of delivery, send customer notifications, and integrate delivery operations into e-commerce and logistics workflows. Onfleet is used by grocery, pharmacy, food delivery, and logistics companies.

Evaluated Mar 07, 2026 (0d ago) vcurrent
Homepage ↗ Developer Tools onfleet last-mile-delivery route-optimization delivery-management dispatch driver-tracking proof-of-delivery
⚙ Agent Friendliness
66
/ 100
Can an agent use this?
🔒 Security
69
/ 100
Is it safe for agents?
⚡ Reliability
74
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
25
Documentation
80
Error Messages
75
Auth Simplicity
85
Rate Limits
78

🔒 Security

TLS Enforcement
92
Auth Strength
65
Scope Granularity
52
Dep. Hygiene
68
Secret Handling
68

GPS tracking and delivery address data. SOC2. API key Basic auth. US-only. Driver location disclosure required.

⚡ Reliability

Uptime/SLA
78
Version Stability
75
Breaking Changes
72
Error Recovery
72
AF Security Reliability

Best When

An e-commerce, grocery, pharmacy, or food service company wants AI agents to automate last-mile delivery dispatch, route optimization, and customer communication.

Avoid When

PRIVACY: Driver location tracking and customer delivery addresses are personal data. Real-time GPS data requires appropriate disclosure to drivers.

Use Cases

  • Creating and assigning delivery tasks from order fulfillment agents
  • Optimizing delivery routes from logistics planning agents
  • Tracking driver location and ETA from customer notification agents
  • Capturing proof of delivery and syncing with order management agents

Not For

  • Long-haul freight management without last-mile focus
  • Ride-sharing passenger transport
  • Field service without delivery workflow requirements

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
No
Webhooks
Yes

Authentication

Methods: api_key
OAuth: No Scopes: No

Onfleet uses API key in Basic auth (key as username, empty password). Keys are organization-scoped. Simple authentication model for server-side integrations.

Pricing

Model: paid
Free tier: No
Requires CC: No

Task-based pricing model. US company. API access included on all plans. Developer-friendly documentation.

Agent Metadata

Pagination
cursor
Idempotent
Partial
Retry Guidance
Documented

Known Gotchas

  • PRIVACY: Driver GPS location and customer delivery addresses require disclosure
  • No public MCP server — REST API with Basic auth (API key as username)
  • Rate limit of 20 req/sec — batch task creation for bulk orders
  • Route optimization is async — request route then poll for completion
  • Webhook signature validation recommended for production deployments
  • US-only data residency

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Onfleet Last-Mile Delivery API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

6470
Packages Evaluated
26150
Need Evaluation
173
Need Re-evaluation
Community Powered