Your ads on Trovit Pakistan

Cars feed

If you own a Classified Ads website with public advertisements, include your ads in Trovit! Follow these simple steps:

  1. Prepare a UTF-8 XML feed in the format specified for our Cars vertical (see below)
  2. Send the URL link where we can read your XML feed to Contact Trovit (Example:

Please keep in mind that we only accept feeds containing vehicle listings. We do not include bikes, motorcycles, scooters, boats, car parts, etc… at least not yet!

Upon receiving your feed, we will index your ads in Trovit as soon as possible.

If you have questions or concerns, please don’t hesitate to contact us!

XML feed format

Here are some simple guidelines for preparing an XML feed so that we can include your ads in Trovit. If you would like additional information about the XML format, check out Wikipedia.

The feed should be written in UTF-8.

The UTF-8 XML file has one ‘trovit’ tag, and one or more ‘ad’ elements. Each ‘ad’ element has basic and optional fields:


Basic fields have to be included in the feed as they contain the minimum amount of information necessary for our system to include your ads in Trovit.

  • id: id of the ad on your website (numeric or alphanumeric, however it must be unique because we use it to avoid duplicate entries)
  • url: URL of the ad on your website
  • title: title of the ad (a concise summary of the listing which does not contain your website’s name or URL).
  • content: description of the car (minimum of 30 characters) Please note that the quality of the description has a strong effect on the amount of visitors you will receive!


You don’t have to fill out the optional fields. However, if you do have the information, don’t hesitate to include it. Trovit’s algorithm prioritises higher-quality ads, so including more information optimises your positioning!

  • mobile_url: URL of the ad on your site when a user is browsing on a mobile device. Useful when your website has a mobile version.
  • price: price of the auto (integer value) Please don’t include any symbols such as $ or Rs. The price is specified in “PKR” by default. If the price is specified in a currency other than PKR, a currency tag should be included. This tag enables Trovit to convert the price to PKR. Each currency value will be determined by the standard ISO-4217.
    <price currency="EUR"><![CDATA[...]]></price>

    In this example, the price is specified in Euros. Trovit will convert this to PKR.

  • make: make of the car
  • model: model of the car
  • color: colour of the car
  • year: year of the car, format YYYY
  • city: city name
  • city_area: city area or neighbourhood
  • postcode: postcode
  • region: State
  • mileage: kilometres (integer value); select the appropriate syntax:
    <area unit="kilometers"><![CDATA[...]]></mileage>
  • doors: number of doors (between 2 and 5)
  • fuel: fuel type (i.e. petrol, diesel, etc)
  • transmission: transmission of the car (manual/automatic)
  • engine_size: engine size of the car (integer value) in c.c. (include only the number, do not include the unit)
  • power: power of the car (integer value); select the appropriate syntax:
    <power unit="kw"><![CDATA[...]]></power>
    <power unit="cv"><![CDATA[...]]></power>
    <power unit="ch"><![CDATA[...]]></power>
    <power unit="km"><![CDATA[...]]></power>
    <power unit="hp"><![CDATA[...]]></power>
    <power unit="ps"><![CDATA[...]]></power>
    <power unit="pk"><![CDATA[...]]></power>
    <power unit="cp"><![CDATA[...]]></power>
  • seats: number of seats in the car
  • gears: number of gears
  • fuel_consumption: Car’s combined fuel consumption. If no unit measure is specified, l/100km will be used as the default unit. You can specify the unit measure used with the ‘unit’ attribute:
    <fuel_consumption unit="km/l"><![CDATA[...]]></fuel_consumption>

    Accepted unit measures: “l/100km”, “km/l”, “mpg”, “gal/mi”.

  • co2_emissions: Car’s CO2 emissions. If no unit measure is specified, g/km will be used as the default unit. You can specify the unit measure used with the “unit” attribute:
    <co2_emissions unit="g/mi"><![CDATA[...]]></co2_emissions>

    Accepted unit measures: “g/km”, “g/mi”.

  • eco_score: Free-text information about the car’s eco score.
  • pictures: The ‘pictures’ element may contain a set of ‘picture’ tags, each of which contains the following elements:
    • pictures: This tag includes the various images of the vehicle.
      The field that defines an image in particular is <picture>:

      • picture: This tag includes the fields to specify the URL and the title of the image (the latter being optional). You can specify if the image should be the featured image using the attribute ‘featured’.
                <picture featured="true"><![CDATA[...]]></picture>

        The available values for “featured” are: “true” o “false”.

        The fields to be defined within the element <picture> are:

        • picture_url: The image URL.
        • picture_title: Image title.
          <picture featured="true">
    • picture_title: Title of the picture
    • picture_url: URL link to the picture on your website
  • <pictures>

    The picture shown on Trovit is the first picture of the set of pictures included in the feed. Please select this picture carefully as it has a strong influence on the click through behaviour of our users.

    Trovit doesn’t allow corporate images with information such as “No image available”.
    If Trovit detects these kind of pictures, it has the right to stop the inclusion of your ads.

    Once inserted for the first time, our system doesn’t modify or upload new pictures.
    Please make sure that you include the correct picture(s) once you include the ad in the feed for the first time. Images must be at least 186x186px and have a maximum size of 1MB.

  • is_new: whether or not the car is new (format: 0 = No, 1= Yes)
  • car_type: body type of the vehicle (4×4, sedan, Coupé, Estate, Hatchback, Pickup, Convertible, Standard, MPV, Cabrio or Prestige)
  • warranty: whether or not the car is still under warranty (format: 0= No, 1= Yes)
  • date: date and time the ad was published. Valid formats: DD/MM/YYYY or DD/MM/YYYY HH:MM:SS and YYYY/MM/DD or YYYY/MM/DD HH:MM:SS.
  • expiration_date: date the ad will expire on. Valid formats: DD/MM/YYYY or DD/MM/YYYY HH:MM:SS and YYYY/MM/DD or YYYY/MM/DD HH:MM:SS.

The XML feed should look like this:

<?xml version="1.0" encoding="utf-8"?>







    <mileage unit="kilometers"><![CDATA[...]]></mileage>









Example XML feed

<?xml version="1.0" encoding="utf-8"?>
<title><![CDATA[2007 Honda Civic]]></title>
<content><![CDATA[Front passenger airbag,central door locking,front and rear electric windows,radio.]]></content>
<color><![CDATA[Metallic Grey]]></color>
<city_area><![CDATA[BTM Layout]]></city_area>
<power unit = hp><![CDATA[75]]></power>
<date><![CDATA[31/03/2010 18:30]]></date>
<warranty><![CDATA[until 2011]]></warranty>


Technical Specifications

For more information, click here: see technical specifications.

Privacy policy · Legal Notice · Terms and conditions · Cookie policy