🚗 Persian Message Extractor API

API for extracting car information (name, color, year, price, phone) from Persian text messages

POST /api/Extract

Extract car information from a Persian text message

Request Body:
{"message": "لاماری کله غازی 1402 برج 7 گارانتی فعال ب رویت صفر کارکرد 45/000 کارشناسی بدون توضیح سند آماده 09122515000"}
GET /api/Extract/health

Health check endpoint

GET /openapi/v1.json

OpenAPI specification (JSON)

Response Format

{
  "data": {
    "carName": "لاماری",
    "color": "کله غازی",
    "year": 1402,
    "yearType": "Shamsi",
    "price": null,
    "priceCurrency": null,
    "phoneNumber": "09122515000"
  },
  "summary": {
    "detectedFieldsCount": 3,
    "detectedFields": ["CarName", "Year", "PhoneNumber"],
    "missingFields": ["Color", "Price"],
    "successRate": 60.0
  },
  "originalMessage": "..."
}