Discover/riyasewana.com API
live

riyasewana.com APIriyasewana.com

Access Sri Lanka vehicle listings from Riyasewana via API. Browse by category, search with filters, and retrieve full specs, images, and seller info.

Endpoints
3
Updated
14d ago
Try it
Page number for pagination
Vehicle category slug. Accepted values: cars, suvs, vans, motorcycles, three-wheels, picku
api.parse.bot/scraper/a20b5c9d-d197-43eb-a622-4b464d151c87/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a20b5c9d-d197-43eb-a622-4b464d151c87/get_listings?page=2&category=motorcycles' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Fetch paginated vehicle listings for a given category. Returns up to 40 listings per page with title, price, year, city, mileage, and posting date.

Input
ParamTypeDescription
pagestringPage number for pagination
categorystringVehicle category slug. Accepted values: cars, suvs, vans, motorcycles, three-wheels, pickups, lorries, heavy-duty, spare-parts
Response
{
  "type": "object",
  "fields": {
    "page": "integer - current page number",
    "category": "string - the requested category slug",
    "listings": "array of objects with title, url, thumbnail, city, price, year, mileage, date_posted",
    "total_results": "integer - total number of listings in this category"
  },
  "sample": {
    "data": {
      "page": 2,
      "category": "motorcycles",
      "listings": [
        {
          "url": "https://riyasewana.com/buy/honda-dio-sale-nittambuwa-11596833",
          "city": "Nittambuwa",
          "year": "2026",
          "price": "Rs. 735,000",
          "title": "Honda Dio 2026 Motorbike",
          "mileage": "",
          "thumbnail": "https://riyasewana.com/thumb/thumbhonda-dio-620120213411.jpg",
          "date_posted": "8h ago"
        }
      ],
      "total_results": 21607
    },
    "status": "success"
  }
}

About the riyasewana.com API

The Riyasewana API exposes 3 endpoints covering Sri Lanka's largest vehicle marketplace, returning listings across cars, SUVs, motorcycles, lorries, and more. The get_listings endpoint delivers paginated results by category with title, price, year, city, mileage, and posting date, while search_vehicles lets you filter by make, model, fuel type, transmission, price range, and year range. A third endpoint retrieves full listing details including high-resolution images and vehicle options.

Browse and Search Vehicle Listings

The get_listings endpoint returns up to 40 vehicles per page for eight category slugs: cars, suvs, vans, motorcycles, three-wheels, pickups, lorries, and heavy-d. Each listing in the response includes title, url, thumbnail, city, price, year, mileage, and date_posted, plus a total_results count for the full category. Paginate through results using the page parameter.

Filtered Search

search_vehicles accepts up to eight filter parameters simultaneously: make (e.g., Toyota, Honda), model (e.g., Prius, Alto), city (e.g., Colombo, Kandy), fuel (petrol, diesel, electric, hybrid), year_min, year_max, and price_max in LKR. The response mirrors the listings shape from get_listings and also returns a search_url field that encodes the resolved query, which you can use to anchor pagination across subsequent calls.

Full Listing Detail

get_listing_detail accepts any Riyasewana listing URL and returns the complete record: make, model, year, gear (transmission), price, options (comma-separated features), an images array of full-resolution URLs, and a contact field for the seller's phone number. Note that contact may be empty for some listings — the phone number is not guaranteed to be present in all cases.

Coverage Notes

All prices are denominated in LKR (Sri Lankan Rupees). The API covers the publicly visible listings on Riyasewana without requiring account authentication. Category slugs and fuel type values are fixed enumerations; passing an unsupported value will return no results rather than an error.

Common use cases
  • Build a price-tracker that monitors LKR asking prices for a specific make/model combination over time using search_vehicles
  • Aggregate mileage and year distributions across the cars or suvs category to analyze the Sri Lankan used-car market
  • Pull full-resolution listing images via get_listing_detail to populate a vehicle comparison tool
  • Alert users when new motorcycles or three-wheelers appear in a target city by polling get_listings with the relevant category slug
  • Feed vehicle specs and options from get_listing_detail into an inventory database for a Sri Lankan dealership or broker
  • Filter by fuel type (electric or hybrid) across cities to research EV availability in the Sri Lankan market
  • Map listings geographically by extracting the city field from paginated get_listings results
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Riyasewana offer an official developer API?+
Riyasewana does not publish an official public developer API or documented data access program. This Parse API is the structured programmatic interface to that data.
What does the `search_vehicles` endpoint return that `get_listings` does not?+
search_vehicles supports cross-cutting filters — make, model, city, fuel type, year range, and price ceiling — that get_listings does not. It also returns a search_url field encoding the resolved query, which is useful for stable pagination. Both endpoints return the same listing fields: title, url, thumbnail, city, price, year, mileage, and date_posted.
Is the seller phone number always available in `get_listing_detail`?+
No. The contact field in get_listing_detail is populated when a phone number is accessible, but it may be empty. Some listings require a user interaction on the site to reveal the number, and in those cases the field will return an empty string.
Does the API cover commercial vehicles or only personal vehicles?+
Yes — the category parameter in get_listings includes lorries, pickups, and heavy-d alongside personal-vehicle categories like cars, suvs, and motorcycles. All eight category slugs are supported for paginated browsing.
Can I retrieve saved searches, user profiles, or dealer inventory pages?+
Not currently. The API covers public listing browsing via get_listings, filtered search via search_vehicles, and individual listing detail via get_listing_detail. User accounts, saved searches, and dealer profile pages are not exposed. You can fork this API on Parse and revise it to add an endpoint targeting dealer or seller profile pages.
Page content last updated . Spec covers 3 endpoints from riyasewana.com.
Related APIs in AutomotiveSee all →
acura.ca API
Check current Acura vehicle deals, financing rates, lease payments, and incentives across all Canadian provinces and models including the ADX, ZDX, MDX, RDX, Integra, and TLX. Calculate payment options based on specific offers and models available by province.
getfpv.com API
Search and browse products from GetFPV's catalog of FPV drone components and accessories. Retrieve listings by keyword or category, view detailed product specifications, pricing, and stock status, and explore new arrivals and current sales.
firetruckmall.com API
Browse all available fire trucks from Fire Truck Mall with complete details including pricing, year, specifications, and images. Track when each listing was posted to find the newest inventory and compare vehicles across the marketplace.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
carsforsale.com API
Search vehicle listings and browse detailed car inventory by make, model, and trim to find the perfect vehicle on CarsForSale.com. Access comprehensive listing details including pricing, specifications, and availability all in one place.
team-bhp.com API
Access forum discussions, travelogues, news articles, and user profiles from Team-BHP.com to discover automotive insights, travel stories, and community conversations. Search threads, browse categories, and find trending discussions all in one place.
mazda.ca API
Find current vehicle deals, financing rates, lease options, and incentives across all Mazda Canada models and trims, with pricing tailored to your province. Get instant payment quotes to compare your options and discover the best offers available.
carjam.co.nz API
Look up detailed New Zealand vehicle information by license plate, VIN, or chassis number to instantly access registration status, WOF/COF compliance, service history, odometer readings, and damage records. Verify if a vehicle is stolen and get comprehensive specs to make informed decisions before purchasing or for fleet management.