Download the PHP package northbees/autotrader-api without Composer

On this page you can find all versions of the php package northbees/autotrader-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package autotrader-api

NorthBees Autotrader API

Latest Version on Packagist Tests

A Laravel SDK for the Autotrader API - vehicles, valuations, stock management, finance, deals, and more.

Requirements

Installation

The package uses Laravel's auto-discovery, so the service provider will be registered automatically.

Publish the configuration file:

Configuration

Add the following to your .env file:

See .env.example for all available options.

Authentication is handled automatically when any API call is made. The token will be cached.

To use different credentials or a different environment for a single client — for example one Autotrader account per tenant — call withCredentials() and/or withEnvironment(). Both return a copy, leaving the original client on config. Tokens are cached per endpoint and API key.

Usage

The package is a lightweight wrapper around the Autotrader API.

Vehicle Request

Search Request

Search API response notes:

Valuation Request

Future and Historic Valuation Requests

Future and Historic Valuation API response notes:

Taxonomy Requests

Taxonomy API response notes:

Image Upload

Vehicle Metrics

Finance Requests

Finance API changes (Jun 2026):

Finance API field removals (Mar 2026):

Finance API field removals (Oct/Nov 2025):

Stock Requests

Stock API response notes:

Deals Requests

Deals API response notes:

Deal Notifications:

Messages Requests

Delivery Requests

Integrations Requests

Integrations API notes:

Advertisers Requests

Advertisers API response notes:

Valuation API Response Notes

Vehicle API Response Notes

From 2.0.0 getVehicle() returns the response exactly as the API sends it, with nothing added, removed or reshaped. Read record data from results.0:

1.x flattened this response onto the root and added serviceWarnings / recordWarnings keys. See UPGRADING.md to migrate.

Odometer readings. valuations and vehicleMetrics are derived from mileage, so requesting either without $odometerReadingMiles throws AutotraderMissingOdometerException. Every other option works without one.

Testing

Code Style

This package uses Laravel Pint for code style:

Static Analysis

PHPStan with Larastan is used for static analysis:

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

The MIT License (MIT). Please see License File for more information.


All versions of autotrader-api with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/support Version ^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package northbees/autotrader-api contains the following files

Loading the files please wait ...