---
title: "Ocean Lane Locations"
method: GET
path: "/Ocean/lane_locations"
tags: ["Ocean"]
---

# Ocean Lane Locations

`GET /Ocean/lane_locations`

This endpoint allows permissioned users to discover which origin and destination combinations form valid ocean lanes with available data.

For more information about getting access to this endpoint or using this endpoint, please reach out to our Customer Success team (cs@gosonar.com).

Provide an \`origin\` to receive the destinations that pair with it in a lane. Provide a \`destination\` to receive the origins that pair with it. Omit both to receive all valid origin and destination codes.

Returns an object with two arrays:

*   origins: the set of origin locations matching the filter
*   destinations: the set of destination locations matching the filter

Each location in either array contains the same fields as the \`/ocean/locations\` endpoint (code, port, port\_name, country, type).

## Query parameters

- `origin` string
- `destination` string

## Headers

- `x-api-version` string

## Response `200`

OK

- OceanLaneLocationsResponse
  - `origins` OceanBookingLocation[]
    - `code` string
    - `port` string
    - `port_name` string
    - `country` string
    - `type` string
  - `destinations` OceanBookingLocation[]
    - `code` string
    - `port` string
    - `port_name` string
    - `country` string
    - `type` string

---

[API](https://skmtc.net/freightwaves/apis/sonar-api.md) · [All operations](https://skmtc.net/freightwaves/apis/sonar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freightwaves/sonar-api/revisions/3a995f316cda/schema)
