API Documentation
Integrate KeyCodes.ai into your applications with our RESTful API
Quick Start
Get up and running in 5 minutes
Authentication
Learn about API keys and auth
API Reference
Complete endpoint documentation
Guides
Step-by-step tutorials
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_hereAPI Reference
GET
/v1/keycode/{vin}Retrieve key code information for a vehicle by VIN
POST
/v1/decode/vinDecode VIN and get vehicle information
GET
/v1/lookup/historyGet your lookup history
GET
/v1/account/creditsCheck remaining API credits
SDKs & Libraries
Node.js SDK
Official Node.js library for KeyCodes.ai
Coming SoonPython SDK
Official Python library for KeyCodes.ai
Coming SoonPHP SDK
Official PHP library for KeyCodes.ai
Coming Soon