Airport Distance API + Webhooks

Send the response straight into Webhooks — connected through Zapier, Make, or n8n, no code required.

WhenWebhooksReceive webhook
trigger
RunAirport Distance APIReturns the response
action
ThenWebhooksSend webhook

The Airport Distance API in Webhooks.

Webhooks enable real-time communication between any systems. Connecting APIs with webhooks creates unlimited integration possibilities. Build custom workflows that respond instantly to events from any source.

Workflows worth wiring.

Receive data from any system and enrich it with API calls before processing
Build custom notification systems that validate and route incoming data
Create middleware that transforms and validates webhook payloads
Chain multiple APIs together for complex data processing pipelines

Ready-made ideas.

Incoming webhook with IATA codes Fetch airport distance → return distanceMiles, distanceKm, estimatedFlightTime, and carbonEstimateKg via webhook

Airport Distance Webhook Service

Build a microservice that calculates flight distances and returns distance, time, and carbon data.

Incoming webhook with booking data Fetch airport distance → forward enriched payload with distances, airport details, and carbon estimate

Travel Booking Enrichment Webhook

Enrich travel booking webhooks with flight distance, airport city names, and carbonEstimateKg.

Connect it in a few steps.

Set up with Zapier
  1. 1
    Set the trigger. Create a Zap with Webhooks as the trigger app and "Receive webhook" as the event. Connect your account.
  2. 2
    Add the API action. Add APIVerve as the action, select the Airport Distance API, and map your trigger data to the request.
  3. 3
    Send it back. Add a second Webhooks action for "Send webhook" and map the returned fields (like distanceMiles) into it.
  4. 4
    Test & turn on. Test the Zap with real data to confirm the mapping, then turn it on.
Set up with Make
  1. 1
    Add the trigger. Create a scenario and add a Webhooks module set to "Receive webhook". Authenticate your account.
  2. 2
    Call the API. Add an HTTP module pointing at api.apiverve.com/v1/airportdistance with your x-api-key header. Pass the trigger's data as the input.
  3. 3
    Parse & map. Add a JSON module to read the response, then a Webhooks module for "Send webhook". Map fields like data.distanceMiles into place.
  4. 4
    Activate. Run once to confirm the mapping, then switch the scenario on and set its schedule.
Set up with n8n
  1. 1
    Add the trigger node. Start a workflow with a Webhooks trigger node for "Receive webhook" and connect your credentials.
  2. 2
    Add an HTTP Request node. Point it at api.apiverve.com/v1/airportdistance using Header Auth (x-api-key). Feed in the trigger data.
  3. 3
    Map with expressions. Add a Webhooks node for "Send webhook" and reference the response with expressions such as {{ $json.data.distanceMiles }}.
  4. 4
    Execute & activate. Execute manually to verify, then activate the workflow for production.

What Webhooks receives.

distanceMiles2470.23
distanceKm3974.2
distanceNauticalMiles2145.12
estimatedFlightTime"5h 24m"
timezoneDiffHours-3
bearing265

Webhooks + Airport Distance API FAQ

What are webhooks and how do they work with APIs?
Webhooks are HTTP callbacks triggered by events. They receive data from one system, which you can then process through APIs before sending to another destination.
How do I validate incoming webhook data?
Use automation platforms to receive webhooks, extract data fields, validate them with external APIs, and route based on validation results.
Can I transform webhook data before sending to APIs?
Yes. Automation platforms provide data transformation steps. Map, filter, and format incoming webhook data before calling external APIs.

Connect the Airport Distance API to Webhooks. One key, no code, live in minutes.

Scaling up?

Volume pricing, custom SLAs, and dedicated support for high-traffic teams.

Contact sales