RapidWorkers Python SDK
Hire real people from code. RapidWorkers runs paid microtasks done by people on their own devices: AI training data collection (photos, audio, video, text), app and website testing, surveys and research, and other small tasks. You pay in USD from your account balance and only approve the work that meets your brief.
pip install rapidworkers
Quick start
Create an API key at https://www.rapidworkers.io/dashboard/api-management/ and set it as RAPIDWORKERS_API_KEY.
from rapidworkers import RapidWorkers
rw = RapidWorkers() # or RapidWorkers(api_key="...")
print(rw.get_account()) # balance, deposit status, AI task access
info = rw.get_platform_info(section="ai_task_types")
# 1. Get a quote (nothing is charged)
quote = rw.preview_job_cost(kind="ai_task", pay_rate=0.25, quantity=100)
print(quote["total"], quote["expires_at"]) # show the total and get a yes first
# 2. Create the task with that quote_id once the cost is approved
task = rw.create_ai_task(
task_type="image_collection",
title="Photo of a paper receipt",
description="Take a clear photo of one paper receipt from a recent purchase.",
submission_instructions="Upload one photo. The whole receipt must be visible and readable.",
pay_rate=0.25,
quantity=100,
length_in_minutes=5,
countries=["All"],
quote_id=quote["quote_id"],
confirm=True,
)
# 3. Review the work
subs = rw.list_submissions(job_id=task["job_id"], kind="ai_task", status="Pending")
for s in subs["submissions"]:
rw.approve_submission(job_id=task["job_id"], kind="ai_task", submission_id=s["submission_id"])
Field names in the answers follow the server; print a response to see its shape.
What the client does for you
- One method per tool. Every tool of the hosted RapidWorkers MCP server is a typed method: account, platform rules, cost quotes, jobs, prefilled jobs, AI tasks, submissions and worker blocking.
rw.call_tool(name, {...})calls any tool by name, andrw.list_tools()returns the live definitions. - Money is never moved twice. Calls that spend or pay out (
create_*,extend_job,cancel_job,approve_*,reject_submission) get an idempotency key automatically, and a call that times out is retried with the same key. Pass your ownidempotency_keyto control this across processes. - Clear errors. A refused call raises
ToolErrorwhosemessagesays how to fix it (for example a low balance or an expiredquote_id).AuthenticationError,RateLimitError,ServiceUnavailableErrorandAPIConnectionErrorcover the transport. - Async too.
AsyncRapidWorkershas the same methods as coroutines.
import asyncio
from rapidworkers import AsyncRapidWorkers
async def main():
async with AsyncRapidWorkers() as rw:
print(await rw.list_jobs(status="Active"))
asyncio.run(main())
Rules worth knowing
- At least $0.05 per worker ($0.10 for AI tasks, $0.50 per survey response) and at least 10 workers per job.
- A first deposit (minimum $20) is required before posting.
get_deposit_linkreturns a checkout URL for a person to pay. - Create calls need a
quote_idfrompreview_job_costandconfirm=True. - Approving pays the worker and cannot be undone. Pending submissions are approved automatically after 2 days.
- AI tasks need access approved by the RapidWorkers team (
request_ai_task_access).
Use it from an AI agent
For Claude, Cursor and other MCP clients, connect the hosted server at https://www.rapidworkers.io/api/mcp/ directly (OAuth sign-in), or run the rapidworkers-mcp package with an API key.
Links
- Docs: https://www.rapidworkers.io/developers/
- Source: https://github.com/RapidWorkers-io/rapidworkers
- License: MIT
Metadata
Release files for rapidworkers 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rapidworkers-0.1.0.tar.gz | 24.3 kB | With provenance | Details for rapidworkers-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rapidworkers-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rapidworkers-0.1.0-py3-none-any.whl |
Total release size: 48.8 kB
Release files / rapidworkers-0.1.0.tar.gz
| Download URL | rapidworkers-0.1.0.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf29820cf1ed8c0385c30996f4409f0376a96aee0e5577bfa58a5af5c5b34469
|
|
BLAKE2b-256 checksum How to use checksums |
5837705c2b94293ca575d86eb847a0062f01ff6aa27c0402525a91c2aa72c234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / rapidworkers-0.1.0-py3-none-any.whl
| Download URL | rapidworkers-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb413f2263fb8ed5343d0f88d4ae9c7418549b6710f6cb0068808ca8a960ae27
|
|
BLAKE2b-256 checksum How to use checksums |
0baa20417e91687b4a30e07ab4b762d1dd87afb3981ff3db3938d8f47cf99d83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for rapidworkers 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rapidworkers-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.