# Upwork Post Details Scraper (`arlusm/upwork-post-details-scraper`) Actor

This scraper takes direct Upwork job post URLs and extracts information such as job title, budget, description, and client data. It can optionally use a proxy server from a specified country. The results are provided in a structured JSON format for easy analysis or further processing.

- **URL**: https://apify.com/arlusm/upwork-post-details-scraper.md
- **Developed by:** [Aluslabs](https://apify.com/arlusm) (community)
- **Categories:** Jobs, Automation, Other
- **Stats:** 97 total users, 0 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Upwork Job Post Scraper

This scraper takes individual Upwork job post **URLs** and extracts detailed information about each post (title, description, budget, etc.). It can optionally use a proxy with a specified country code to request the data.

***

### Input

The input is a JSON object that must contain at least one **startUrls** entry. It can also include an optional **proxyCountryCode**:

```json
{
  "startUrls": [
    {
      "url": "https://www.upwork.com/freelance-jobs/apply/WIX-Website-Template-Development-for-Virtual-Staging-SaaS_~021883994784056195740"
    }
  ],
  "proxyCountryCode": "FR"
}
```

#### Input Fields

| Field              | Type     | Required | Description                                                                                   | Default  |
|--------------------|----------|----------|-----------------------------------------------------------------------------------------------|----------|
| `startUrls`        | array    | yes      | An array of objects, each containing a `url` for a specific Upwork job post.                 | *none*   |
| `proxyCountryCode` | string   | no       | A two-letter country code to configure proxy usage. (e.g., `US`, `FR`) or `"LOCAL"` to disable. | `"FR"`   |

- **`startUrls`**: Each URL should be the direct link to an Upwork job post.
- **`proxyCountryCode`**: Determines where the proxy server is located. If `"LOCAL"`, no remote proxy is used.

***

### Output

The scraper outputs an **array** of job detail objects. Each job object may contain:

- **title**: Title of the job post.
- **paymentType**: Indicates if it’s an hourly or fixed-price job.
- **paymentAmount**: The proposed pay range or budget.
- **description**: Detailed text describing the job scope and requirements.
- **jobPosted**: When the job was posted (e.g., “3 days ago”).
- **lastViewedByClient**: The client’s latest activity timestamp.
- **jobType**: Usually “Remote Job” or region-limited.
- **projectType**: Complexity or nature of the project.
- **estimatedHours**: “Less than 30 hrs/week” or “More than 30 hrs/week.”
- **duration**: Project duration (e.g., “3-6 months”).
- **experienceLevel**: The experience level required (“Entry”, “Intermediate”, “Expert”).
- **clientLocation**: Where the client is located.
- **clientTotalSpent**: Total amount the client has spent on Upwork.
- **clientTotalHires**: How many freelancers the client has hired.
- **clientActiveHires**: How many of those hires are currently active.
- **clientHoursBilled**: The total hours the client has billed.
- **clientMemberSince**: The date the client joined Upwork.
- **proposals**: The range of proposals submitted (e.g., “5 to 10”).
- **interviews**: How many candidates are currently being interviewed.
- **invitesSent**: How many invitations the client sent out.
- **skills**: An array of extracted skills for the job.
- **locationRestriction**: Any geographical restriction applied to applicants (e.g., “Only freelancers located in the U.S. may apply.”).
- **contractToHire**: Boolean indicating whether it’s a “contract-to-hire” opportunity.

Example output:

```json
[
  {
    "title": "Looking for a Startup Hubspot Sales Ops and CRM Manager",
    "paymentType": "Hourly",
    "paymentAmount": "$65.00 - $110.00",
    "description": "We’re seeking a skilled and proactive freelance ...",
    "jobPosted": "3 days ago",
    "lastViewedByClient": "yesterday",
    "jobType": "Remote Job",
    "projectType": "Complex project",
    "estimatedHours": "Less than 30 hrs/week",
    "duration": "3-6 months",
    "experienceLevel": "Intermediate",
    "clientLocation": "United States",
    "clientTotalSpent": "$154K",
    "clientTotalHires": "30",
    "clientActiveHires": "9",
    "clientHoursBilled": "8,297 hours",
    "clientMemberSince": "Apr 20, 2022",
    "proposals": "20 to 50",
    "interviews": "7",
    "invitesSent": "5",
    "skills": [
      "HubSpot",
      "Marketing Automation",
      "Sales Operations",
      "Sales"
    ],
    "locationRestriction": "Only freelancers located in the U.S. may apply.",
    "contractToHire": true
  }
]
```

***

### Usage

1. **Provide the Input**: When running on Apify, add your Upwork job post URLs in `startUrls` (and optionally modify the `proxyCountryCode`).
2. **Run the Scraper**: The scraper navigates to each job URL, parses the HTML, and collects the specified data.
3. **View Results**: Once finished, the dataset will contain an array of job objects matching the above schema.

***

# Actor input Schema

## `startUrls` (type: `array`):

Job post URLs

## `proxyCountryCode` (type: `string`):

Specify the two-letter country code for remote proxies.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.upwork.com/freelance-jobs/apply/WordPress-Elementor-Expert-Needed-for-Dynamic-CPT-Content_~021898648529981357178"
    }
  ],
  "proxyCountryCode": "DE"
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.upwork.com/freelance-jobs/apply/WordPress-Elementor-Expert-Needed-for-Dynamic-CPT-Content_~021898648529981357178"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("arlusm/upwork-post-details-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 = { "startUrls": [{ "url": "https://www.upwork.com/freelance-jobs/apply/WordPress-Elementor-Expert-Needed-for-Dynamic-CPT-Content_~021898648529981357178" }] }

# Run the Actor and wait for it to finish
run = client.actor("arlusm/upwork-post-details-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 '{
  "startUrls": [
    {
      "url": "https://www.upwork.com/freelance-jobs/apply/WordPress-Elementor-Expert-Needed-for-Dynamic-CPT-Content_~021898648529981357178"
    }
  ]
}' |
apify call arlusm/upwork-post-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,arlusm/upwork-post-details-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/bk64EnucKIk3l17D8/builds/bEFcTyfvQfOtoj7dc/openapi.json
