R0C4C8U12R16R20C24C28C32R36R40C44

API Documentation

Integrate KeyCodes.ai into your applications with our RESTful API

Quick Start

Make your first API request in minutes. Here's how to look up a key code:

curl -X GET "https://api.keycodes.ai/v1/keycode/1HGCM82633A123456" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Replace YOUR_API_KEY with your actual API key.

Authentication

API Key Authentication

All API requests must include your API key in the Authorization header. You can find your API key in the dashboard under Settings → API Keys.

Authorization: Bearer sk_live_your_api_key_here

API Reference

GET/v1/keycode/{vin}

Retrieve key code information for a vehicle by VIN

POST/v1/decode/vin

Decode VIN and get vehicle information

GET/v1/lookup/history

Get your lookup history

GET/v1/account/credits

Check remaining API credits

SDKs & Libraries

Node.js SDK

Official Node.js library for KeyCodes.ai

Coming Soon

Python SDK

Official Python library for KeyCodes.ai

Coming Soon

PHP SDK

Official PHP library for KeyCodes.ai

Coming Soon

Need Help?

Our developer support team is here to help you integrate.

api-support@keycodes.ai