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.
| Country | Sri Lanka |
|---|---|
| Type | Classifieds |
| Owner | Riyapatuna |
| Vehicle types | used, new |
| Monthly visits | small |
| Active listings | aggregator-style vehicle ads |
| API access | No public API (parse-only) |
| Parse priority | ★☆☆☆☆ |
| Official site | riyapatuna.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:
idstringsource_codestringbrand_namestringbrand_slugstringmodel_namestringmodel_slugstringtrimstringyearintegerprice_usdintegermileageintegerfuel_typeFuelTypeEnumtransmissionTransmissionEnumbody_typeBodyTypeEnumcolorColorEnumseller_typeSellerTypeEnumregionstringsource_locationobjecthas_accidentbooleanis_new_vehiclebooleanis_verifiedbooleanstatusVehicleStatusEnumis_availablebooleanfirst_seen_atstringlast_seen_atstringthumbVehiclePhotophotosarrayphotos_countintegerhas_valuationbooleanhas_llm_analysisbooleananalysisobject
Detail — GET /apix/api/vehicles/{id}/ — adds 23 more:
generationstringprice_originalstringprice_original_currencystringoriginal_msrpstringengine_ccintegerseat_countintegerdrive_typeDriveTypeEnumhas_simple_repairbooleanhas_recallbooleanrecall_fulfilledbooleanwarranty_typestringinspection_passedbooleanowner_countintegeris_undervaluedbooleanvaluation_scorenumberfeaturesarraydescriptionstringlisting_urlstringlisting_idstringvinstringvehicle_nostringavailability_checked_atstringstatus_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
Python
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.