# 58.com Scraper (`saswave/58-com-scraper`) Actor

$1 / 1000 results. Popular chinese jobboard scraper. Extract job listing information from a 58.com search

- **URL**: https://apify.com/saswave/58-com-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 58jobs Scraper

Scrape structured listing data from 58.com (58同城) with the 58 Jobs Scraper. Collect listing titles, detail page URLs, images, tags, ratings, reviews, service areas, verification indicators, and available contact information.

Whether you're researching local businesses, analyzing service listings, or collecting marketplace data in China, this Actor helps turn 58.com listing information into structured data for analysis and automation.

### FEATURES

Listing Data Extraction – Collect listing IDs, titles, and detail page URLs.

Images and Media – Extract listing images and available contact or profile images.

Tags and Categories – Retrieve listing tags to help classify services and offerings.

Ratings and Reviews – Collect displayed ratings and review counts when available.

Service Area Information – Extract location and service coverage details from listings.

Verification Indicators – Capture available certification and protection status fields.

Contact Information – Extract displayed contact names, business names, and recent consultation indicators when available.

Direct Listing URLs – Keep the original listing URL for reference and further research.

Structured JSON Output – Store results in a format suitable for spreadsheets, databases, and analytics pipelines.

Apify Integration – Run the Actor on Apify and use the resulting dataset in automated workflows.

### USE CASES

🏢 Local Business Research

Collect information about businesses and service providers listed on 58.com for market research and competitive analysis.

📊 Marketplace Analysis

Analyze listing titles, tags, ratings, and review counts to understand how services are presented on the platform.

🔎 Listing Discovery

Build structured datasets of relevant listings for research, categorization, and comparison.

⭐ Ratings and Reputation Research

Compare displayed ratings and review counts across listings to support marketplace research.

📍 Service Area Analysis

Study the areas covered by service providers and compare listings across different locations.

🤝 Business and Contact Research

Organize publicly displayed business names and contact-related fields for legitimate business research. Follow applicable privacy rules and platform terms when using contact information.

🤖 Data Collection and Automation

Export listing records to JSON, CSV, Excel, or other supported formats for further processing and reporting.

### Ouput example

```json
{
  "resid": "56247391328282",
  "img": "https://wos.58cdn.com.cn/cDazYxWcDHJ/picasso/rm1fo56r__w80_h48.png",
  "durl": "https://bj.58.com/lvshi/56247391328282x.shtml",
  "title": "北京市信之源律师事务所·「法律咨询|北京遗产继承律师咨询」专业处理：房产继承纠纷｜多子女分割争议｜遗嘱效力｜再婚家庭继承｜独生子女继承公证｜代位继承转继承｜一站式解决家庭继承难题",
  "tags": [
    "商家8年",
    "债务",
    "维权",
    "律师咨询",
    "律所",
    "咨询法律",
    "纠纷"
  ],
  "rating": "4.9",
  "reviews": "18条评价",
  "area": "全北京 可服务",
  "protection": false,
  "certification": true,
  "contact_img": "https://pic1.58cdn.com.cn/p1/big/n_v291c9b24ee3914730bdec0582c6f5ab4e.jpg",
  "contact_title": "北京市信之源律师事务所",
  "contact_name": "信经理",
  "contact_recent_consult": "1小时前有人浏览"
}
```

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `url` (type: `string`):

Search url to extract listings from

## `max_page` (type: `integer`):

Maximum depth to stop at (0 = no limit)

## Actor input object example

```json
{
  "url": "https://bj.58.com/lvshi",
  "max_page": 1
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://bj.58.com/lvshi"
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/58-com-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "url": "https://bj.58.com/lvshi" }

# Run the Actor and wait for it to finish
run = client.actor("saswave/58-com-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://bj.58.com/lvshi"
}' |
apify call saswave/58-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/58-com-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/m2iAMg38eNQFGuv8u/builds/eIhK1qHZE8dM3Sf0j/openapi.json
