> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.fleetwire.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.fleetwire.io/_mcp/server.

# List listings

GET https://api.fleetwire.io/api/v2/listings

Returns every listing for the company.

Reference: https://docs.fleetwire.io/api-reference/listings/get-listings

## Authentication

- `Authorization` header (bearer token, required) — An API token from **Settings → API tokens** in Fleetwire, sent as `Authorization: Bearer …`. Each token carries scopes: `read` for every GET, plus write scopes such as `bookings:write`.

## Servers

- `https://api.fleetwire.io/api` (Production, default)
- `https://staging.fleetwire.io/api` (Sandbox (Partner API))

## Response

### 200

OK

- `listings` (list of V2ListingsGetResponsesContentApplicationJsonSchemaListingsItems, optional)

## Errors

### 401 Unauthorized Error

Missing or invalid token.

- `message` (string, required)

### 429 Too Many Requests Error

Too many requests. Wait for the `Retry-After` header (seconds).

- `message` (string, required)

## Types

### V2ListingsGetResponsesContentApplicationJsonSchemaListingsItems

- `order` (integer, optional)
- `l_id` (string, optional)
- `active` (boolean, optional)
- `paused` (boolean, optional)
- `approved` (boolean, optional)
- `name` (string, optional)
- `item_type` (string, optional)
- `item_label` (string, optional, nullable)
- `title` (string, optional)
- `header` (string, optional, nullable)
- `sub_title` (string, optional)
- `miles_included` (integer, optional)
- `miles_extra` (integer, optional)
- `distance_allowance_max` (integer, optional, nullable)
- `description` (string, optional)
- `padding_before` (integer, optional)
- `padding_after` (integer, optional)
- `slug` (string, optional)
- `timezone` (string, optional)
- `cover_photo` (string, optional)
- `vehicle` (V2ListingsGetResponsesContentApplicationJsonSchemaListingsItemsVehicle, optional)
- `min_age` (integer, optional)
- `seasoned_driver` (boolean, optional)
- `listing_images` (list of V2ListingsGetResponsesContentApplicationJsonSchemaListingsItemsListingImagesItems, optional)
- `longer_weekend_trip_preferred` (boolean, optional)
- `maximum_request_duration` (string, optional, nullable)
- `minimum_request_duration` (integer, optional)
- `archived_at` (string, optional, nullable)
- `use_secondary_driver` (boolean, optional)
- `use_esign_template` (boolean, optional)
- `is_custodian` (boolean, optional)
- `checkout_mode` (string, optional)
- `checkout_url` (string, optional, nullable)
- `payment_collection_mode` (string, optional)
- `base_price_in_cents` (integer, optional)

### V2ListingsGetResponsesContentApplicationJsonSchemaListingsItemsVehicle

- `year` (integer, optional)
- `make` (string, optional)
- `model` (string, optional)
- `trim` (string, optional)
- `color` (string, optional)
- `plate` (string, optional)
- `vin` (string, optional)

### V2ListingsGetResponsesContentApplicationJsonSchemaListingsItemsListingImagesItems

- `url` (string, optional)
- `order` (integer, optional)

## Examples

**Response**

```json
{
  "listings": [
    {
      "order": 1,
      "l_id": "l_EXAMPLE1",
      "active": true,
      "paused": false,
      "approved": true,
      "name": "2022 Toyota RAV4 Hybrid",
      "item_type": "vehicle",
      "item_label": null,
      "title": "Toyota RAV4 Hybrid",
      "header": null,
      "sub_title": "AWD · 5 seats",
      "miles_included": 200,
      "miles_extra": 35,
      "distance_allowance_max": null,
      "description": "Clean, efficient SUV with roof rails and Apple CarPlay.",
      "padding_before": 60,
      "padding_after": 60,
      "slug": "2022-toyota-rav4-hybrid",
      "timezone": "America/Chicago",
      "cover_photo": "https://media.fleetwire.io/example/rav4.jpg",
      "vehicle": {
        "year": 2022,
        "make": "Toyota",
        "model": "RAV4 Hybrid",
        "trim": "XLE",
        "color": "Silver",
        "plate": "EXMPL01",
        "vin": "JTMEXAMPLE0000001"
      },
      "min_age": 25,
      "seasoned_driver": false,
      "listing_images": [
        {
          "url": "https://media.fleetwire.io/example/rav4.jpg",
          "order": 1
        }
      ],
      "longer_weekend_trip_preferred": false,
      "maximum_request_duration": null,
      "minimum_request_duration": 1,
      "archived_at": null,
      "use_secondary_driver": false,
      "use_esign_template": true,
      "is_custodian": false,
      "checkout_mode": "default",
      "checkout_url": null,
      "payment_collection_mode": "full",
      "base_price_in_cents": 6900
    }
  ]
}
```

**SDK Code**

```python Listings
import requests

url = "https://api.fleetwire.io/api/v2/listings"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Listings
const url = 'https://api.fleetwire.io/api/v2/listings';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Listings
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.fleetwire.io/api/v2/listings"

	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(res)
	fmt.Println(string(body))

}
```

```ruby Listings
require 'uri'
require 'net/http'

url = URI("https://api.fleetwire.io/api/v2/listings")

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
```

```java Listings
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.fleetwire.io/api/v2/listings")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Listings
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.fleetwire.io/api/v2/listings', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Listings
using RestSharp;

var client = new RestClient("https://api.fleetwire.io/api/v2/listings");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Listings
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.fleetwire.io/api/v2/listings")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```