Search Upwork jobs from the command line with full filters — no login, no browser, no API key. A single Python script that talks to Upwork's public visitor GraphQL API and returns clean JSON or CSV.
python upwork_search.py -q AI --job-type hourly --tier expert --limit 20There's also a mobile-first web UI (Next.js, in web/) with a filter panel, "load more"
pagination, email job alerts, and AI-drafted proposals — see Web UI.
Upwork's Cloudflare blocks by IP reputation, not just TLS fingerprint. This works from a normal residential connection, but datacenter / VPS / cloud IPs get
403'd — and even a single residential IP gets rate-limited under sustained scraping. To run it on a server, point it at a rotating residential proxy (e.g. Webshare, which has a free tier) via--proxy(CLI) or theUPWORK_PROXYenv (web). See Caveats.
This repository also contains Gigradar, which runs your searches on a schedule on your own PC, scores every new
job against your profile with a small local model, and notifies you (Windows toast, optional Telegram). It is built
on upwork_search.py and is entirely optional: nothing above needs it. There is a Windows desktop app (Tauri) with
a setup wizard, or you can run it from a checkout. See docs/gigradar.md, the
install and build guide, the requirements and
what it contacts and stores.
Upwork's public job search is backed by a GraphQL endpoint (/api/graphql/v1) protected by
Cloudflare. This tool:
- Gets a visitor token. It requests
upwork.comwith a real Chrome TLS fingerprint (viacurl_cffi). That fingerprint passes Cloudflare's passive check where plaincurl/requestsget a403. Upwork hands back an anonymousvisitor_gql_token— no account involved. - Runs the search. It calls the
visitorJobSearchV1query with that token and your filters. - Returns results as JSON (default) or CSV, paginating up to Upwork's ~5000-result ceiling.
No account is needed because it uses the visitor query, which is public. (The logged-in
userJobSearchV1 query exists too but requires an account — this tool deliberately avoids it.)
Requires Python 3.11+. One dependency: curl_cffi.
git clone https://github.com/mishafyi/upwork-jobs.git
cd upwork-jobs
python3 -m venv .venv
source .venv/bin/activate
pip install curl_cffiVerify it without hitting the network:
python upwork_search.py --self-check # -> "self-check OK"python upwork_search.py [filters] [--limit N] [--format json|csv] [--out FILE] [--proxy URL]# Keyword + experience + type, first 20, JSON to stdout
python upwork_search.py -q AI --job-type hourly --tier expert --limit 20
# Fixed-price $1k–5k "next.js" jobs -> CSV file
python upwork_search.py -q "next.js" --fixed-budget 1000-4999 --format csv --out jobs.csv
# Hourly $50-100/hr, full-time, expert
python upwork_search.py -q "machine learning" --hourly-rate 50-100 --workload full_time --tier expert
# Everything recent (no keyword), 200 jobs
python upwork_search.py --limit 200
# Established clients only (10+ hires), ongoing work
python upwork_search.py -q automation --client-hires 10- --duration ongoing
# US-based clients only, expert hourly
python upwork_search.py -q "AI agent" --location "United States" --job-type hourly --tier expertA mobile-first web app in web/ — visual filters, "load more" pagination, email job alerts,
and AI-drafted proposals. Next.js 16 + React 19 + shadcn/ui, whose /api/search route shells out to
upwork_search.py.
Prerequisite: the web app runs the Python tool, so do the Setup above first — it creates the repo-root
.venv(withcurl_cffi) that/api/searchcalls. Without it, every search returns a 500. Also needs Node 20+.
cd web
npm install
npm run dev # http://localhost:3000Optional config in web/.env.local (copy web/.env.example — all optional):
UPWORK_PROXY=http://user:pass@host:port # residential/rotating proxy (see the ⚠️ warning above)
RESEND_API_KEY=re_… # enables the alert emails
RESEND_FROM="Jobs <alerts@yourdomain.com>" # a VERIFIED Resend sender (default: onboarding@resend.dev)- Search + filters — query bar and a filters sheet (job type, tier, workload, length, client
hires, client location, hourly/fixed budget, contract-to-hire); "load more" up to Upwork's
~5000-result cap. Backed by
POST /api/search. - AI proposal drafter — the ⚙ settings gear (top-right) takes your own OpenRouter key (BYOK) + a short profile. Each job card's "Draft proposal" button then streams a tailored cover letter from the job description + your profile. Fully client-side — your key stays in your browser and goes straight to OpenRouter, never through the server. Drafts only (paste into Upwork; submitting needs a login).
- Email alerts — "Get email alerts" saves your filters + email to
web/data/subscriptions.jsonland emails a confirmation via Resend (needsRESEND_API_KEY; without it, signups are still stored, no email sent). - New-job watcher —
node web/scripts/notify.mjs, run on a schedule, re-runs each subscription's search and emails only jobs posted since the last run (first run per subscription seeds silently — no backfill blast). Example cron, every 30 min:*/30 * * * * cd /path/to/upwork-jobs/web && node scripts/notify.mjs >> /tmp/upwork-notify.log 2>&1
Repeated searches are fast because the Python tool caches the visitor token (<repo>/.token_cache.json, 20-min TTL).
The root Dockerfile builds one image with both runtimes (Node + Python + curl_cffi) and the built app:
docker build -t upwork-jobs .
docker run -p 3000:3000 \
-e UPWORK_PROXY=http://user:pass@host:port \
-e RESEND_API_KEY=re_… \
-v upwork-data:/app/web/data \ # persist subscriptions across container replacement
upwork-jobsMount a volume on /app/web/data or subscriptions are wiped whenever the container is replaced
(the container filesystem is ephemeral). For alerts, run node scripts/notify.mjs on a schedule
inside the container — a Coolify "Scheduled Task", or a host cron doing docker exec <container> node scripts/notify.mjs.
| Flag | Values | Notes |
|---|---|---|
-q, --query |
any text | keyword; omit for all recent jobs |
--job-type |
hourly fixed weekly_retainer |
|
--tier |
entry intermediate expert |
experience level |
--workload |
part_time full_time as_needed |
|
--duration |
ongoing week month semester |
project length |
--client-hires |
0 1-9 10- |
client's past hires |
--location |
exact country name, e.g. "United States" |
client location ("US"/"USA" don't work) |
--contract-to-hire |
(flag) | only contract-to-hire jobs |
--hourly-rate |
MIN-MAX e.g. 25-50 |
auto-applies --job-type hourly |
--fixed-budget |
MIN-MAX e.g. 1000-4999, or 5000- |
auto-applies --job-type fixed |
--sort |
recency (default) |
reorders only |
--limit |
integer (default 50) | ceiling ~5000 |
--format |
json (default) csv |
|
--out |
file path | default: stdout |
--proxy |
http://user:pass@host:port |
recommended (see Caveats) |
Budget/rate note: on Upwork,
--fixed-budgetfilters fixed-price jobs and--hourly-ratefilters hourly jobs — so the tool automatically pins the matching job type. Don't combine--fixed-budgetwith--job-type hourly(or vice-versa); it will refuse.
Each job:
{
"title": "AI Automation Engineer for Lead Management",
"url": "https://www.upwork.com/jobs/~021...",
"job_type": "HOURLY",
"published": "2026-07-24T...",
"hourly_min": "10.0",
"hourly_max": "80.0",
"fixed_budget": null,
"tier": "ExpertLevel",
"skills": "Artificial Intelligence, API, Automation",
"description": "..."
}CSV has the same columns.
The visitor endpoint returns the full job posting — the complete description (not truncated), skills, budget/rate, job type, experience tier, and post time. That's enough to read and evaluate a job end to end.
These fields exist on the schema but are oauth-scope-gated for the visitor token (they require a
logged-in account): number of applicants/proposals, connects required to apply, client
details (country, total spent, hires, rating, payment-verified), whether it's premium/enterprise,
and freelancer-location targeting. Requesting any of them makes the API reject the whole query,
so the tool doesn't. The job detail page (/jobs/~…) is also hard-blocked by Cloudflare, so
there's no HTML fallback for that extra data — it genuinely needs an account.
Note:
--locationfilters by client location even though the client's country can't be read back without an account. The filter works server-side; you just don't see the country field in results.
- Token fetch is occasionally blocked. Cloudflare sometimes returns
403to the homepage request that mints the token (common from datacenter/VPN IPs). The tool retries up to 5×; if it still fails from your network, pass a residential--proxy. The search itself is reliable once a token is obtained. - Passive protection only. This clears TLS fingerprinting, not JavaScript challenges. If Upwork/Cloudflare escalates to an interactive "checking your browser" challenge, this approach won't get through on its own.
- ~5000-result ceiling. Upwork caps pagination around offset 5000. To go wider, split by filters (per category, per budget bucket) and merge.
- Be reasonable / Terms of Service. Scraping may conflict with Upwork's ToS. This uses only the public visitor endpoint with no account, but keep it to personal/research volumes and don't hammer the API.
All optional — the tool is complete as-is. Ordered by value (adoption verified Jul-2026, GitHub ★ / PyPI monthly downloads):
- Concurrent pagination — no new dependency.
curl_cffialready shipsAsyncSession; pulling 5000 jobs is 100 sequential requests today.asyncio.gatherover the page offsets would cut wall-clock ~10×.AsyncSessionalso has a built-inretry=/RetryStrategy, so you likely don't need a separate retry lib at all. apprise— job alerts. (16.9k★, 11.8M/mo — the dominant option.) Universal notifications (Telegram, Discord, email, Slack…). Gigradar (above) already does this with toasts and Telegram;apprisewould add more channels.sqlite3(stdlib) — persistence. Done: Gigradar keeps a local SQLite store with dedup; no dependency needed.- Analysis at volume — DuckDB (39.7k★) or
polars(39.1k★, 64M/mo). DuckDB can run SQL directly over the output file (SELECT ... FROM 'jobs.jsonl') with no load step — best for dedup/filter/export.polarsif you prefer DataFrames. Both lighter/faster than pandas. - Schema safety —
msgspec(recommended, 3.9k★) orpydantic(28.4k★, 1.03B/mo). Validate the GraphQL response and fail loudly if Upwork changes shape, instead of silently returningnull.msgspecis faster and lighter (C-speed validate + JSON decode in one) — the better fit for a lean scraper;pydanticif you want the bigger ecosystem. rich— pretty terminal output. Tables and progress bars for interactive use.- Retries, if you skip async's built-in:
tenacity(8.7k★, 407M/mo — the standard) orstamina(nicer production defaults, wraps tenacity). Avoidbackoff— unmaintained since 2024. primp— alternative impersonation engine. Rust-based (11.3M/mo); a hedge if you become throughput-bound or Cloudflare tightens and you want a different fingerprint stack thancurl_cffi. (tls-client/hrequestsare both stale — not worth it.)
Deliberately not recommended: Scrapy (overkill for one endpoint), Selenium/Playwright
(defeats the no-browser design), captcha solvers (not needed for passive TLS bypass), httpx
(no TLS impersonation, so it can't replace curl_cffi here).
The no-account mechanic (Chrome-impersonated token fetch → visitorJobSearchV1) is based on
asaniczka/Upwork-Job-Scraper. This tool keeps
that core and adds the full, reverse-engineered search-filter set with a CLI.
MIT. Not affiliated with, endorsed by, or connected to Upwork. Provided for personal and educational use — scraping may conflict with Upwork's Terms of Service, so use it responsibly and at your own risk.
