---
title: "FMCSA Carrier Data API — Python SDK, TypeScript SDK &amp; CLI | AlphaLoops | What's New | AlphaLoops"
description: "Python and TypeScript SDKs for the AlphaLoops carrier intelligence API. Look up carriers by DOT or MC number, pull fleet data, inspections, crash history, and contacts. Built-in pagination, retries, and rate-limit handling."
lang: en
json-ld: |
  [
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "name": "AlphaLoops",
      "alternateName": [
        "AlphaLoops.com",
        "Run AlphaLoop"
      ],
      "url": "https://runalphaloops.com/"
    },
    {
      "@context": "https://schema.org",
      "@type": "Article",
      "headline": "AlphaLoops Developer SDKs and CLI — Now Available",
      "description": "Python and TypeScript SDKs for the AlphaLoops carrier intelligence API. Look up carriers by DOT or MC number, pull fleet data, inspections, crash history, and contacts. Built-in pagination, retries, and rate-limit handling.",
      "url": "https://runalphaloops.com/whats-new/alphaloops-developer-sdks-and-cli-now-available",
      "datePublished": "2026-03-11 10:00",
      "publisher": {
        "@type": "Organization",
        "name": "AlphaLoops",
        "url": "https://runalphaloops.com"
      }
    }
  ]
---

[![AlphaLoops](/lovable-uploads/AlphaLoops-Logo-2025_Black-Type_White-Background_3280x1024.png)](/)

Products

[

I Intelligence 

Win the deal — technology stack, growth signals & decision-maker contacts on 2.7M carriers.

For GTM teams → ](/product)[

V Verify NEW 

Trust the carrier — embeddable identity & association verification, under your brand.

For risk & ops → ](/verify)

One carrier data layer · 2.7M carriers [Explore the platform →](/product)

[Solutions](/solutions)

Sell into trucking

[Telematics & ELD Telematics, ELD, dashcam & connected fleet sales ](/solutions/telematics)[TMS TMS sales, BD & RevOps ](/solutions/tms)[Fleet Payments Fuel cards, expense cards, AP & driver pay ](/solutions/fleet-payments)[Insurance Commercial auto, MGAs & trucking programs ](/solutions/insurance)[EquipmentNEW Truck & trailer dealers, OEMs & leasing ](/solutions/equipment)[FactoringNEW Freight factoring & working-capital lenders ](/solutions/factoring)[ComplianceNEW DOT compliance, safety & audit ](/solutions/compliance)

Work with carriers

[Broker Risk Fraud intelligence for brokers & 3PLs ](/solutions/broker-risk)[Carrier RecruitingNEW Source & onboard carrier capacity ](/solutions/carrier-recruiting)

Why AlphaLoops

One dataset, every freight buyer.

2.7M carriers profiled,  
refreshed daily 

Whoever you sell to or move freight with, it's the same source of truth — synced to your CRM.

[Book a demo](/contact)[View all solutions → ](/solutions)

[Integrate](/integrations)

[

Salesforce

AppExchange managed package · push to Account, Lead, Contact

](/integrations/salesforce)[

HubSpot

Managed app · push to Company and Contact with associations

](/integrations/hubspot)[

Microsoft Dynamics 365

Power Automate connector · push to Dataverse Account and Contact

](/integrations/dynamics)[

n8n

Verified community node · AI agent workflows

](/integrations/n8n)[

MCP Server

Hosted Model Context Protocol · Claude, Cursor, Windsurf

](/mcp)

[All integrations →](/integrations)

