Radio Code Calculator Online & SDK for Rust
Radio Code Calculator is an online service along with Web API & SDK for generating car radio unlock codes for popular vehicle brands.
Following a breakdown or a disconnection of the car battery, most of the vehicle radio & navigation units will ask for an unlocking code. It's standard anti-theft protection.
Our car Radio Code Calculator allows you to generate 100% valid radio codes to unlock car radios & navigation without the need to use the expensive service of authorized dealers.

The service is available through a simple online interface and Web API, with multiple SDK development libraries for popular programming languages.
Thanks to our solution, you can create, for instance, mobile or web applications that allow for easy generation of radio codes.
Supported car models and radios
Our service is being continuously developed and new algorithms are gradually added for new car models and their radios.
If a new algorithm is added, you will get automatic and free access to it as part of your current license.
Individual calculators are available on our site as a paid service for end customers. You can verify them and see lists of supported radios on the relevant subpages:
- Renault & Dacia
- Toyota ERC
- Jeep Cherokee
- Ford M Serial
- Ford V Serial
- Ford TravelPilot EX, FX & NX
- Chrysler Panasonic TM9
- Chrysler Dodge Ram VP2
- Fiat Stilo & Bravo Visteon
- Fiat DAIICHI MOPAR
- Fiat Continental 250 & 500 VP1/VP2
- Nissan Glove Box Immobiliser PIN
- Eclipse ESN Unlock Code Calculator
- Jaguar Alpine
Use of radio code calculator
Where and who can use the radio code generation service and make money from code generation?
App developers
The main audience for our software is clearly developers and programmers, either of mobile or desktop applications.
Online stores
If you run an online e-commerce store, you can sell radio codes through it using our software solutions.
Auto repair shops
We also encourage car repair shops whose customers often use car radio unlocking services.
Private individuals
Private individuals will also profit from our solution by generating codes and selling them on car forums or auction sites such as eBay, Craigslist.
No limits!
You can generate codes without limitation with your purchased one-year license.
Set your own price for generating a single code and start earning by using tried and tested algorithms from a programming language you know.
If you are not a programmer - don't worry. Just use our online calculator.
Installation
The preferred way to add the Web API client is with Cargo:
cargo add radio-code-calculator
Or add to your Cargo.toml:
[]
= "1.0.0"
Examples in this repository use Tokio as the async runtime (#[tokio::main]). Add Tokio to your binary crate:
[]
= "1.0.0"
= { = "1", = ["rt-multi-thread", "macros"] }
Run an example:
cargo run --example RadioCodeCalculatorSimple
Integration tests
Live API tests in tests/test_radio_code_calculator.rs require an active Web API license. Set RADIO_CODE_CALCULATOR_API_KEY and run ignored tests:
set RADIO_CODE_CALCULATOR_API_KEY=your-key-here
cargo test -- --ignored
The default cargo test run executes only checks that do not depend on a valid license (for example, invalid key handling).
Packages for other programming languages
The installation packages have been uploaded to repositories for several popular programming languages and their source codes have been published on GitHub:
| Repository | Language | Installation | Package | GitHub |
|---|---|---|---|---|
![]() |
PHP | Add the following line to require section of your composer.json file "pelock/radio-code-calculator": "*" |
Packagist | Sources |
![]() |
Python | Run pip install radio-code-calculator |
PyPi | Sources |
![]() |
JavaScript, TypeScript | Run npm i radio-code-calculator or add the following to dependencies section of your package.json file "dependencies": { "radio-code-calculator": "latest" }, |
NPM | Sources |
![]() |
Rust | Run cargo add radio-code-calculator or add radio-code-calculator = "1.0.0" to [dependencies] in Cargo.toml |
crates.io | Sources |
Usage examples
Radio code generation
This example demonstrates code generation for a selected radio model. All input parameter validation is done on the server side and if the radio serial number has an invalid length or pattern - the service will return an error.
/******************************************************************************
*
* Radio Code Calculator API - WebApi interface usage example
*
* In this example, we will demonstrate how to generate a code for a specific
* type of car radio.
*
* Version : v1.0.0
* Rust : 2021
* Dependencies : radio-code-calculator
* Author : Bartosz Wójcik (support@pelock.com)
* Project : https://www.pelock.com/products/radio-code-calculator
* Homepage : https://www.pelock.com
*
* @link https://www.pelock.com/products/radio-code-calculator
* @copyright Copyright (c) 2021-2026 PELock LLC
* @license Apache-2.0
*
*****************************************************************************/
//
// include Radio Code Calculator API module
//
use ;
async
Radio code generation with additional offline validation
Radio codes are generated based on input parameters such as the radio's serial number, among others.
Radio serial numbers are different for different radios, they have different lengths and different patterns, some may consist of just digits e.g. 1234, while others may consist of digits and letters e.g. AB1234XYZ.
Validation of this data is done on the server side. However, to make things more efficient, we can use the information about available limits and patterns of particular serial numbers to, for example, set these limits in controls in our own applications without unnecessary calls to the Web API.
/******************************************************************************
*
* Radio Code Calculator API - WebApi interface usage example
*
* In this example, we will demonstrate how to generate a code for a specific
* type of car radio. This example shows how to use an extended offline
* validation.
*
* Version : v1.0.0
* Rust : 2021
* Dependencies : radio-code-calculator
* Author : Bartosz Wójcik (support@pelock.com)
* Project : https://www.pelock.com/products/radio-code-calculator
* Homepage : https://www.pelock.com
*
* @link https://www.pelock.com/products/radio-code-calculator
* @copyright Copyright (c) 2021-2026 PELock LLC
* @license Apache-2.0
*
*****************************************************************************/
//
// include Radio Code Calculator API module
//
use ;
async
Download list of supported radio code calculators
If you would like to download information about all supported radio models and their parameters such as serial number length and pattern - you can do so.
/******************************************************************************
*
* Radio Code Calculator API - WebApi interface usage example
*
* In this example we will list all the available calculators and, their
* parameters like name, maximum length of the radio serial number and its
* regex pattern.
*
* Version : v1.0.0
* Rust : 2021
* Dependencies : radio-code-calculator
* Author : Bartosz Wójcik (support@pelock.com)
* Project : https://www.pelock.com/products/radio-code-calculator
* Homepage : https://www.pelock.com
*
* @link https://www.pelock.com/products/radio-code-calculator
* @copyright Copyright (c) 2021-2026 PELock LLC
* @license Apache-2.0
*
*****************************************************************************/
//
// include Radio Code Calculator API module
//
use ;
async
Downloading the parameters of the selected radio calculator
You can download the parameters of the selected calculator.
/******************************************************************************
*
* Radio Code Calculator API - WebApi interface usage example
*
* In this example, we will demonstrate how to get information about the
* specific radio calculator and its parameters (max. length & regex pattern).
*
* Version : v1.0.0
* Rust : 2021
* Dependencies : radio-code-calculator
* Author : Bartosz Wójcik (support@pelock.com)
* Project : https://www.pelock.com/products/radio-code-calculator
* Homepage : https://www.pelock.com
*
* @link https://www.pelock.com/products/radio-code-calculator
* @copyright Copyright (c) 2021-2026 PELock LLC
* @license Apache-2.0
*
*****************************************************************************/
//
// include Radio Code Calculator API module
//
use ;
async
Checking activation key
By checking the activation key status, we will get information about the license owner, license type and license expiration date.
/******************************************************************************
*
* Radio Code Calculator API - WebApi interface usage example
*
* In this example we will verify our activation key status.
*
* Version : v1.0.0
* Rust : 2021
* Dependencies : radio-code-calculator
* Author : Bartosz Wójcik (support@pelock.com)
* Project : https://www.pelock.com/products/radio-code-calculator
* Homepage : https://www.pelock.com
*
* @link https://www.pelock.com/products/radio-code-calculator
* @copyright Copyright (c) 2021-2026 PELock LLC
* @license Apache-2.0
*
*****************************************************************************/
//
// include Radio Code Calculator API module
//
use ;
async
Got questions?
If you are interested in the Radio Code Calculator Web API or have any questions regarding radio code generator SDK packages, technical or legal issues, or if something is not clear, please contact me. I'll be happy to answer all of your questions.
Bartosz Wójcik
- Visit my site at — https://www.pelock.com
- X — https://x.com/PELock
- GitHub — https://github.com/PELock



