Integrate OBC services directly into your systems. RESTful API with real-time tracking and automated documentation.
Create and manage OBC shipments programmatically
Real-time GPS tracking and status updates
Auto-generate IATA compliant documentation
Access verified courier network and availability
All API requests require authentication using an API key. Include your key in the Authorization header.
curl -X GET "https://api.onflygo.com/v1/shipments" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Base URL: https://api.onflygo.com
/v1/shipments{
"origin": {
"airport": "FRA",
"address": "Frankfurt, Germany"
},
"destination": {
"airport": "JFK",
"address": "New York, USA"
},
"package": {
"weight_kg": 5,
"dimensions": "30x20x15",
"description": "AOG spare parts"
},
"urgency": "same_day",
"pickup_time": "2025-01-15T10:00:00Z"
}/v1/shipments/{id}/tracking{
"shipment_id": "SHP-2025-001234",
"status": "in_transit",
"current_location": {
"lat": 50.0379,
"lng": 8.5622,
"airport": "FRA",
"updated_at": "2025-01-15T14:30:00Z"
},
"eta": "2025-01-15T22:00:00Z",
"events": [
{
"type": "picked_up",
"timestamp": "2025-01-15T10:15:00Z",
"location": "Frankfurt, Germany"
},
{
"type": "security_cleared",
"timestamp": "2025-01-15T12:00:00Z",
"location": "FRA Airport"
}
]
}/v1/couriers/available{
"couriers": [
{
"id": "COU-001",
"name": "John D.",
"rating": 4.9,
"completed_trips": 234,
"available_from": "2025-01-15T08:00:00Z",
"airports": ["FRA", "MUC", "JFK", "LAX"]
}
],
"total": 12
}/v1/documents/generate{
"shipment_id": "SHP-2025-001234",
"documents": [
{
"type": "awb",
"url": "https://api.onflygo.com/docs/awb-001234.pdf"
},
{
"type": "customs_declaration",
"url": "https://api.onflygo.com/docs/customs-001234.pdf"
},
{
"type": "chain_of_custody",
"url": "https://api.onflygo.com/docs/coc-001234.pdf"
}
]
}Receive real-time notifications when shipment status changes.
shipment.createdshipment.courier_assignedshipment.picked_upshipment.in_transitshipment.customs_clearedshipment.deliveredAPI requests are rate limited based on your plan.
Official client libraries for popular languages.
Contact us to get your API credentials and start building.