Skip to Content

Riyapatuna Data Parser & API

Riyapatuna is a small Sri Lankan aggregator-style vehicle-classifieds site listing used and new car ads — and Carapis can extract its listing data, including price, mileage and seller info, through one REST API. A minor player in the Sri Lankan long tail behind ikman.lk and Riyasewana, Riyapatuna adds incremental supply coverage, and Carapis can serve the data without you building a scraper.

On request — not in the live feed today. We do not continuously crawl Riyapatuna right now. Activation takes 2–3 weeks of engineering and is quoted per source, because each one ships with dedicated proxies, anti-bot tuning and ongoing maintenance. Ask us to add it.

CountrySri Lanka
TypeClassifieds
OwnerRiyapatuna
Vehicle typesused, new
Monthly visitssmall
Active listingsaggregator-style vehicle ads
API accessNo public API (parse-only)
Parse priority★☆☆☆☆
Official siteriyapatuna.com

What is Riyapatuna?

Riyapatuna is a small Sri Lankan vehicle-classifieds / aggregator site carrying used and new car ads. It sits in the long tail of the Sri Lankan market behind market-leader ikman.lk and #2 Riyasewana. Its data is listing-level and its traffic is small.

Market Position

Riyapatuna is a long-tail Sri Lankan classifieds source. The market is led by ikman.lk (~75% of auto-classifieds traffic) and Riyasewana (~24.5%), so Riyapatuna is best treated as supplementary coverage. Its aggregator-style listings and low anti-bot profile make it easy to include alongside the leaders for completeness.

What the API returns

Response schema

Indicative — this is the shape, not a guarantee. Every source returns the same structure, so what you build against does not change when you add one. Which fields carry a value depends on the source and on the individual listing: a site that does not publish mileage returns null there, and Riyapatuna is no exception.

List — GET /apix/api/vehicles/ — returns 30 fields per vehicle:

  • idstring
  • source_codestring
  • brand_namestring
  • brand_slugstring
  • model_namestring
  • model_slugstring
  • trimstring
  • yearinteger
  • price_usdinteger
  • mileageinteger
  • fuel_typeFuelTypeEnum
  • transmissionTransmissionEnum
  • body_typeBodyTypeEnum
  • colorColorEnum
  • seller_typeSellerTypeEnum
  • regionstring
  • source_locationobject
  • has_accidentboolean
  • is_new_vehicleboolean
  • is_verifiedboolean
  • statusVehicleStatusEnum
  • is_availableboolean
  • first_seen_atstring
  • last_seen_atstring
  • thumbVehiclePhoto
  • photosarray
  • photos_countinteger
  • has_valuationboolean
  • has_llm_analysisboolean
  • analysisobject

Detail — GET /apix/api/vehicles/{id}/ — adds 23 more:

  • generationstring
  • price_originalstring
  • price_original_currencystring
  • original_msrpstring
  • engine_ccinteger
  • seat_countinteger
  • drive_typeDriveTypeEnum
  • has_simple_repairboolean
  • has_recallboolean
  • recall_fulfilledboolean
  • warranty_typestring
  • inspection_passedboolean
  • owner_countinteger
  • is_undervaluedboolean
  • valuation_scorenumber
  • featuresarray
  • descriptionstring
  • listing_urlstring
  • listing_idstring
  • vinstring
  • vehicle_nostring
  • availability_checked_atstring
  • status_changed_atstring

Abbreviated example:

{
  "id": "0193f2c1-...",
  "source_code": "encar",
  "brand_name": "BMW",
  "model_name": "320i",
  "trim": "M Sport",
  "year": 2021,
  "price_usd": 28400,
  "price_original": "38900000",
  "price_original_currency": "KRW",
  "mileage": 45000,
  "fuel_type": "gasoline",
  "transmission": "automatic",
  "has_accident": false,
  "listing_url": "https://...",
  "photos": [{ "url": "https://cdn.carapis.com/..." }],
  "first_seen_at": "2026-09-28T11:04:22Z",
  "is_available": true
}

Which sources you can actually query is answered by GET /apix/api/sources/ with your API key — it is the list your account can pull today, and it is the one to trust over any page on this site.

This is a classifieds source (listing-level fields, no VIN feed), best used alongside ikman.lk and Riyasewana for fuller Sri Lankan coverage.

API Quick Start

import requests resp = requests.get( "https://api.carapis.com/v2/listings", params={"source": "riyapatuna", "limit": 20}, headers={"Authorization": f"Bearer {API_KEY}"}, ) for car in resp.json()["results"]: print(car["make"], car["model"], car["year"], car["price"])

Get an API key at my.carapis.com  and see the full API reference. Pricing is on the pricing page .

Use Cases

  • Market research — add to ikman.lk and Riyasewana for fuller Sri Lankan coverage. See market research.
  • Pricing intelligence — asking-price and mileage data add signal to valuation models for dealers.
  • Import / export — track reconditioned-import supply into Sri Lanka. See import & export.

Frequently asked questions