# Vehicle Photos API

> Retrieve a collection of high-quality retail images for a specific vehicle based on its VIN.

Vehicle Photos returns the retail listing photos for a vehicle by VIN, as an ordered list of image URLs covering the exterior, the interior and more. Send GET /photos/{vin} with your API key. It is included on the Free plan, then costs $0.0009 per call on Growth and $0.0007 on Scale.

## Endpoint

`GET https://api.auto.dev/photos/{vin}`

- `vin` (path): 17-character Vehicle Identification Number (letters and digits, excluding I, O, and Q). Format: `[A-HJ-NPR-Z0-9]{17}`.

Authenticate with `Authorization: Bearer <key>`, `?apiKey=<key>` or `X-API-Key: <key>`.

```sh
curl "https://api.auto.dev/photos/1FTEW1C52PFA86825" \
  -H "Authorization: Bearer $AUTODEV_API_KEY"
```

## What it returns

- Retail photo URLs
- Exterior angles
- Interior shots
- Listing order

Response:

```json
{
  "data": {
    "retail": [
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-1.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-2.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-3.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-4.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-5.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-6.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-7.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-8.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-9.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-10.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-11.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-12.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-13.jpg",
      "https://api.auto.dev/photos/retail/1FTEW1C52PFA86825-14.jpg",
      ...
    ]
  }
}
```

## Pricing

- Free: included (1,000 calls a month, capped), 5 requests per second
- Growth: $0.0009 per call, 10 requests per second
- Scale: $0.0007 per call, 50 requests per second

## Use it from an AI agent

Hosted MCP server (recommended): https://mcp.auto.dev/mcp, named `auto-dev`. Sign-in is OAuth on first use, so agents never handle an API key.

- Claude Code: `claude mcp add --transport http auto-dev https://mcp.auto.dev/mcp`. Then run /mcp in Claude Code and choose Authenticate for auto-dev.
- Claude Desktop: In Settings, open Connectors, choose Add Custom Connector, name it auto-dev and paste https://mcp.auto.dev/mcp, then sign in
- Cursor (~/.cursor/mcp.json): `{"mcpServers":{"auto-dev":{"url":"https://mcp.auto.dev/mcp"}}}`. Restart Cursor. Sign-in opens on the first tool call.
- VS Code (.vscode/mcp.json): `{"servers":{"auto-dev":{"type":"http","url":"https://mcp.auto.dev/mcp"}}}`. For Copilot agent mode, VS Code 1.99 or later. Sign-in opens on first use.
- Windsurf (~/.codeium/windsurf/mcp_config.json): `{"mcpServers":{"auto-dev":{"serverUrl":"https://mcp.auto.dev/mcp"}}}`. Restart Windsurf. Sign-in opens on the first tool call.
- Grok Bot: send `Add a custom MCP server called auto-dev at https://mcp.auto.dev/mcp`. Confirm, then choose Authorize and sign in. Type @auto-dev in a chat to use it.
- Muse: send `Connect Auto.dev`. Or open Settings, then Connectors, and choose Connect next to Auto.dev. Sign in when asked.
- ChatGPT and dots: At chatgpt.com/plugins, choose + and Add custom MCP server, paste https://mcp.auto.dev/mcp and choose OAuth, then Create as a plugin. Your dot uses the same plugin

Or install the `auto` CLI, the local MCP server (`auto --mcp`) and the JavaScript SDK in one package:

```sh
npm install -g @auto.dev/sdk
auto login
auto mcp install
```

- Agent skill: `npx skills add drivly/auto-dev-skill`

This API is the `auto_photos` MCP tool. From the terminal: `auto photos 1FTEW1C52PFA86825`

## Questions

### What does the Vehicle Photos API return?

Retail photo URLs, exterior angles, interior shots, listing order. Every response is JSON from `https://api.auto.dev/photos/{vin}`.

### How much does the Vehicle Photos API cost?

Vehicle Photos is included on the Free plan, which has 1,000 API calls a month and no card required. On paid plans it costs $0.0009 per call on Growth and $0.0007 per call on Scale, on top of the plan's subscription.

### How do I call the Vehicle Photos API?

Send `GET /photos/{vin}` to `api.auto.dev` with your API key as a Bearer token in the `Authorization` header, or as an `apiKey` query parameter. The path takes `vin`, the 17-character Vehicle Identification Number (letters and digits, excluding I, O, and Q).

### What are the rate limits for Vehicle Photos?

Rate limits follow your plan: 5 requests per second on Free, 10 on Growth and 50 on Scale.

### Can AI agents use the Vehicle Photos API?

Yes. Connect the hosted MCP server, `https://mcp.auto.dev/mcp`, and agents such as Claude Code and Cursor call it as the `auto_photos` tool, signing in with OAuth instead of an API key. Or run it locally: `npm install -g @auto.dev/sdk`, then `auto login` and `auto mcp install`.

## Related APIs

- [Vehicle Listings](https://www.auto.dev/listings.md): Access millions of active vehicle listings with real-time pricing and availability.

## References

- Docs: https://docs.auto.dev/v2/products/vehicle-photos
- OpenAPI: https://www.auto.dev/openapi.json (JSON), https://www.auto.dev/openapi.yaml (YAML)
- llms.txt: https://www.auto.dev/llms.txt
- Pricing: https://www.auto.dev/pricing
- Sign up: https://www.auto.dev/signin?redirectUrl=%2Fonboarding
