curl --request POST \
--url https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "WERNER ENTERPRISES"
}
'import requests
url = "https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers"
payload = { "name": "WERNER ENTERPRISES" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'WERNER ENTERPRISES'})
};
fetch('https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers', 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://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'WERNER ENTERPRISES'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers"
payload := strings.NewReader("{\n \"name\": \"WERNER ENTERPRISES\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"WERNER ENTERPRISES\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"WERNER ENTERPRISES\"\n}"
response = http.request(request)
puts response.read_body{
"count": 3,
"observed_at_ms": 1791157477597,
"query": "WERNER ENTERPRISES",
"results": [
{
"city": "MILTON",
"location": "MILTON, ON",
"name": "WERNER ENTERPRISES CANADA CORPORATION",
"snapshot_url": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=1054507",
"state": "ON",
"usdot_number": "1054507"
},
{
"city": "OMAHA",
"location": "OMAHA, NE",
"name": "WERNER ENTERPRISES INC",
"snapshot_url": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=53467",
"state": "NE",
"usdot_number": "53467"
},
{
"city": "GONZALES",
"location": "GONZALES, LA",
"name": "WERNER ENTERPRISES LLC",
"snapshot_url": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=5965315",
"state": "LA",
"usdot_number": "5965315"
}
],
"source_url": "https://safer.fmcsa.dot.gov/keywordx.asp?searchstring=*WERNER+ENTERPRISES*&SEARCHTYPE=",
"truncated": false
}Search carriers
You know (part of) a motor carrier’s name and need its USDOT number before calling get_carrier_snapshot, get_sms_overview or get_sms_safety_records.
curl --request POST \
--url https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "WERNER ENTERPRISES"
}
'import requests
url = "https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers"
payload = { "name": "WERNER ENTERPRISES" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'WERNER ENTERPRISES'})
};
fetch('https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers', 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://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'WERNER ENTERPRISES'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers"
payload := strings.NewReader("{\n \"name\": \"WERNER ENTERPRISES\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"WERNER ENTERPRISES\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"WERNER ENTERPRISES\"\n}"
response = http.request(request)
puts response.read_body{
"count": 3,
"observed_at_ms": 1791157477597,
"query": "WERNER ENTERPRISES",
"results": [
{
"city": "MILTON",
"location": "MILTON, ON",
"name": "WERNER ENTERPRISES CANADA CORPORATION",
"snapshot_url": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=1054507",
"state": "ON",
"usdot_number": "1054507"
},
{
"city": "OMAHA",
"location": "OMAHA, NE",
"name": "WERNER ENTERPRISES INC",
"snapshot_url": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=53467",
"state": "NE",
"usdot_number": "53467"
},
{
"city": "GONZALES",
"location": "GONZALES, LA",
"name": "WERNER ENTERPRISES LLC",
"snapshot_url": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=5965315",
"state": "LA",
"usdot_number": "5965315"
}
],
"source_url": "https://safer.fmcsa.dot.gov/keywordx.asp?searchstring=*WERNER+ENTERPRISES*&SEARCHTYPE=",
"truncated": false
}Request contract
- Method and path: POST /apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers
{
"operationId": "safer-fmcsa-dot-gov.carriers.search-carriers",
"method": "POST",
"path": "/apis/v1/safer-fmcsa-dot-gov/carriers/search-carriers",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"name": "WERNER ENTERPRISES"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"name": {
"description": "Text contained in the carrier's legal or DBA name (case-insensitive; the site adds its own wildcards).",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
SAFER carrier name search (keywordx.asp): every carrier whose legal or DBA name contains the text, with its USDOT number, city/state and Company Snapshot URL. The site returns at most 500 matches and has no paging; truncated is true (and coverage partial) when that cap was hit, so narrow the name. A name that matches nothing is a successful empty result.
The response contains the tool result directly.
The provider identifies results as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
city | string | |
location | string | CITY, ST as listed. |
name | string | The legal or DBA name that matched, as listed. |
snapshot_url | string | |
state | string | |
usdot_number | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.