[Pricing](/pricing)[Research](https://research.runalphaloops.com)

[What's new](/whats-new)

[

Carrier Benchmarks NEW 

Carrier safety grades built on actual peers

](/whats-new/carrier-benchmarks-carrier-safety-grades-built-on-actual-peers)

[All updates →](/whats-new)

[Log in](https://alphafreight.runalphaloops.com/login)[Sign up](https://alphafreight.runalphaloops.com/login?mode=signup)[Book a demo](/book-a-demo)

[Home](/)/ [What's New](/whats-new)/ AlphaLoops Developer SDKs and CLI — Now Available 

Data Update March 11, 2026 

# AlphaLoops Developer SDKs and CLI — Now Available

Programmatic access to 2.3M+ carrier profiles, fleet data, inspections, crash history, and contacts. Our new SDKs and CLI wrap the AlphaLoops API so your team can build on top of carrier intelligence without the plumbing.

![AlphaLoops Developer SDKs and CLI — Now Available](https://a.storyblok.com/f/290978107134800/2816x1536/e85b1d6e59/fmcsa-sdks.jpg)

We just shipped three new packages that make working with the AlphaLoops API dramatically easier. Python SDK, TypeScript SDK, and a command-line tool. No more hand-rolling HTTP requests, managing pagination, or parsing raw JSON. Install, authenticate, and start pulling carrier data in under a minute.

* * *

## Why we built this

Our platform already delivers carrier intelligence into Salesforce and HubSpot. But we kept hearing the same request from engineering and data teams: "Can we just hit an API?"

Now you can. The SDKs wrap our REST API with typed methods, automatic pagination, built-in retries, and rate-limit handling so you can focus on what you're building instead of plumbing. Whether you're enriching a data pipeline, building internal tools, or prototyping an integration, you get direct access to carrier profiles, fleet data, inspections, crash history, contacts, and authority records across 2.3M+ carriers.

* * *

## What's included

### Python SDK

`pip install alphaloops-freight-sdk`

Five resource modules covering the full AlphaLoops API surface:

-   **Carriers** — profiles by DOT or MC number, fuzzy company search with confidence scoring, authority history, and news mentions
    
-   **Fleet** — truck and trailer registrations with full pagination
    
-   **Inspections** — roadside inspection history and violation details
    
-   **Crashes** — crash records with date range and severity filters (fatal, injury, tow, property damage)
    
-   **Contacts** — people search by DOT number, company name, or seniority level, plus enrichment for verified emails, phones, and work history
    

Every resource includes `_iter` helpers that handle pagination automatically. Config resolution is layered: pass a key directly, set `ALPHALOOPS_API_KEY`, or drop a `~/.alphaloops` file. Built-in retries, rate-limit handling, and typed exceptions (`AlphaLoopsAuthError`, `AlphaLoopsRateLimitError`, etc.) are included out of the box.

python

```
from alphaloops.freight import AlphaLoops

al = AlphaLoops()  # reads from ~/.alphaloops or ALPHALOOPS_API_KEY

carrier = al.carriers.get("2247505")
print(carrier.legal_name, carrier.total_trucks)

# Fuzzy search with confidence scoring
results = al.carriers.search("Werner Enterprises", state="NE")

# Iterate all inspections without worrying about pagination
for inspection in al.inspections.list_iter("2247505"):
    print(inspection)

# Find decision-makers
contacts = al.contacts.search(dot_number="2247505", job_title_levels="c_suite")
```

### TypeScript SDK

`npm install alphaloops-freight-sdk`

Same API surface, zero dependencies. Works in Node.js, Deno, Bun, or any TypeScript project.

typescript

```
import AlphaLoops from "alphaloops";

const al = new AlphaLoops();

const carrier = await al.carriers.get("2247505");
console.log(carrier.legalName, carrier.totalTrucks);
```

### CLI — `loopsh`

`pip install alphaloops-freight-cli`

A terminal-first interface for carrier lookups, prospecting, and scripting. Rich-formatted tables for humans, `--json` output for machines.

bash

```
# Authenticate once
loopsh login

# Look up a carrier
loopsh carriers 2247505

# Fuzzy search
loopsh carriers search "JB Hunt" --state AR

# Pipe JSON into scripts or agents
DOT=$(loopsh --json carriers search "Swift" | jq -r '.results[0].dot_number')
loopsh fleet trucks "$DOT"
loopsh inspections list "$DOT"
loopsh crashes list "$DOT" --severity FATAL
```

One of our favorite features: the `--python` and `--typescript` flags. Instead of executing the command, they print the equivalent SDK code. Great for prototyping in the terminal and then dropping the code into your project.

bash

```
loopsh --python carriers get 2247505
# Outputs:
# from alphaloops.freight import AlphaLoops
# al = AlphaLoops()
# result = al.carriers.get("2247505")
# print(result)
```

* * *

## Who this is for

**Data and engineering teams** building carrier scoring models, risk pipelines, or custom integrations. Pull fleet size, inspection history, crash severity, and authority changes directly into your stack.

**RevOps and sales engineers** scripting account enrichment or CRM sync workflows. Use the CLI to do quick carrier lookups from the terminal, or automate nightly enrichment runs with the SDK.

**AI and automation builders** using agents or MCP tools. The `--json` flag and structured error handling make AlphaLoops easy to plug into agentic workflows.

* * *

## Get started

1.  [Grab an API key](https://runalphaloops.com) (or reach out if you're an existing customer)
    
2.  Install:
    

bash

```
pip install alphaloops-freight-sdk   # Python
pip install alphaloops-freight-cli   # CLI
npm install alphaloops-freight-sdk   # TypeScript
```

1.  Authenticate and go:
    

bash

```
export ALPHALOOPS_API_KEY="ak_..."
# or
loopsh login
```

Full API reference and docs are available at [runalphaloops.com/docs](https://runalphaloops.com/fmcsa-api/docs).

* * *

**Links:** [Python SDK on PyPI](https://pypi.org/project/alphaloops-freight-sdk/) · [CLI on PyPI](https://pypi.org/project/alphaloops-freight-cli/) · [TypeScript SDK on npm](https://www.npmjs.com/package/alphaloops-freight-sdk)

On this page

-   [Why we built this](#section-0)
-   [What's included](#section-1)
-   [Who this is for](#section-2)
-   [Get started](#section-3)

Release Info

Released March 11, 2026 

Category Data Update 

Share

TwitterLinkedInCopy

Related Updates

[Data Update Introducing Estimated Fleet Value May 19, 2026 ](/whats-new/introducing-estimated-fleet-value)[Data Update Annual Fuel Gallons Estimates Now Available for Every Carrier April 28, 2026 ](/whats-new/annual-fuel-gallons-estimates-now-available-for-every-carrier)[Data Update Intent Signals — Know Which Carriers Are In-Market April 23, 2026 ](/whats-new/intent-signals-know-which-carriers-are-in-market)

[← Previous Introducing Map View: Find and List Carriers by Location ](/whats-new/introducing-map-view-find-and-list-carriers-by-location)[Next → Search Carriers with AI Using the AlphaLoops MCP Server ](/whats-new/alphaloops-now-has-an-mcp-server)

[ALPHA LOOPS ](/)

Carrier intelligence and verification for freight — built on every motor carrier in America.

[hello@runalphaloops.com](mailto:hello@runalphaloops.com)

### Products

-   [Intelligence](/product)
-   [VerifyNEW ](/verify)
-   [Our Data](/our-data)
-   [FMCSA API](/fmcsa-api)
-   [MCP Server](/mcp)
-   [Integrations](/integrations)
-   [Pricing](/pricing)

### [Solutions](/solutions)

-   [Insurance](/solutions/insurance)
-   [Broker Risk](/solutions/broker-risk)
-   [TMS](/solutions/tms)
-   [Fleet Payments](/solutions/fleet-payments)
-   [Telematics](/solutions/telematics)

### Resources

-   [Carrier Flows](/data/carrier-flows)
-   [FMCSA Data Hub](/data)
-   [Carrier Watchlist](/watchlist)
-   [Carrier Technology](/technology)
-   [Research](https://research.runalphaloops.com/)
-   [Guides](/guides)

### Company

-   [Contact](/contact)
-   [What's New](/whats-new)
-   [Support](/support)
-   [Security](/security)
-   [Compare AlphaLoops](/vs)

Tracked telematics, TMS & fuel-card providers

[Samsara](/technology/telematics/samsara)[Motive](/technology/telematics/motive)[Omnitracs](/technology/telematics/omnitracs)[Geotab](/technology/telematics/geotab)[Verizon Connect](/technology/telematics/verizon-connect)[Trimble](/technology/telematics/trimble)[Lytx](/technology/telematics/lytx)[McLeod Software](/technology/tms/mcleod-software)[AscendTMS](/technology/tms/ascendtms)[Oracle TMS](/technology/tms/oracle-transportation-management-otm)[SAP TM](/technology/tms/sap-transportation-management)[WEX Fleet Card](/technology/fuel-card/wex-fleet-card)[Comdata](/technology/fuel-card/comdata-fuel-card)[EFS Fuel Card](/technology/fuel-card/efs-fuel-card)[Pilot Flying J](/technology/fuel-card/pilot-flying-j-fuel-card)

© 2026 AlphaLoops, Inc. · Verify is patent pending.

[Privacy](/privacy)[Chrome Extension Privacy Policy](/chrome-extension-privacy)[Terms](/terms)[Security](/security)[Trust Center](https://trust.runalphaloops.com/)[Status](https://status.runalphaloops.com)