Discover/OLX API
live

OLX APIolx.ua

Access OLX.ua marketplace listings via API. Search by keyword or category to retrieve pricing, seller info, location, images, and contact availability.

Endpoint health
verified 4d ago
search
get_second_hand
2/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the OLX API?

The OLX.ua API provides 2 endpoints for searching and browsing classified listings on Ukraine's OLX marketplace. The search endpoint runs full-text queries across listing titles and descriptions, returning structured objects with price, location, seller profile, images, and contact availability. The get_second_hand endpoint lets you browse category-scoped listings without a text query, defaulting to Electronics (category 37).

Try it
Maximum number of results per page
Search keyword or phrase
Pagination offset (number of items to skip)
Category ID to filter results
api.parse.bot/scraper/85e8a38f-8808-4d09-959c-b7a5add67b5c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/85e8a38f-8808-4d09-959c-b7a5add67b5c/search?limit=5&query=laptop&offset=0&category_id=37' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace olx-ua-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: OLX Ukraine SDK — search and browse marketplace listings."""
from parse_apis.olx_ukraine_api import OLX, Category, ListingNotFound

client = OLX()

# Search for laptops — limit caps total items fetched.
for listing in client.listings.search(query="laptop", limit=3):
    print(listing.title, listing.price.label, listing.location.city)

# Browse electronics category using the Category enum.
item = client.listings.browse(category_id=Category.ELECTRONICS, limit=1).first()
if item:
    print(item.title, item.price.amount, item.user.name)
    print(item.created_at, item.has_phone_btn)

# Typed error handling around a search call.
try:
    for listing in client.listings.search(query="vintage radio", category_id=Category.HOBBY, limit=2):
        print(listing.id, listing.title, listing.price.currency)
except ListingNotFound as exc:
    print(f"Not found: {exc}")

print("exercised: listings.search / listings.browse with Category enum")
All endpoints · 2 totalmissing one? ·

Full-text search over OLX.ua listings. query matches title and description; category_id narrows to one category. Paginates via offset. Each Listing includes price, location, seller info, contact availability, and images. Returns up to limit items per page with a total count capped at 1000 by the upstream API.

Input
ParamTypeDescription
limitintegerMaximum number of results per page
querystringSearch keyword or phrase
offsetintegerPagination offset (number of items to skip)
category_idintegerCategory ID to filter results
Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of matching listings (capped at 1000)",
    "listings": "array of Listing objects with id, title, description, price, url, location, user, created_at, last_refresh, has_phone_btn, emails_found, phones_found_in_desc, images"
  }
}

About the OLX API

Endpoints and Core Data Shape

Both endpoints return the same Listing object shape: id, title, description, price, url, location, user, created_at, last_refresh, has_phone_btn, and emails_. The search endpoint accepts a query string for full-text matching against listing titles and descriptions, with an optional category_id to narrow results to a specific category. The get_second_hand endpoint skips the text query entirely and browses a category directly — useful for surfacing all active listings in a given segment without keyword bias.

Pagination and Coverage

Both endpoints paginate via an offset parameter and return an integer total reflecting the number of matching listings, capped at 1,000. A limit parameter on search controls how many items appear per page. This makes it straightforward to walk through result sets in batches. Keep in mind the 1,000-listing cap on total — deep catalog scans beyond that threshold are not supported.

Seller and Contact Fields

Each listing includes a user object with seller details and a has_phone_btn boolean indicating whether the listing surfaces a phone contact option. The emails_ field provides email contact data where available. created_at and last_refresh timestamps let you distinguish newly posted listings from older ones that have been recently re-promoted, which matters when tracking inventory freshness.

Reliability & maintenanceVerified

The OLX API is a managed, monitored endpoint for olx.ua — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when olx.ua changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official olx.ua API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor price trends for a specific product type by running repeated search queries and recording the price field over time.
  • Build a category inventory snapshot by paginating through get_second_hand with a given category_id to collect all active listings.
  • Identify seller contact availability by filtering listings where has_phone_btn is true or emails_ is populated.
  • Compare listing freshness using created_at vs last_refresh to detect re-promoted older listings versus genuinely new ones.
  • Aggregate location data from the location field to map regional supply concentration for a given product.
  • Track competitor pricing on OLX.ua by querying brand or model names via the query parameter and extracting price values.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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 OLX.ua have an official developer API?+
OLX Group operates an official API program for integrated partners at https://developers.olx.com, but it targets vetted business partners rather than open self-serve access. The Parse API provides open, structured access to OLX.ua listing data without a partnership agreement.
What does the `search` endpoint return versus `get_second_hand`?+
search accepts a query string for full-text matching and an optional category_id, making it suitable for keyword-driven lookups. get_second_hand drops the text query and browses purely by category_id, defaulting to Electronics (category 37) when no category is specified. Both return the same Listing object shape including price, location, user, has_phone_btn, and image data.
Is there a cap on how many listings I can retrieve?+
Yes. The total field on both endpoints is capped at 1,000, regardless of how many listings actually exist in a given search or category. Pagination via offset works within that ceiling, so retrieving more than 1,000 results for a single query is not supported through the current endpoints.
Does the API return individual listing detail pages or seller profile pages?+
Not currently. Both endpoints return list-level Listing objects; there is no dedicated endpoint for fetching expanded detail on a single listing by ID or a full seller profile by user ID. Each Listing does include a url field pointing to the source page. You can fork this API on Parse and revise it to add a single-listing detail or seller-profile endpoint.
Does the API cover OLX sites in other countries (Poland, Romania, India, etc.)?+
Not currently. The API is scoped to olx.ua and returns Ukrainian-market listings only. You can fork it on Parse and revise it to point at another OLX regional domain if you need listings from a different market.
Page content last updated . Spec covers 2 endpoints from olx.ua.
Related APIs in MarketplaceSee all →
olx.uz API
Search and browse product listings on OLX.uz across all categories, with full details including specifications, location, and pricing. Compare prices and product information to identify the best available deals.
m.olx.pl API
Search and browse listings from OLX.pl across a wide range of categories including vehicles, electronics, real estate, fashion, and more. Access detailed offer information, price comparisons, seller details, and the latest postings — with support for keyword search and category filtering.
olx.ba API
Search and browse listings on OLX.ba across all categories. Retrieve listing names, prices, categories, and URLs, or drill into individual listings for detailed attributes such as location, address, area, floor, condition, and seller information. Includes dedicated support for apartment listings.
olx.in API
Search and browse OLX India listings across real estate and general products with powerful filtering by category and location. Get location suggestions, explore popular areas, and access detailed product information all in one place.
olx.ro API
Search OLX Romania listings and access detailed ad information including seller contact details. Get real-time access to product listings, pricing, and phone numbers for sellers across the platform.
m.olx.ro API
Search and retrieve structured real estate listings from OLX Romania, including apartments, houses, land, and other properties with detailed information. Access category IDs and browse available properties by type to find what you're looking for on Romania's popular classifieds platform.
olx.pt API
Search and monitor real estate listings and business advertisements from OLX Portugal with advanced filtering and pagination options. Get detailed information about specific listings including prices, descriptions, and seller details to find exactly what you're looking for.
olx.com.br API
Search and browse OLX Brazil real estate listings for properties available for sale or rent, with advanced filtering options to narrow down your search. Access comprehensive property details including descriptions, prices, locations, and other key information for each listing.