Vehicle RC Text and PDF Code Examples
VerificationReady-to-run Vehicle RC Text and PDF calls. Replace YOUR_API_KEY with the key from your dashboard.
Vehicle RC Text and PDF — Code Samples
cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/rc/text-pdf \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rc_number":"DL3CAB1234"}'
Expected Response — 200
{
"status": "SUCCESS",
"status_code": 200,
"charged": true,
"success": true,
"message": "",
"message_code": "OK",
"order_id": "W2A1739512345abcdef01",
"data": {
"order_id": "W2A1739512345abcdef01",
"result": {
"rc_number": "OD05AB1234",
"registration_date": "2024-03-20",
"rc_status": "ACTIVE",
"less_info": false,
"latest_by": "2026-08-11",
"owner_name": "SNEHA MOHANTY",
"father_name": "",
"owner_number": "1",
"masked_name": false,
"mobile_number": "",
"present_address": "Jagatsinghapur, 754119",
"permanent_address": "Jagatsinghapur, 754119",
"vehicle_category": "2WN",
"vehicle_category_description": "M-Cycle/Scooter(2WN)",
"vehicle_chasi_number": "ME1AB1234C5678901",
"vehicle_engine_number": "G3AB1C234567",
"maker_description": "INDIA YAMAHA MOTOR PVT LTD",
"maker_model": "YAMAHA FZS VERSION 4.0",
"variant": null,
"body_type": "SOLO WITH PILLION",
"fuel_type": "PETROL(E20)",
"color": "DEEP PURPLISH BLUE",
"norms_type": "BHARAT STAGE VI",
"manufacturing_date": "1/2024",
"manufacturing_date_formatted": "2024-01",
"cubic_capacity": "149.00",
"no_cylinders": "1",
"seat_capacity": "2",
"sleeper_capacity": "0",
"standing_capacity": "0",
"wheelbase": "1330",
"unladen_weight": "135",
"vehicle_gross_weight": "285",
"registered_at": "CUTTACK RTO, Odisha",
"rto_code": "",
"fit_up_to": "2039-03-19",
"tax_upto": "2039-03-19",
"tax_paid_upto": "2039-03-19",
"financed": true,
"financer": "EXAMPLE CAPITAL LTD",
"insurance_company": "Example General Insurance Co. Ltd.",
"insurance_policy_number": "3410/12345678/000/00",
"insurance_upto": "2029-03-18",
"pucc_number": "OR12345678901234",
"pucc_upto": "2026-11-02",
"permit_number": "",
"permit_type": "",
"permit_issue_date": null,
"permit_valid_from": null,
"permit_valid_upto": null,
"national_permit_number": "",
"national_permit_upto": null,
"national_permit_issued_by": null,
"non_use_status": null,
"non_use_from": null,
"non_use_to": null,
"blacklist_status": "",
"noc_details": "",
"challan_details": null,
"response_metadata": {
"masked_chassis": false,
"masked_engine": false,
"masked_owner_name": false
},
"pdf_url": "https://docs.example-renderer.com/upload/rc2_1786426531_70e7ff519ee00a12.pdf"
}
}
}