# Upwork Jobs Urls (`getdataforme/upwork-jobs-urls`) Actor

The Upwork Jobs URLs Scraper extracts job listings from Upwork using provided URLs or queries, delivering details like title, description, skills (e.g., JavaScript, React, Solidity), and location requirements in JSON format. Ideal for freelancers and recruiters.

- **URL**: https://apify.com/getdataforme/upwork-jobs-urls.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Jobs
- **Stats:** 32 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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.

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

### Upwork Jobs URLs Scraper

The **Upwork Jobs URLs Scraper** is an Apify Actor designed to scrape job listings from Upwork based on provided URLs or search queries. It extracts detailed job information, including job titles, descriptions, required skills, employment types, and applicant location requirements, making it ideal for freelancers, recruiters, or businesses tracking job opportunities.

### Input Parameters

| Parameter       | Type   | Description                                                                 |
|-----------------|--------|-----------------------------------------------------------------------------|
| `item_limit`    | Number | Maximum number of job listings to scrape (e.g., `10`).                      |
| `job_posted`    | Number | Filter jobs posted within the last X hours (e.g., `24` for last 24 hours). |
| `queries`       | Array  | List of Upwork job URLs to scrape (e.g., `["https://www.upwork.com/..."]`). |

#### Example Input

```json
{
  "item_limit": 10,
  "job_posted": 24,
  "queries": [
    "https://www.upwork.com/freelance-jobs/apply/Reactjs-Etherjs-website-developer_~01d7d03bb39cc7daec/"
  ]
}
```

### Features

- **Flexible Input**: Scrape specific job URLs or filter by recent postings within a specified time frame.
- **Detailed Output**: Extracts comprehensive job details, including title, description, skills, employment type, and location requirements.
- **Global Reach**: Captures jobs with applicant location requirements from a wide range of countries.
- **Easy Integration**: Outputs structured JSON data, ready for use in applications or further analysis.
- **Reliable Scraping**: Handles Upwork’s dynamic content to ensure accurate and consistent results.

### Output

The Actor returns a JSON array of job listings with detailed fields, as shown below:

#### Example Output

```json
[
  {
    "title": "Reactjs/Etherjs website developer - Contract to Hire",
    "url": "https://www.upwork.com/freelance-jobs/apply/Reactjs-Etherjs-website-developer_~01d7d03bb39cc7daec/",
    "datePosted": "2022-10-18T02:03:33.000Z",
    "employmentType": ["CONTRACTOR", "TEMPORARY"],
    "description": "<p>need help adjusting website</p><p>languages involved are:</p><p>reactjs, solidity, ether.js</p><p>will share details after you post details</p>",
    "skills": "JavaScript React CSS HTML5 Web Development Solidity Etherjs JavaScript React CSS HTML5 Web Development Solidity Python API JavaScript Node.js SaaS",
    "hiringOrganization": "Upwork",
    "jobLocation": "US",
    "applicantLocationRequirements": [
      "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", 
      "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", 
      "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belgium", "Belize", 
      "Benin", "Bermuda", "Bhutan", "Bolivia", "Bonaire, Sint Eustatius and Saba", 
      "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", 
      "British Indian Ocean Territory", "British Virgin Islands", "Brunei Darussalam", 
      "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", 
      "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", 
      "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", 
      "Congo", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia", "Curacao", 
      "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", 
      "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", 
      "Ethiopia", "Falkland Islands", "Faroe Islands", "Fiji", "Finland", "France", 
      "French Guiana", "French Polynesia", "French Southern and Antarctic Lands", 
      "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", 
      "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", 
      "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See", 
      "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Ireland", 
      "Isle of Man", "Israel", "Italy", "Jamaica", "Japan", "Jersey", "Jordan", 
      "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", 
      "Lebanon", "Lesotho", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", 
      "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", 
      "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", 
      "Micronesia, Federated States of", "Moldova", "Monaco", "Mongolia", "Montenegro", 
      "Montserrat", "Morocco", "Mozambique", "Namibia", "Nauru", "Nepal", "Netherlands", 
      "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", 
      "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", 
      "Pakistan", "Palau", "Palestinian Territories", "Panama", "Papua New Guinea", 
      "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", 
      "Qatar", "Reunion", "Romania", "Rwanda", "Saint Barthelemy", "Saint Helena", 
      "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", 
      "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", 
      "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", 
      "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", 
      "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Korea", "Spain", 
      "Sri Lanka", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", 
      "Switzerland", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", 
      "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", 
      "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", 
      "United Arab Emirates", "United Kingdom", "United States", 
      "United States Minor Outlying Islands", "United States Virgin Islands", 
      "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela", "Vietnam", "Wallis and Futuna", 
      "Western Sahara", "Yemen", "Zambia"
    ]
  }
]
```

### Use Cases

- **Freelancer Job Hunting**: Find relevant Upwork jobs matching specific skills like React, Solidity, or Etherjs.
- **Market Research**: Analyze job trends, required skills, or geographic preferences for hiring.
- **Recruitment Automation**: Collect job data for recruitment platforms or talent sourcing.
- **Competitor Analysis**: Monitor job postings to understand demand for specific technologies or roles.

### Support

For bug reports or custom needs, contact **support@getdataforme.com** or use our contact form: <https://getdataforme.com/contact/>.\
Please include a clear subject line in your message, such as "Upwork Jobs URLs Scraper Support."

# Actor input Schema

## `queries` (type: `array`):

A list of URLs of the web pages you want to scrape data from.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "queries": [
    "https://www.upwork.com/freelance-jobs/apply/Reactjs-Etherjs-website-developer_~01d7d03bb39cc7daec/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "queries": [
        "https://www.upwork.com/freelance-jobs/apply/Reactjs-Etherjs-website-developer_~01d7d03bb39cc7daec/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/upwork-jobs-urls").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 = {
    "queries": ["https://www.upwork.com/freelance-jobs/apply/Reactjs-Etherjs-website-developer_~01d7d03bb39cc7daec/"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/upwork-jobs-urls").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 '{
  "queries": [
    "https://www.upwork.com/freelance-jobs/apply/Reactjs-Etherjs-website-developer_~01d7d03bb39cc7daec/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call getdataforme/upwork-jobs-urls --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/upwork-jobs-urls"
        }
    }
}
```

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/UL2325zphnyxDYpsp/builds/qyDUW4bWwAhhUyuVJ/openapi.json
