Navigation
Home Features Pricing Sign In Get API Key
Getting Started
Introduction API Playground Authentication Base URL
Endpoints
Get Logo (JSON) Get Logo (Image)
Reference
Image Formats Color Variants Error Handling Rate Limits

API Documentation

Everything you need to integrate car manufacturer logos using TecDoc IDs.

Introduction

The TecDoc Logos API provides instant access to car manufacturer logos using TecDoc manufacturer IDs (mfrId). Get JSON metadata with all logo URLs, or fetch images directly.

Quick Start
Get a Volkswagen logo: GET mfrlogo.com/121.svg

API Playground

Test the API directly in your browser. Enter your API key and manufacturer ID to see live results.

Try it live
GET https://mfrlogo.com/121?token=your_api_key
Response
Enter your API key and click "Send Request" to test the API

Authentication

All API requests require authentication. You can authenticate using either method:

Server-Side: Bearer Token (Recommended)

Pass your API key in the Authorization header. This keeps your token secure and out of URLs.

HTTP Header
Authorization: Bearer your_api_key

Client-Side: URL Parameter

For browser/frontend usage where you can't set headers (like <img> tags), pass your token as a query parameter.

URL Parameter
GET mfrlogo.com/121.svg?token=your_api_key
Security Note
URL tokens are visible in browser history and logs. Use a restricted API key for client-side usage, or proxy requests through your server.

Base URL

All API requests should be made to:

Base URL
https://mfrlogo.com

Get Logo (JSON)

Returns metadata and URLs for all available logo formats.

GET /{mfrId}
# With Bearer token
GET https://mfrlogo.com/121
Authorization: Bearer your_api_key

# With URL parameter
GET https://mfrlogo.com/121?token=your_api_key

Response

200 OK
{
  "mfrId": 121,
  "name": "Volkswagen",
  "formats": ["svg", "png"],
  "variants": ["black", "white"],
  "logos": {
    "svg": "https://mfrlogo.com/121.svg",
    "png_64": "https://mfrlogo.com/121_64.png",
    "png_128": "https://mfrlogo.com/121_128.png",
    "png_256": "https://mfrlogo.com/121_256.png"
  }
}

Note: formats shows available file types (svg, png). variants shows available color versions (black, white) for SVG logos only.

Get Logo (Direct Image)

Returns the image file directly. Perfect for <img> tags and direct embedding.

GET /{mfrId}.{format}
# SVG (recommended for scaling)
GET https://mfrlogo.com/121.svg?token=your_api_key

# PNG - default 128px
GET https://mfrlogo.com/121.png?token=your_api_key

# PNG - specific sizes
GET https://mfrlogo.com/121_64.png?token=your_api_key
GET https://mfrlogo.com/121_256.png?token=your_api_key

HTML Example

HTML
<!-- Using direct image URL -->
<img
  src="https://mfrlogo.com/121.svg?token=your_api_key"
  alt="Volkswagen"
  width="64"
/>

Image Formats

Format Path Best For
SVG /{mfrId}.svg Scalable graphics, any size
PNG 64px /{mfrId}_64.png Small icons, lists
PNG 128px /{mfrId}.png Default size, general use
PNG 256px /{mfrId}_256.png Large displays, hero images

Color Variants

Some logos have monochrome variants for use on light or dark backgrounds. Check the variants field in the JSON response to see what's available.

Variant Path Best For
Black /{mfrId}.svg?variant=black Light backgrounds
White /{mfrId}.svg?variant=white Dark backgrounds
Note
Color variants are only available for SVG logos. If a variant isn't available, the original logo is returned.

Error Handling

The API returns standard HTTP status codes:

Code Description
200 Success
401 Missing or invalid API key
404 Manufacturer ID not found
429 Rate limit exceeded
500 Server error

Error Response

401 Unauthorized
{
  "error": "Invalid API key"
}

Rate Limits

No usage limits on logo delivery! You're billed automatically based on actual usage with Stripe's metered billing.

✓ Pay-as-you-go billing
Usage is automatically tracked and billed monthly through Stripe's graduated pricing. No manual tier upgrades needed.

There's only one rate limit for abuse protection:

Limit Type Rate Purpose
Abuse Protection 10,000 req/min DDoS prevention only

How billing works:

Contact support if you need higher limits for legitimate high-traffic use cases.