Documentation menu

Concepts

Units & pricing

How Wayline counts billable units per endpoint, which responses are billed, how free units are consumed and how monthly billing through Paddle works.

Updated Dec 1, 2026 View Markdown

Wayline bills in units. Each endpoint has a unit price in USD, shown on the pricing page both per request and per 1,000.

Units per endpoint

EndpointUnits charged
GET/POST /v1/distance1 per request
GET/POST /v1/route1 per request (any number of waypoints)
POST /v1/distance/batch1 per consecutive pair (points − 1)
POST /v1/matrixorigins × destinations
GET /v1/nearest1 per request
GET /maps/api/distancematrix/jsonorigins × destinations
GET /v1/geocode, GET /v1/reverse-geocode1 per request
POST /v1/reverse-geocode/batch1 per point inside coverage
POST /v1/optimize1 per stop
GET/POST /v1/staticmap1 per image (static_map), cached or fresh
GET /v1/tiles/{z}/{x}/{y}.png1 per tile (map_tile)

Every response includes the X-Units-Charged header and a units_charged field.

What is billed

  • Only HTTP 2xx responses. 4xx and 5xx errors are never billed.
  • Cache hits are billed like fresh results (you still get a correct answer).
  • Matrix cells with NO_ROUTE are part of the requested matrix and count toward its size.
  • Test keys are never billed.

Current prices

Wayline API prices in USD
EndpointBilled unitPer unitPer 1,000
Distancedistance
Road distance and drive time between two points.
request$0.0008$0.80
Routeroute
Turn-by-turn route geometry between waypoints.
request$0.001$1.00
Batch distancedistance_batch
Distances for consecutive point pairs.
pair$0.0008$0.80
Distance matrixmatrix
Origins x destinations distances and times.
element$0.0004$0.40
Snap to roadnearest
Nearest point on the road network.
request$0.0005$0.50
Distance Matrix (Google-compatible)gmaps_compat_matrix
Drop-in Google Distance Matrix API response format.
element$0.0004$0.40
Visit-order optimizationoptimize
Best order to visit a day's stops, with road distance and time.
stop$0.0015$1.50
Geocodinggeocode
Search places and addresses by text.
request$0.0006$0.60
Reverse geocodingreverse_geocode
Address and place name for a coordinate.
request$0.0006$0.60
Static map imagesstatic_map
PNG or WebP map with your route and numbered stops, up to 1280x1280 @2x.
image$0.0005$0.50
Map tilesmap_tile
Raster XYZ map tiles for interactive maps in apps and browsers.
tile$0.0001$0.10

Free units

New accounts receive free units. Free units are consumed before paid usage, across all endpoints, earliest-expiring first.

Billing cycle

Usage is billed monthly in arrears for each calendar month in UTC, through Paddle (merchant of record), which also calculates sales tax/VAT and issues invoices. Account states:

StateMeaning
free_onlyUsing free units, no payment method yet.
billablePayment method on file; usage beyond free units is billed.
past_dueA payment failed; requests still work during a grace period.
suspendedUnpaid balance; requests return 402 PAYMENT_REQUIRED.

You can set a monthly spend limit. When it is reached, requests return 402 SPEND_LIMIT_REACHED.