Skip to content

About

Upwork scraper API: Upwork Freelancer Search, Upwork Freelancer Details as clean JSON. Python examples with requests, Scrapy, asyncio and the DataGuru SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Upwork Scraper API

Scrape Upwork with a JSON API. This repo has working Python examples for DataGuru's Upwork scraper APIs: Upwork Freelancer Search and Upwork Freelancer Details.

DataGuru runs the scraping, proxies, retries and parsing, and returns clean JSON. You pay only for successful requests, from $0.0012 per request, out of a prepaid balance: no subscription. New accounts get $1.00 of free credit.

Upwork APIs

API What it returns Price Page
Upwork Freelancer Search Search Upwork freelancers by skill or keyword and get matching talent with names, titles, hourly rates, Job Success Scores, badges, earnings, locations, skills and profile links. $0.0012 https://dataguru.cc/apis/upwork-freelancer-search/
Upwork Freelancer Details Get an Upwork freelancer's public profile from its URL, including title, overview, hourly rate, Job Success Score, rating, hours and jobs worked, skills, agencies, portfolio and recent work history with client feedback. $0.0022 https://dataguru.cc/apis/upwork-freelancer-details/

Quick start

  1. Create a free account and an API key at dashboard.dataguru.cc.
  2. Install and run:
git clone https://github.com/dataguru-cc/upwork-scraper-api.git
cd upwork-scraper-api
pip install -r requirements.txt
export DATAGURU_API_KEY="your key"
python examples/sdk_example.py upwork-freelancer-search

Examples

Every example covers all 2 Upwork APIs. Pass an API name to run just one; with no name each script runs them all, and each call is billed at the price above.

File Style Run
examples/sdk_example.py DataGuru Python SDK (pip install dataguru-sdk), one function per API, saves JSON to output/ python examples/sdk_example.py
examples/requests_example.py Plain requests, synchronous python examples/requests_example.py
examples/async_example.py asyncio + httpx, concurrent with a limit python examples/async_example.py
examples/scrapy_spider.py Scrapy spider, items to JSON/CSV scrapy runspider examples/scrapy_spider.py -O upwork.json

All requests use the header Authorization: Api-Key YOUR_API_KEY. Errors return {"success": false, "error": {"code", "message", "request_id"}}, with HTTP 402 when the balance runs out and 429 (with Retry-After) when rate limited. Failed requests are not charged.

API reference

Upwork Freelancer Search

Search Upwork freelancers by skill or keyword and get matching talent with names, titles, hourly rates, Job Success Scores, badges, earnings, locations, skills and profile links.

Parameter Type Required Description
limit integer no Maximum number of freelancers to return (up to 50). Default: 10.
query string yes Skill, job title or keywords, e.g. "react developer"

Response fields: query, search_url, total_results, returned_results, results, plus _metadata

curl -X POST "https://api.dataguru.cc/api/v1/upwork/freelancers/search" \
  -H "Authorization: Api-Key $DATAGURU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "react developer"}'
Response schema

Values are type placeholders from the API's published schema, not real data.

{
  "query": "string",
  "search_url": "https://example.com/...",
  "total_results": 0,
  "returned_results": 0,
  "results": [
    {
      "freelancer_id": "1234567890",
      "name": "string",
      "title": "string",
      "url": "https://example.com/...",
      "description": "string",
      "location": {
        "city": "string",
        "state": "string",
        "country": "string",
        "country_code": "string",
        "timezone": "string",
        "display": "string"
      },
      "hourly_rate": 0.0,
      "currency": "USD",
      "job_success_score": 0.0,
      "badge": "string",
      "total_earnings": 0.0,
      "total_hours": 0.0,
      "total_jobs": 0,
      "skills": [
        "string"
      ],
      "portfolio_items": 0,
      "offers_consultations": false,
      "id_verified": false,
      "agency": {
        "name": "string",
        "url": "https://example.com/...",
        "logo": "string"
      },
      "photo": "string",
      "position": 0
    }
  ],
  "_metadata": {
    "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
    "execution_time_ms": 842,
    "endpoint": "Upwork Freelancer Search",
    "mode": "live",
    "format": "json",
    "timestamp": "2026-01-01T12:00:00+00:00"
  }
}

Upwork Freelancer Details

