curl --request GET \
--url https://agent.lanesurf.com/v1/carrier/loads/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://agent.lanesurf.com/v1/carrier/loads/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://agent.lanesurf.com/v1/carrier/loads/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agent.lanesurf.com/v1/carrier/loads/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://agent.lanesurf.com/v1/carrier/loads/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://agent.lanesurf.com/v1/carrier/loads/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.lanesurf.com/v1/carrier/loads/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"loads": [
{
"load_id": "9e8d7c6b-5a49-4382-9172-6f5e4d3c2b1a",
"equipment_type": "Reefer",
"origin": {
"city": "Dallas",
"state": "TX"
},
"destination": {
"city": "Atlanta",
"state": "GA"
},
"pickup_date": "2026-10-23T08:00:00-05:00",
"delivery_date": "2026-10-24T14:00:00-04:00",
"weight_lbs": 38000,
"commodity": "Produce",
"total_miles": 781,
"posted_rate": 2100,
"rate_type": "priced"
}
],
"total": 123
}{
"error": "invalid API key",
"code": "invalid_api_key",
"missing": [
"<string>"
],
"next_step": "<string>",
"current_rate": 123,
"request_id": "req_0192f3a4-7b1c-7d2e-9f00-1a2b3c4d5e6f"
}{
"error": "invalid API key",
"code": "invalid_api_key"
}{
"error": "your carrier account is under review; until Lanesurf verifies it you can manage trucks and lanes and list your bids, but you can't search loads, view loads, get matches or bid",
"code": "verification_required"
}{
"error": "too many requests for this API key; slow down",
"code": "rate_limited"
}{
"error": "invalid API key",
"code": "invalid_api_key",
"missing": [
"<string>"
],
"next_step": "<string>",
"current_rate": 123,
"request_id": "req_0192f3a4-7b1c-7d2e-9f00-1a2b3c4d5e6f"
}{
"error": "a Lanesurf system behind the API failed; try again later",
"code": "upstream_error"
}{
"error": "invalid API key",
"code": "invalid_api_key",
"missing": [
"<string>"
],
"next_step": "<string>",
"current_rate": 123,
"request_id": "req_0192f3a4-7b1c-7d2e-9f00-1a2b3c4d5e6f"
}Search loads
Find loads near a ZIP or city, or by state, equipment and pickup date.
curl --request GET \
--url https://agent.lanesurf.com/v1/carrier/loads/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://agent.lanesurf.com/v1/carrier/loads/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://agent.lanesurf.com/v1/carrier/loads/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agent.lanesurf.com/v1/carrier/loads/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://agent.lanesurf.com/v1/carrier/loads/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://agent.lanesurf.com/v1/carrier/loads/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.lanesurf.com/v1/carrier/loads/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"loads": [
{
"load_id": "9e8d7c6b-5a49-4382-9172-6f5e4d3c2b1a",
"equipment_type": "Reefer",
"origin": {
"city": "Dallas",
"state": "TX"
},
"destination": {
"city": "Atlanta",
"state": "GA"
},
"pickup_date": "2026-10-23T08:00:00-05:00",
"delivery_date": "2026-10-24T14:00:00-04:00",
"weight_lbs": 38000,
"commodity": "Produce",
"total_miles": 781,
"posted_rate": 2100,
"rate_type": "priced"
}
],
"total": 123
}{
"error": "invalid API key",
"code": "invalid_api_key",
"missing": [
"<string>"
],
"next_step": "<string>",
"current_rate": 123,
"request_id": "req_0192f3a4-7b1c-7d2e-9f00-1a2b3c4d5e6f"
}{
"error": "invalid API key",
"code": "invalid_api_key"
}{
"error": "your carrier account is under review; until Lanesurf verifies it you can manage trucks and lanes and list your bids, but you can't search loads, view loads, get matches or bid",
"code": "verification_required"
}{
"error": "too many requests for this API key; slow down",
"code": "rate_limited"
}{
"error": "invalid API key",
"code": "invalid_api_key",
"missing": [
"<string>"
],
"next_step": "<string>",
"current_rate": 123,
"request_id": "req_0192f3a4-7b1c-7d2e-9f00-1a2b3c4d5e6f"
}{
"error": "a Lanesurf system behind the API failed; try again later",
"code": "upstream_error"
}{
"error": "invalid API key",
"code": "invalid_api_key",
"missing": [
"<string>"
],
"next_step": "<string>",
"current_rate": 123,
"request_id": "req_0192f3a4-7b1c-7d2e-9f00-1a2b3c4d5e6f"
}origin_zip (best),
origin_city with origin_state, origin_state, or destination_state; a search with none answers 400.
Near a ZIP or city (origin_zip, or origin_city + origin_state), loads come closest first:
- same ZIP (
match: same_zip), - within 50, 100 and 150 miles (
within_50_miles,within_100_miles,within_150_miles), - anywhere else in the same state (
same_state).
deadhead_miles: straight-line miles from the ZIP or city to the pickup (left out when
the pickup can’t be placed). An unknown origin_zip answers 400 unless origin_state is also given.
By state (origin_state alone): that state’s pickups, newest first.
destination_citymatches the last delivery exactly (any letter case).equipment_typematches when the load’s equipment contains it (e.g.Reefer).pickup_date(YYYY-MM-DD) is one day;pickup_from/pickup_togive a range and win overpickup_date.totalis the number of loads returned.
posted_rate is shown only when the
broker priced the load (rate_type: priced). To go for a load, bid on it with POST /v1/carrier/loads/{load_id}/bids.
Only verified carriers can search (403 verification_required).Authorizations
One key per broker rep or per carrier signup. Keep it secret.
Query Parameters
5-digit ZIP where the truck is. Ranks loads near it.
^[0-9]{5}$"79901"
2-letter state. With origin_city: loads near the city. Alone: that state's pickups.
2"TX"
Where the truck is, with origin_state. Ranks loads near it; a city we can't place matches only that exact city.
"Dallas"
2-letter delivery state.
2"GA"
Last delivery city (exact, any case).
Matches loads whose equipment contains this text.
"Reefer"
One pickup day (YYYY-MM-DD).
Earliest pickup day (YYYY-MM-DD). Wins over pickup_date.
Latest pickup day (YYYY-MM-DD). Wins over pickup_date. Before pickup_from answers 400.
How many loads to return, a whole number from 1 to 100. Defaults to 25. Anything else answers 400.
1 <= x <= 100