Get an Upwork freelancer's public profile from its URL, including title, overview, hourly rate, Job Success Score, rating, hours and jobs worked, skills, agencies, portfolio and recent work history with client feedback.

The examples find the profile_url with Upwork Freelancer Search first, then pass it to this API. Both calls are billed.

Parameter Type Required Description
profile_url string yes Full Upwork freelancer profile URL (e.g. https://www.upwork.com/freelancers/~017036bdae73929f68).

Response fields: freelancer_id, url, vanity_name, name, title, description, location, photo, video_url, hourly_rate, currency, job_success_score, badge, rating, total_feedback, total_hours, total_jobs, hourly_jobs, fixed_price_jobs, hire_again_percentage, member_since, last_worked_on, availability, id_verified, phone_verified, open_to_contract_to_hire, skills, specialized_profiles, categories, agencies, portfolio_total, portfolio, work_history, plus _metadata

curl -X POST "https://api.dataguru.cc/api/v1/upwork/freelancers/details" \
  -H "Authorization: Api-Key $DATAGURU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"profile_url": "URL_FROM_SEARCH"}'
Response schema

Values are type placeholders from the API's published schema, not real data.

{
  "freelancer_id": "1234567890",
  "url": "https://example.com/...",
  "vanity_name": "string",
  "name": "string",
  "title": "string",
  "description": "string",
  "location": {
    "city": "string",
    "state": "string",
    "country": "string",
    "country_code": "string",
    "timezone": "string",
    "display": "string"
  },
  "photo": "string",
  "video_url": "https://example.com/...",
  "hourly_rate": 0.0,
  "currency": "USD",
  "job_success_score": 0.0,
  "badge": "string",
  "rating": 0.0,
  "total_feedback": 0,
  "total_hours": 0.0,
  "total_jobs": 0,
  "hourly_jobs": 0,
  "fixed_price_jobs": 0,
  "hire_again_percentage": 0.0,
  "member_since": "string",
  "last_worked_on": "string",
  "availability": "string",
  "id_verified": false,
  "phone_verified": false,
  "open_to_contract_to_hire": false,
  "skills": [
    "string"
  ],
  "specialized_profiles": [
    "string"
  ],
  "categories": [
    {
      "group": "string",
      "categories": [
        "string"
      ]
    }
  ],
  "agencies": [
    {
      "name": "string",
      "url": "https://example.com/...",
      "logo": "string",
      "rating": 0.0,
      "total_feedback": 0,
      "badge": "string"
    }
  ],
  "portfolio_total": 0,
  "portfolio": [
    {
      "title": "string",
      "description": "string",
      "thumbnail": "string",
      "project_url": "https://example.com/...",
      "video_url": "https://example.com/...",
      "completion_date": "2026-01-01T12:00:00Z",
      "skills": [
        "string"
      ]
    }
  ],
  "work_history": {
    "completed_total": 0,
    "completed": [
      {
        "title": "string",
        "contract_type": "string",
        "status": "string",
        "started_on": "string",
        "ended_on": "string",
        "total_hours": 0.0,
        "description": "string",
        "client_name": "string",
        "job_url": "https://example.com/...",
        "rating": 0.0,
        "client_feedback": "string",
        "freelancer_response": "string",
        "skills": [
          "string"
        ]
      }
    ],
    "in_progress_total": 0,
    "in_progress": [
      {
        "title": "string",
        "contract_type": "string",
        "status": "string",
        "started_on": "string",
        "ended_on": "string",
        "total_hours": 0.0,
        "description": "string",
        "client_name": "string",
        "job_url": "https://example.com/...",
        "rating": 0.0,
        "client_feedback": "string",
        "freelancer_response": "string",
        "skills": [
          "string"
        ]
      }
    ]
  },
  "_metadata": {
    "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
    "execution_time_ms": 842,
    "endpoint": "Upwork Freelancer Details",
    "mode": "live",
    "format": "json",
    "timestamp": "2026-01-01T12:00:00+00:00"
  }
}

More

License

The example code is MIT licensed. Use of the DataGuru API is subject to the terms of service.

About

Upwork scraper API: Upwork Freelancer Search, Upwork Freelancer Details as clean JSON. Python examples with requests, Scrapy, asyncio and the DataGuru SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors